84ba2e8bf5
A defconfig for the nanopi_neo4 was added ind1cd9cdf26
, but then removed in8af7b11bd8
because an ARM32 compiler was needed to build ATF, and this was not supported back then. Thanks to the addition of package/arm-gnu-a-toolchain/, we can now re-introduce this defconfig. Compared to the previous defconfig, the following changes were done: - enable BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN - bump kernel to 5.4 - increase default rootfs size to 70M - use mainline u-boot - switch to Marek Belisko as maintainer Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
54 lines
995 B
Plaintext
54 lines
995 B
Plaintext
Intro
|
|
=====
|
|
|
|
NanoPi Neo4 is a RK3399 SoC based ARM64 board.
|
|
|
|
|
|
Official wiki: http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO4
|
|
Mainline wiki: https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/neo4.html
|
|
|
|
Build
|
|
=====
|
|
|
|
Run NanoPi Neo4 configuration
|
|
|
|
$ make nanopi_neo4_defconfig
|
|
|
|
To build, run make comamnd.
|
|
|
|
$ make
|
|
|
|
Files created in output directory
|
|
=================================
|
|
|
|
output/images
|
|
|
|
├── bl31.bin
|
|
├── bl31.elf
|
|
├── Image
|
|
├── rk3399-nanopi-neo4.dtb
|
|
├── rootfs.ext2
|
|
├── rootfs.ext4 -> rootfs.ext2
|
|
├── rootfs.tar
|
|
├── sdcard.img
|
|
├── u-boot.bin
|
|
├── u-boot.itb
|
|
├── u-boot-spl-dtb.bin
|
|
├── u-boot-tpl-dtb.bin
|
|
├── u-boot-tpl-dtb.img
|
|
└── u-boot-tpl-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
|