Skip to content

BPI-SINOVOIP/BPI-R2-bsp-4.14

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

BPI R2 BSP

Overview

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

Getting started

  1. Downloading Ubuntu 16.04 image for R2 board from http://www.banana-pi.org/r2-download.html
  2. Running below command to burn this image to SD card which must be larger than 8GB
		dd if=\<image file\> of=/dev/mmcblk0
  1. Install this SD to R2 board
  2. 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 packages are required:

	gcc-arm-linux-gnueabihf 
	u-boot-tools
  1. Clone this code to a host PC on which the Ubuntu 16.04 is installed
  2. Run script build.sh
	./build.sh
  1. Select 1 to build both uboot and kernel
  2. Both new uboot and kernel will be generated in folder SD when it completes

How to update both u-boot and Linux kernel

If you don't have tools for banana-pi products, please run below commands to install them:

	apt-get install pv
	curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash
  1. Install SD card to this host PC, please ensure Ubuntu 16.04 R2 image is installed on this SD card
  2. Enter folder SD which is generated after building
  3. Run below command to update u-boot and Linux kernel
	bpi-update -c bpi-r2.conf
  1. After it completes, move SD to R2 board
  2. Press power button to activate this board

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published