數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2013-04-28 21:51:47

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

[威聯通 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 102270 2012-08-23 11:21:19 作者 jzmno1
1 13637 2012-08-07 22:15:59 作者 hippo
Linux BT速度之王-RTORRENT 安裝教學 作者 ken1029  [ 1 2 3 … 9 ]
80 275309 2011-06-03 22:35:44 作者 amingo
Debian GNU/Linux 5.0 發布 作者 Aven  [ 1 2 ]
10 46789 2010-07-16 17:25:16 作者 hippo
3 15179 2010-07-08 13:03:50 作者 ForgotFun

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed