Banana Pi BPI-M1

From wiki.openedev
Jump to: navigation, search

This tutorial will show the details of Bananapi M1 board mainline support and other needed details

Board Info

Mainline Support


Supported, use Bananapi target

Linux Kernel

Supported, use sun7i-a20-bananapi dts



Manual Build

  • Export arm cross-tool


  • Build Mainline U-boot
 bash> git clone git://
 bash> cd u-boot
 bash> make Bananapi_defconfig
 Once build done, find u-boot-sunxi-with-spl.bin

Linux Kernel

  • Build Mainline Linux from -next
 bash> git clone git://
 bash> cd linux-next
 bash> ARCH=arm make imx_v6_v7_defconfig
 bash> ARCH=arm make zImage 
  • Build DTB
 bash> ARCH=arm make dtbs
 Once build done, arch/arm/boot/zImage and arch/arm/boot/dts/sun7i-a20-bananapi.dtb

Tiny Rootfs

SD Write

Buildroot BSP