a855cd8a71
A defconfig for the friendlyarm nanopi-m4 was added in493c3979a4
, but then removed ina24bd8936f
because an ARM32 compiler was needed to build ATF, and this was not supported back then. Now, since package/arm-gnu-a-toolchain/ has been added, this defconfig can be re-introduced. Following new changes are introduced in comparision with the older changeset: - readme updated - GPT partition layout - update defconfig to build ATF - bump u-boot to 2020.07 - bump linux to 5.8.2 Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Arnout: fixate U-Boot version; remove blind BR2_TARGET_UBOOT_NEEDS_PYTHON]
46 lines
822 B
Plaintext
46 lines
822 B
Plaintext
FriendlyARM NANOPI-M4
|
|
=====================
|
|
|
|
Build:
|
|
|
|
$ make nanopi_m4_defconfig
|
|
$ make
|
|
|
|
Files created in output directory
|
|
=================================
|
|
|
|
output/images
|
|
|
|
├── bl31.elf
|
|
├── boot.vfat
|
|
├── extlinux
|
|
├── idbloader.img
|
|
├── Image
|
|
├── rk3399-nanopi-m4.dtb
|
|
├── rootfs.ext2
|
|
├── rootfs.ext4 -> rootfs.ext2
|
|
├── rootfs.tar
|
|
├── sdcard.img
|
|
├── u-boot.bin
|
|
└── u-boot.itb
|
|
|
|
Creating bootable SD card:
|
|
==========================
|
|
|
|
Simply invoke (as root)
|
|
|
|
sudo 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
|
|
|
|
Login:
|
|
------
|
|
Enter 'root' as login user, and the prompt is ready.
|
|
|
|
https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/nanopi_m4.html
|