#1 2013-04-28 21:51:47
[威聯通 TS-109Pro] 改Arch Linux ARM(armv5te)
威聯通TS-109Pro的SoC是Marvell Orion, 與ViSTOR NAS-34相同, 也是可以安裝Arch Linux ARM.
1. 由GitHub下載, ABS取armv5te核心原始碼.
2. make menuconfig, 修改config.
3. 交叉編譯, 產生uImage與核心模組.
4. 硬碟分割:
p1: ext2, 約5 MB, 存放uImage.
p2: ext4, Arch Linux ARM armv5te rootfs. 至淡江大學FTP server下載. 自行編譯的核心模組也複製到/usr/lib/modules/
p3: swap, 256 MB.
5. 接上console線, 進入U-Boot:
>> setenv alarm_root root=/dev/sda2 rootfstype=ext4 noinitrd
>> setenv sata_load 'ide reset; ext2load ide 0:1 0x800000 /uImage'
>> setenv sata_args setenv bootargs $(bootargs) $(alarm_root)
>> setenv bootcmd 'run sata_load; run sata_args; bootm 0x800000'
>> saveenv
>> reset
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** LOADER **
QNAP SYSTEMS, INC.
** MARVELL BOARD: RD-88F5182-NAS-2 LE
U-Boot 1.1.1 (Nov 14 2008 - 17:05:22) Marvell version: 1.11.2
Enable SDRAM Bank 0.
OnBoard DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB
[8192kB@ff000000] [0kB@f8000000] ## Unknown FLASH at f8000000: Size = 0x00000000 = 0 MB
Flash: 8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 500Mhz
Orion 1 streaming disabled
SysClock = 166Mhz , TClock = 166Mhz
USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
pci_init_board:Error calling mvPciIfInit for pciIf 0
PCI 1: Conventional PCI, speed = 33000000
Net: egiga0
Hit any key to stop autoboot: 0
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
Device 0: OK
Model: Hitachi HDS721010CLA332 Firm: JP4OA3EA Ser#: JP6921HD1DMR1M
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953868.6 MB = 931.5 GB (1953523055 x 512)
Using device ide0, partition 1
Loading from block device ide device 0, partition 1: Name: hda1
Type: U-Boot File:/uImage
2171316 bytes read
## Booting image at 00800000 ...
Image Name: Linux-3.1.10-18
Created: 2013-04-26 4:00:18 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2171252 Bytes = 2.1 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Welcome to Arch Linux ARM!
Expecting device dev-ttyS0.device...
[ OK ] Listening on Syslog Socket.
...
如要改回使用原廠韌體:
>> setenv bootcmd 'run prefs;run fsargs;bootm 0xff000000'
>> saveenv
>> reset
已知問題(PIC16F627A的關係?)
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
|
17 | 102267 | 2012-08-23 11:21:19 作者 jzmno1 |
[TonidoPlug2] Arch Linux ARM 測試 作者 hippo
|
1 | 13636 | 2012-08-07 22:15:59 作者 hippo |
|
80 | 275304 | 2011-06-03 22:35:44 作者 amingo |
|
10 | 46786 | 2010-07-16 17:25:16 作者 hippo |
求助,無法下載ipkg.nslu2-linux.org中的檔案 作者 ckyen
|
3 | 15179 | 2010-07-08 13:03:50 作者 ForgotFun |