查看: 5189|回复: 3

香蕉派R1的Openwrt镜像应急包

[复制链接]
  • TA的每日心情
    开心
    2014-11-10 21:00
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    发表于 2014-11-14 10:04:07 | 显示全部楼层 |阅读模式
    分享到:
    本帖最后由 小菜儿 于 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
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    2019-11-24 17:07
  • 签到天数: 1771 天

    连续签到: 1 天

    [LV.Master]伴坛终老

    发表于 2014-11-14 10:28:10 | 显示全部楼层
    搬得很神速
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2015-10-8 09:49
  • 签到天数: 430 天

    连续签到: 1 天

    [LV.9]以坛为家II

    发表于 2014-11-14 10:55:29 | 显示全部楼层
    终于出来了,这个星期天有得玩了
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2017-10-9 10:25
  • 签到天数: 886 天

    连续签到: 1 天

    [LV.10]以坛为家III

    发表于 2014-11-16 13:39:34 | 显示全部楼层
    下载了,多谢分享!
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条



    手机版|小黑屋|与非网

    GMT+8, 2024-6-16 05:38 , Processed in 0.153930 second(s), 21 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.