#1 2010-05-28 13:52:04
[OpenWrt] Backfire 10.03 for 華碩 WL-HDD 編譯測試
之前於華碩WL-HDD安裝X-Wrt, IDE, USB等, 必須另外安裝核心模組, 自覺麻煩. 而自從誤打誤撞, 學會編譯Lly, Tomato, Tomato 泰迪熊等韌體後, 再來試試OpenWrt.
編譯環境: Debian 5.0.4 i386
目標平台: Broadcom BCM947xx/953xx [2.4]
目標機型: 華碩 WL-HDD
1. 參考How to get Buildroot up and running, 安裝相關套件.
2. 參考GetSource, 取得Backfire原始碼.
$ svn checkout svn://svn.openwrt.org/openwrt/branches/backfire backfire_10.03
...
U backfire_10.03
Updated to revision 21596.
3. 參閱說明
$ most README
4. 設定目標平台編譯條件
$ make menuconfig
某些機型有內建的profile, 例如: WL-HDD, WL-700gE等, 可直接選用.
可依flash memory大小, 自行考慮勾選必要的項目.
參閱An introduction to Buildroot-ng.
5. 編譯
$ make
make[1] world
make[2] tools/install
...
若要詳閱編譯輸出訊息, 改用make V=99
編譯過程, 會直接下載相關檔案, 網際網路需保持連線.
6. 結果
$ ls -l bin/brcm-2.4/
total 40460
-rw-r--r-- 1 abel abel 1096 2010-05-28 13:18 md5sums
-rw-r--r-- 1 abel abel 2428928 2010-05-28 13:18 openwrt-brcm-2.4-squashfs.trx
-rw-r--r-- 1 abel abel 2428928 2010-05-28 13:18 openwrt-brcm-2.4-squashfs.trx2
-rw-r--r-- 1 abel abel 2428956 2010-05-28 13:18 openwrt-usr5461-squashfs.bin
-rw-r--r-- 1 abel abel 2428936 2010-05-28 13:18 openwrt-wa840g-squashfs.bin
-rw-r--r-- 1 abel abel 2428936 2010-05-28 13:18 openwrt-we800g-squashfs.bin
-rw-r--r-- 1 abel abel 2428936 2010-05-28 13:18 openwrt-wr850g-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt150n-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt300n_v11-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt300n_v1-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt350n_v1-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt54g3g-em-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt54g3g-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt54g3gv2-vf-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt54g-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt54gs-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrt54gs_v4-squashfs.bin
-rw-r--r-- 1 abel abel 2428960 2010-05-28 13:18 openwrt-wrtsl54gs-squashfs.bin
drwxr-xr-x 2 abel abel 4096 2010-05-28 13:18 packages
openwrt-brcm-2.4-squashfs.trx, 就是要用於WL-HDD的韌體了. 心臟夠強的, 就刷機吧.
離線
#2 2010-07-28 18:06:54
- sunriseyuen
- 新生
- 註冊日期: 2009-12-18
- 文章數: 6
- 目前積分 : 0
Re: [OpenWrt] Backfire 10.03 for 華碩 WL-HDD 編譯測試
有没有编译好且刷了没有问题的固件可以下载?
離線
#3 2010-08-13 20:29:34
- sunriseyuen
- 新生
- 註冊日期: 2009-12-18
- 文章數: 6
- 目前積分 : 0
Re: [OpenWrt] Backfire 10.03 for 華碩 WL-HDD 編譯測試
我刷了Backfire 10.03但是启动不了
離線
#5 2010-12-25 23:25:08
Re: [OpenWrt] Backfire 10.03 for 華碩 WL-HDD 編譯測試
另一種方式, 使用ImageBuilder. 參閱OpenWrt wiki Using the Image Builder
編譯環境: Mandriva 2010.2 i586
目標機型: 華碩 WL-HDD
$ aria2c http://backfire.openwrt.org/10.03/brcm-2.4/OpenWrt-ImageBuilder-brcm-2.4-for-Linux-i686.tar.bz2
$ tar -xjvf OpenWrt-ImageBuilder-brcm-2.4-for-Linux-i686.tar.bz2
$ cd OpenWrt-ImageBuilder-brcm-2.4-for-Linux-i686
$ make info
Current Target: "brcm-2.4"
Default Packages: base-files libc libgcc busybox dropbear mtd uci opkg udevtrigger hotplug2 dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall kmod-switch kmod-diag nvram
Available Profiles:
Broadcom:
Generic, Broadcom WiFi (default)
Packages: kmod-brcm-wl wlc nas kmod-wlcompat
BroadcomMimo:
Generic, Broadcom WiFi (MIMO)
Packages: kmod-brcm-wl-mimo wlc nas kmod-wlcompat
None:
Generic, No WiFi
Packages:
USBGeneric:
Generic USB
Packages: kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb2 wlc nas kmod-wlcompat
WL500GD:
ASUS WL-500g Deluxe
Packages: kmod-brcm-wl kmod-usb-core kmod-usb-uhci kmod-usb2 wlc nas kmod-wlcompat
WL500G:
ASUS WL-500g
Packages: kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-lp wlc nas kmod-wlcompat
WL500GP:
ASUS WL-500g Premium
Packages: kmod-brcm-wl kmod-usb-core kmod-usb-uhci-iv kmod-usb2 wlc nas kmod-wlcompat
WL700GE:
WL-700gE
Packages: -ppp -ppp-mod-pppoe -kmod-ipt-nathelper -iptables -dnsmasq -bridge kmod-ide-core kmod-ide-aec62xx kmod-fs-ext3 fdisk e2fsprogs
WLHDD:
WL-HDD
Packages: kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-ide-core kmod-ide-pdc202xx wlc nas kmod-wlcompat kmod-rtc-rv5c386a
WRT300Nv11:
Linksys WRT300N v1.1
Packages: kmod-brcm-wl-mimo wlc nas kmod-wlcompat kmod-brcm-57xx
WRT54G3G:
Linksys WRT54G3G
Packages: kmod-brcm-wl kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-pcmcia-core kmod-pcmcia-serial kmod-nozomi comgt wlc nas kmod-wlcompat
$ make image PROFILE=WLHDD
Building images for brcm-2.4 - WL-HDD
Packages: base-files busybox comgt dnsmasq dropbear firewall hotplug2 iptables kernel kmod-brcm-wl kmod-diag kmod-ide-core kmod-ide-pdc202xx kmod-ipt-nathelper kmod-nozomi kmod-pcmcia-core kmod-pcmcia-serial kmod-rtc-rv5c386a kmod-switch kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-wlcompat libc libgcc mtd nas nvram opkg ppp ppp-mod-pppoe uci udevtrigger wlc
...
$ ll bin/brcm-2.4/
total 37124
-rw-rw-r-- 1 abel abel 1096 2010-12-25 23:12 md5sums
-rw-rw-r-- 1 abel abel 2232320 2010-12-25 23:12 openwrt-brcm-2.4-squashfs.trx
-rw-rw-r-- 1 abel abel 2232320 2010-12-25 23:12 openwrt-brcm-2.4-squashfs.trx2
-rw-rw-r-- 1 abel abel 2232348 2010-12-25 23:12 openwrt-usr5461-squashfs.bin
-rw-r--r-- 1 abel abel 2232328 2010-12-25 23:12 openwrt-wa840g-squashfs.bin
-rw-r--r-- 1 abel abel 2232328 2010-12-25 23:12 openwrt-we800g-squashfs.bin
-rw-r--r-- 1 abel abel 2232328 2010-12-25 23:12 openwrt-wr850g-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt150n-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt300n_v11-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt300n_v1-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt350n_v1-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt54g3g-em-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt54g3g-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt54g3gv2-vf-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt54g-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt54gs-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrt54gs_v4-squashfs.bin
-rw-rw-r-- 1 abel abel 2232352 2010-12-25 23:12 openwrt-wrtsl54gs-squashfs.bin
openwrt-brcm-2.4-squashfs.trx 就是了. 內建kmod-ide-pdc202xx, 不必再像X-Wrt這篇驅動Promise PDC20265
離線
#8 2011-01-01 01:31:05
Re: [OpenWrt] Backfire 10.03 for 華碩 WL-HDD 編譯測試
WLHDD使用openwrt的pppoe連線
/etc/config/network該怎麼寫有人知道嘛?
http://wiki.openwrt.org/doc/uci/network … r.ethernet
嘗試了幾種寫法但WLHDD不撥號就是不撥號
找到問題了
原來keepalive值不能為空白
不然等於無作用
最後修改: malsvent (2011-01-01 10:57:42)
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
|
28 | 144573 | 2020-10-03 09:38:19 作者 a7700741 |
openwrt 破解WIFI 作者 zhengguowang132
|
0 | 11883 | 2017-10-20 18:12:09 作者 zhengguowang132 |
|
11 | 33552 | 2017-01-15 08:56:27 作者 bug2000 |
[OpenWRT] Attitude Adjustment (12.09-beta) 作者 changeway
|
1 | 15980 | 2012-12-07 15:35:22 作者 changeway |
[OpenWRT]讓你的Router支援WiMAX 網卡(CDC)! 作者 changeway
|
2 | 17486 | 2012-11-01 09:30:35 作者 changeway |