banana pi BPI-R1 A20 dual core open source smart r
  • Initial page
  • LANGS
  • About Banana pi BPI-R1
    • BPI-R1 hardware spec
    • First Chapter
    • Summary
    • BPI-R1 DC Power interface
    • Armbian Linux
    • Compulsive modification of HDMI output resolution
    • BPI-R1 Audio
    • BPI-R1 quick start
    • BPI-R1 CAN Bus
    • BPI-R1 Linux software
    • David Bentham / openwrt-bpi-r1-prebuilt
    • BPI-R1 schematic diagram
    • BPI-R1 HDMI interfact
    • BPI-R1 android software
    • How to build OpenWRT image from github
    • Linux mainline kernel
    • BPI-R1 3.7V lithium battery interface
    • BPI-R1 RGB DSI interface
    • BPI-R1 wifi antenna slot
    • BPI-R1 CE,FCC RoHS Certification
    • BPI-R1 Audio
    • BPI-R1 IR interface
    • BPI-R1 Software
    • bananianlinux
    • WiringPi python
    • NetBSD/evbarm on Allwinner Technology SoCs
    • BPI-R1 OpenWRT
    • BPI-R1 MIC
    • BPI-R1 WiringPi
    • BPI-R1 5 GbE Ethernet ports
    • linux-sunxi wiki
    • BPI-R1 WIFI interface
    • Lamobo Openwrt image
    • BPI-R1 Camera interface
    • BPI-R1 SD card slot
    • BPI-R1 hardware interface
    • Manual for HW setup and basic router functionalities
    • Reference documents
    • Allwinner chip documents
    • linuxkernel34bspimage
    • BPI-R1 WiringPi
    • BPI-R1 SATA interface
    • BPI-R1 Camera interface
    • Linux mainlining effort
    • Pi4J Project
    • BPI-R1 OTG interface
    • BPI-R1 GPIO Pin define
    • Asterisk on BPI-R1
    • Officeal OpenWRT
    • BPI-R1 USB interface
  • About Banana pi BPI-R1
    • Pi4J Project
    • Linux mainlining effort
    • Asterisk on BPI-R1
    • BPI-R1 android software
    • How to build OpenWRT image from github
    • Officeal OpenWRT
    • BPI-R1 3.7V lithium battery interface
    • Summary
    • Armbian Linux
    • BPI-R1 Audio
    • BPI-R1 CE,FCC RoHS Certification
    • BPI-R1 Software
    • WiringPi python
    • BPI-R1 3D & DXF file
    • BPI-R1 OpenWRT
    • BPI-R1 schematic diagram
    • BPI-R1 HDMI interfact
    • linuxmainlinekernel
    • freebsdnetbsd
    • All banana pi product
    • BPI-R1 Camera interface
    • Lamobo Openwrt image
    • BPI-R1 SD card slot
    • bpi-r1-bpi-r2-board-comparison
    • BPI-R1 RGB DSI interface
    • bpi40customizedserver
    • BPI-R1 wifi antenna slot
    • bananianlinux
    • BPI-R1 IR interface
    • BPI-R1 Audio
    • bpi-r1-openbsd
    • Reference documents
    • NetBSD/evbarm on Allwinner Technology SoCs
    • Allwinner chip documents
    • BPI-R1 WiringPi
    • BPI-R1 MIC
    • BPI-R1 5 GbE Ethernet ports
    • BPI-R1 WiringPi
    • BPI-R1 OTG interface
    • linux-sunxi wiki
    • BPI-R1 GPIO Pin define
    • BPI-R1 WIFI interface
    • BPI-R1 USB interface
    • BPI-R1 hardware interface
    • BPI-R1 DC Power interface
    • BPI-R1 hardware spec
    • First Chapter
    • Manual for HW setup and basic router functionalities
    • Compulsive modification of HDMI output resolution
    • linuxkernel34bspimage
    • BPI-R1 quick start
    • BPI-R1 Camera interface
    • BPI-R1 SATA interface
    • BPI-R1 Linux software
    • BPI-R1 CAN Bus
    • David Bentham / openwrt-bpi-r1-prebuilt
  • Getting Started with R1 - Banana Pi Wiki
