Skip to content

Supports Banana Pi BPI-R64 (MT7622) (Kernel 4.4)

Notifications You must be signed in to change notification settings

vendor-mtk-sources/BPI-R64-BSP

 
 

Repository files navigation

BPI-R64-bsp

Overview

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

How to build both U-boot and Linux kernel

Note:To build this project, the following packages are required:

	apt-get install gcc-arm-linux-gnueabi
	apt-get install gcc-arm-linux-gnueabihf
	apt-get install gcc-aarch64-linux-gnu
	apt-get install device-tree-compiler
  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 image(Ubuntu, Debian, ...) 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-r64.conf -d /dev/sdX
	or
	bpi-update -d /dev/sdX

	and update u-boot (if changed or first time)

	bpi-bootsel 100MB/BPI-R64-console-2k.img.gz /dev/sdX
  1. After it completes, move SD to R64 board
  2. Press power button to activate this board

How to install images on SD card

  1. Downloading image for R64 board from http://wiki.banana-pi.org/Banana_Pi_BPI-R64#Release
  2. Running below command to burn this image to SD card which must be larger than 8GB
		bpi-copy <image file> /dev/sd<drive letter>

		Example: bpi-copy ubuntu.img /dev/sdf
  1. Install this SD to R64 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

About

Supports Banana Pi BPI-R64 (MT7622) (Kernel 4.4)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.4%
  • C++ 3.0%
  • Assembly 1.7%
  • HTML 0.8%
  • Roff 0.6%
  • Objective-C 0.3%
  • Other 1.2%