FriendlyARM NanoPi M1 Plus

From wiki.openedev
Jump to: navigation, search

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

Board Info

Mainline Support

U-Boot

Supported, use NanoPi-M1-Plus target

Linux Kernel

Supported, use sun8i-h3-nanopi-m1-plus dts

Buildroot

Supported, use nanopi_m1_plus defconfig

Manual Build

  • Export arm cross-tool

U-Boot

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

Linux Kernel

  • Build Mainline Linux from -next
 bash> git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
 bash> cd linux-next
 bash> ARCH=arm make sunxi_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/sun8i-h3-nanopi-m1-plus.dtb

Tiny Rootfs

SD Write

Buildroot BSP