Powered by GitBook
On this page

Was this helpful?

  1. About Banana pi BPI-R1

Lamobo Openwrt image

PreviousBPI-R1 Camera interfaceNextBPI-R1 SD card slot

Last updated 5 years ago

Was this helpful?

OpenWrt firmware for BPI-R1 is updated, it support by Lamobo.

This firmware is built based on the OpenWrt master branch r42830.

Q&A

  • I am a new BPI-R1 user, how to use this firmware? 1. For a new user, we recommend to use the ready configured firmware. please download it from forum download page: 2. BPI-R1 accepts TF-card. Make sure your TF-card is bigger than 512MB. Using below command to generate a bootable TD-card: $ sudo dd if=openwrt-sunxi-BPI-R1-sdcard-vfat-ext4-configured.img of=/dev/sdX bs=1MB

    1. Notes for the ready configured firmware:

      • The login username/password are root/root.

      • The software installation source has been set to “. For details please refer “/etc/opkg.conf”. If you like to install your R1 from chaos.

      • Router address is: 10.0.1.1

  • If I want to use the original firmware, what can I do?

    1. The original firmware is built directly from source code. It almost does not install software, except OpenWrt base software. Please download it from:elastos.org/elorg_common/Lamobo-R1/2015-...sdcard-vfat-ext4.img.

    2. Prepare a TTL thread for to connent OpenWrt bash terminal.

    3. Connect to OpenWrt terminal throught TTL thread, modify OpenWrt packages source. All Of OpenWrt packages is released on:

      elastos.org/elorg_common/Lamobo-R1/2014-01-12/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-01-12/packages/base
      src/gz chaos_calmer_luci http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/luci
      src/gz chaos_calmer_management http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/management
      src/gz chaos_calmer_packages http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/packages
      src/gz chaos_calmer_routing http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/routing
      src/gz chaos_calmer_telephony http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/telephony

      And then, update opkg database: $ opkg update

    4. Install OpenWrt packages. The below packages are needed:

      $ opkg install kmod-b53
      $ opkg install kmod-rtl*
      $ opkg install hostapd
      $ opkg install wpa-supplicant
      $ opkg install luci-proto-ppp
      $ opkg install ppp-mod-pptp
      $ opkg install luci
      $ opkg install luci-theme-bootstrap

      Full package list please refer: kingone.elastos.org/2015/01/13/lamobo-r1-package-list/

    5. Modify the network config.Append below text to “/etc/config/network”:

config switch ‘eth0′
option enable ’1′
option enable_vlan ’1′
option reset ’1′

config interface ‘lan’
option proto ‘static’
option ipaddr ’10.0.1.1′
option netmask ’255.255.255.0′
option defaultroute ’0′
option peerdns ’0′
option nat ’1′
option ifname ‘eth0.1′
option type ‘bridge’

config switch_vlan
option device ‘eth0′
option ports ’0 1 2 4 8t’
option vlan ’1′

config interface ‘wan’
option ifname ‘eth0.2′
option proto ‘dhcp’

config switch_vlan
option device ‘eth0′
option vlan ’2′
option ports ’3 8t’

start router web server:

$ /etc/init.d/uhttpd start
$ /etc/init.d/uhttpd enable

That’s all. Good luck!

forum discuss link:

Wiki link:

http://elastos.org/elorg_common/Lamobo-R1/2015-01-12/openwrt-sunxi-Lamobo-R1-sdcard-vfat-ext4.img
http://elastos.org/elorg_common/Lamobo-R1/2015-01-12/”
http://www.bananapi.com/index.php/forum/general/417-banana-pi-bpi-r1-openwrt-image-2-0-release-note#1229
http://wiki.geiges.net/doku.php?id=openwrt_bpi-r1