kumquat-buildroot/board/pine64/rockpro64
Giulio Benetti 2466a54281 board/pine64/rockpro64: use partition-type-uuid in genimage.cfg
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 (64-bit ARM/AArch64):
'partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae'

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

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: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-02-06 10:31:40 +01:00
..
extlinux.conf
genimage.cfg board/pine64/rockpro64: use partition-type-uuid in genimage.cfg 2022-02-06 10:31:40 +01:00
post-build.sh
readme.txt

PINE64 ROCKPro64
================
https://www.pine64.org/rockpro64/

Build:
======
  $ make rockpro64_defconfig
  $ make

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

output/images

├── bl31.elf
├── boot.vfat
├── extlinux
├── idbloader.img
├── Image
├── rk3399-rockpro64.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.

Booting:
========
RockPro64 has a 40-pin PI-2 GPIO Bus.

Connect a jumper between pin 23 and pin 25 for SD card boot.

Serial console:
---------------
The pin layout for serial console on PI-2 GPIO Bus is as follows:

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

Initially connect pin 6 and pin 8(transmit). Apply power to RockPro64, once the
power is on then connect pin 10(receive).

Baudrate for this board is 1500000.

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

https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/rockpro64.html