493c3979a4
This initial support includes: Custom u-boot Linux v5.1 ATF v2.0 Buildroot default packages Tested-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com> [Thomas: - Use BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1 - Use final 5.1 kernel - Use default ext2 filesystem] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
46 lines
827 B
Plaintext
46 lines
827 B
Plaintext
Intro
|
|
=====
|
|
|
|
NanoPi M4 is a RK3399 SoC based ARM board.
|
|
|
|
Wiki: https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/nanopi_m4.html
|
|
|
|
Build
|
|
=====
|
|
|
|
Run NanoPi M4 configuration
|
|
|
|
$ make nanopi_m4_defconfig
|
|
|
|
To build, run make command.
|
|
|
|
$ make
|
|
|
|
Files created in output directory
|
|
=================================
|
|
output/images/
|
|
├── bl31.bin
|
|
├── Image
|
|
├── rk3399-nanopi-m4.dtb
|
|
├── rootfs.ext2
|
|
├── rootfs.ext4 -> rootfs.ext2
|
|
├── rootfs.tar
|
|
├── sdcard.img
|
|
├── u-boot.bin
|
|
├── u-boot.itb
|
|
├── u-boot-spl-dtb.bin
|
|
└── u-boot-spl-dtb.img
|
|
|
|
Creating bootable SD card:
|
|
=========================
|
|
|
|
Simply invoke (as root)
|
|
|
|
# dd if=output/images/sdcard.img of=/dev/sdX && sync
|
|
|
|
Where X is your SD card device
|
|
|
|
Serial console
|
|
--------------
|
|
Baudrate for this board is 1500000
|