本帖最后由 小菜儿 于 2014-11-14 10:27 编辑
说明:
This firmware build supports Lamobo-R1 board(BananaPi R1).
We have an image that has been configured to provide, please refer this link:http://elastos.org/elorg_common/Lamobo-R1/2014-11-13//openwrt-sunxi-Lamobo-R1-sdcard-vfat-ext4-configured.img.
(the login username/password are root/root.) 1.How to make a bootable sdcard (using a configured image)
Lamobo R1 accepts TF-card. Make sure your TF-card is bigger than 512MB. A configured firmware (is named “openwrt-sunxi-Lamobo-R1-sdcard-vfat-ext4-configured.img”) can be burned to, by using:
$ sudo dd if=openwrt-sunxi-Lamobo-R1-sdcard-vfat-ext4-configured.img of=/dev/sdX bs=1MB 2. How to make a bootable sdcard by using general image:
The general image is “openwrt-sunxi-Lamobo-R1-sdcard-vfat-ext4.img”, which is directly built from source code, and not be configured. If you like configure your router from chaos, you have to do some steps to fix switch driver loading bug. Because switch driver has not integrate as kmod-*. You have to load “.ko” modules by manual. following steps should be done:
1) Copy drivers (all kernel modules had been saved in a folder “kernel-modules”) to Operwrt modules directory(for this case, it is “/lib/modules/3.14.18″).
$ cd build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/linux-sunxi/linux-3.14.18/
$ cp kernel-modules/* ${OPENWRT_IMAGE_DISK}/lib/modules/3.14.18/ 2) Install kernel modules
You can install by manual:
insmod stmmac.ko
insmod swconfig.ko
insmod b53_common.ko
insmod b53_mdio.ko
Or, write an auto-loaded script in ${OPENWRT_IMAGE_DISK}/etc/modules.d, as below:
$ cd ${OPENWRT_IMAGE_DISK}/etc/modules
$ cat > b53-switch
stmmac
swconfig
b53_common
b53_mdio 3. Install OpenWrt packages
OpenWrt packages is released on: http://elastos.org/elorg_common/Lamobo-R1/2014-11-13/packages. You can change opkg.conf(/etc/opkgopkg.conf) content to below:
src/gz chaos_calmer_base http://elastos.org/elorg_common/Lamobo-R1/2014-11-13/packages/base
src/gz chaos_calmer_luci http://elastos.org/elorg_common/Lamobo-R1/2014-11-13/packages/luci
src/gz chaos_calmer_management http://elastos.org/elorg_common/Lamobo-R1/2014-11-13/packages/management
src/gz chaos_calmer_packages http://elastos.org/elorg_common/Lamobo-R1/2014-11-13/packages/packages
src/gz chaos_calmer_routing http://elastos.org/elorg_common/Lamobo-R1/2014-11-13/packages/routing
src/gz chaos_calmer_telephony http://elastos.org/elorg_common/Lamobo-R1/2014-11-13/packages/telephony And then, update opkg database:
$ opkg update Bug list:
1. WiFi driver (rtl8192cu) can not work properly
I sorry for this feature: rtl8192cu kernel module can be loaded, but it can not been listed out the interface (for example: wlan0) by using “ifconfig -a”. This bug is continues researching.
下载自:http://kingone.elastos.org/2014/11/13/this-firmware-build-supports-lamobo-r1-boardbananapi-r1/
百度网盘分享链接:
链接: http://pan.baidu.com/s/1nt9NuBn 密码: 1vt3
|