kumquat-buildroot/board/radxa/rockpi-n8
Giulio Benetti 85ee640eb5 board/radxa/rockpi-n8:use partition-type-uuid for genimage-15
Genimage 15 restricted the partition-type option to mbr and hybrid
partition-table-type and now prints a warning when it is used [1]:

ERROR: hdimage(disk.img): part boot: 'partition-type' is only valid for mbr and hybrid partition-table-type

[1] 1d72d8091f

So let's use for EFI System partition:
'partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b'
and for Root partition (32-bit ARM):
'partition-type-uuid = 69DAD710-2CE4-4E3C-B16C-21A1D49ABED3'

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1929717242

FTR, the magic UUID are from:
    https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-13 16:21:03 +01:00
..
extlinux.conf
genimage.cfg
post-build.sh
readme.txt

RADXA ROCKPI-N8
================
https://wiki.radxa.com/RockpiN8

Build:
======
  $ make rock_pi_n8_defconfig
  $ make

Files created in output directory
=================================

output/images
.
├── boot.vfat
├── extlinux
├── idbloader.img
├── rk3288-rock-pi-n8.dtb
├── rootfs.ext2
├── rootfs.ext4 -> rootfs.ext2
├── rootfs.tar
├── sdcard.img
├── u-boot.bin
├── u-boot-dtb.bin
├── u-boot-dtb.img
└── zImage

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.

Booting:
========

Serial console:
---------------
RockPi-N8 has a 40-pin GPIO header. The pin layout is as follows:

pin 6:  gnd
pin 8:  tx
pin 10: rx

Baudrate for this board is 115200.

The boot order on rockpi-n8 is emmc, sd. If emmc contains a valid Image, the board
always boots from emmc. To boot from SD, erase emmc as per the guide:

https://wiki.amarulasolutions.com/bsp/setup/rockchip/rk3399_emmc.html

Login:
------
Enter 'root' as login user, and the prompt is ready.

wiki link:
----------
https://wiki.amarulasolutions.com/bsp/rockchip/rk3288/rock-pi-n8.html