數位天堂

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

您尚未登入。

#1 2010-12-29 00:01:36

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

[OpenWrt] Backfire 10.03 x86

svn 24844

Linux version 2.6.32.27 (abel@debian) (gcc version 4.1.2) #1 Tue Dec 28 20:22:00 CST 2010 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC BIOS-provided physical RAM map: ... NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller Using IPI Shortcut mode input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 logips2pp: Detected unknown logitech mouse model 113 input: ImExPS/2 Logitech Explorer Mouse as /devices/platform/i8042/serio1/input/input1 Waiting for root device /dev/sda2...


到這邊就停住了. 無論是使用trunk, backfire 10.03 x86編譯後執行, 都無法載入rootfs. Kamikaze 8.09.2可正常運行. 不知道有沒有網友遇過這個問題?

svn 24919

$ make menuconfig


https://digiland.tw/uploads/614_openwrt_backfire_10-03_ramdisk.gif
選用ramdisk. 依需要挑選編譯選項後, 編譯.

$ make clean $ make V=99


結果

$ ll bin/x86/ total 4480 -rw-r--r-- 1 abel abel 130 2011-01-06 15:39 md5sums -rw-r--r-- 1 abel abel 1510074 2011-01-06 15:39 openwrt-x86-generic-rootfs.tar.gz -rw-r--r-- 1 abel abel 3059376 2011-01-06 15:39 openwrt-x86-generic-vmlinuz drwxr-xr-x 2 abel abel 4096 2011-01-06 15:39 packages/


使用PXE boot

LABEL OpenWrt KERNEL openwrt-x86-generic-vmlinuz APPEND initrd=openwrt-x86-generic-rootfs.tar.gz


開機結果

Loading openwrt-x86-generic-vmlinuz..... Loading openwrt-x86-generic-rootfs.tar.gz....ready. Linux version 2.6.32.27 (abel@debian) (gcc version 4.1.2) #1 Thu Jan 6 15:39:07 CST 2011 KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f400 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fff0000 (usable) BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS) BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data) BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved) ... BusyBox v1.15.3 (2011-01-06 15:24:29 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M Backfire (10.03, r24824) -------------------------- * 1/3 shot Kahlua In a shot glass, layer Kahlua * 1/3 shot Bailey's on the bottom, then Bailey's, * 1/3 shot Vodka then Vodka. --------------------------------------------------- root@OpenWrt:/#




最後修改: hippo (2011-01-06 16:42:54)


離線

 

#2 2011-02-21 09:25:22

wlzz
新生
註冊日期: 2011-02-21
文章數: 1
目前積分 :   

Re: [OpenWrt] Backfire 10.03 x86

你的問題解決了嗎?我也遇到同樣的問題。https://digiland.tw/attachment.php?item=64&download=1


最後修改: wlzz (2011-02-21 09:27:10)


附件:
Attachment Icon QQ截图未命名.png, 大小: 15,636 bytes, 下載: 42

離線

 

#3 2011-08-07 14:32:43

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

Re: [OpenWrt] Backfire 10.03 x86

Backfire 10.03.1-RC5(revision 27608)於Mageia x86_64下編譯ramdisk, PXE boot後, telnet 192.168.1.1

=== IMPORTANT ============================ Use 'passwd' to set your login password this will disable telnet and enable SSH ------------------------------------------ BusyBox v1.15.3 (2011-08-07 01:15:21 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M Backfire (10.03.1-RC5, unknown) -------------------------- * 1/3 shot Kahlua In a shot glass, layer Kahlua * 1/3 shot Bailey's on the bottom, then Bailey's, * 1/3 shot Vodka then Vodka. --------------------------------------------------- root@OpenWrt:/#


好處是, 不必實體儲存設備, 就可玩x86的OpenWrt; 壞處是, 設定值在記憶體中, 關機則消失. 所以, 要考慮設定值儲存, 開機後載入. 套件可安裝到掛載的網路儲存設備, 例如: Tomato的Samba, NFS等.
當然, 也可到OpenWrt下載, 寫入USB flash後, 開機測試.
建議有興趣的網友, 可配合自己x86測試平台的硬體設備, 自行編譯.


離線

 

相關討論主題

主題 回覆 點閱 最後發表
openwrt 破解WIFI 作者 zhengguowang132
0 8294 2017-10-20 18:12:09 作者 zhengguowang132
ASUS N16 OpenWRT 刷番茄失敗 -- HELP 作者 magicfuh  [ 1 2 ]
11 30078 2017-01-15 08:56:27 作者 bug2000
1 15170 2012-12-07 15:35:22 作者 changeway
2 16370 2012-11-01 09:30:35 作者 changeway
2 13068 2012-08-15 23:58:48 作者 Aven

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed