banana pi BPI-R2 open source smart router
  • About banana pi BPI-R2
  • BPI-R2 hardware
    • BPI-R2 hardware interface
    • BPI-R2 hardware spec
    • BPI-R2 GPIO Pin define
    • BPI-R2 SATA interface
    • BPI-R2 micro SD card slot
    • BPI-R2 5 GigE port
    • BPI-R2 eMMC flash
    • BPI-R2 WIFI interface
    • BPI-R2 wifi antenna slot
    • BPI-R2 bluetooth interface
    • BPI-R2 MIPI DSI interface
    • BPI-R2 HDMI interface
    • BPI-R2 USB 3.0 interface
    • BPI-R2 Uart interface
    • BPI-R2 PCIE interface
    • BPI-R2 OTG interface
    • BPI-R2 Power interface
    • BPI-R2 schematic diagram
    • BPI-R2 DXF and 3D design
  • BPI-R2 software
    • BPI-R2 quick start
    • Linux image,kernel 4.4
    • Android image
    • OpenWRT/LEDE
    • BPI-7615(based on MT7615)
  • BPI-R2 source code on github
    • BPI-R2 BSP source code
    • OpenWRT source code
    • BPI-R2 LEDE source code for hardware NAT
    • Frank`s github for BPI-R2
  • Reference documents
    • FW-Web Wiki
  • BPI-R1 BPI-R2 board Comparison
  • BPI-R2 quality guarantee
  • All banana pi product
  • BPI 4.0 customized Server
  • Getting Started with R2 - Banana Pi Wiki
  • en:bpi-r2:start [FW-WEB -Wiki]
Powered by GitBook
On this page

Was this helpful?

BPI-R2 source code on github

PreviousBPI-7615(based on MT7615)NextBPI-R2 BSP source code

Last updated 5 years ago

Was this helpful?

Banana pi BPI-R2 source code open on github

Banana pi BPI-R2 BSP

Overview

This project is for banana-pi R2 board, including U-boot and Linux Kernel 4.4.x.

Getting started

  • Running below command to burn this image to SD card which must be larger than 8GB dd if= of=/dev/mmcblk0

  • Install this SD to R2 board

  • Press power button a few seconds to activate this board The default baud rate of serial port is 115200, the default username/password are root/bananapi

How to build both U-boot and Linux kernel

To build this project, the following package is required: gcc-arm-linux-gnueabihf

  • Clone this code to a host PC on which the Ubuntu 16.04 is installed

  • Run script build.sh ./build.sh

  • Select 1 to build both uboot and kernel

  • Both new uboot and kernel will be generated in folder SD when it completes

How to update both u-boot and Linux kernel

  • Install SD card to this host PC, please ensure Ubuntu 16.04 R2 image is installed on this SD card

  • Enter folder SD which is generated after building

  • Run below command to update u-boot and Linux kernel bpi-update -c bpi-r2.conf

  • After it completes, move SD to R2 board

    Press power button to activate this board

Downloading Ubuntu 16.04 image for R2 board from

http://www.banana-pi.org
https://github.com/BPI-SINOVOIP/BPI-R2-bsp