kumquat-buildroot/board/orangepi/orangepi-zero-plus2/genimage.cfg
Peter Korsgaard b59f938302 board/*/genimage.cfg: use partition-table-type = "gpt" for genimage-15
Genimage 15 deprecated the gpt option and now prints a warning when it is
used:

INFO: hdimage(sdcard.img): The option 'gpt' is deprecated. Use 'partition-table-type' instead

So change the genimage configuration files to use that instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-27 15:41:51 +01:00

42 lines
728 B
INI

image boot.vfat {
vfat {
files = {
"Image",
"sun50i-h5-orangepi-zero-plus2.dtb",
"boot.scr"
}
}
size = 64M
}
image sdcard.img {
hdimage {
# for root=PARTLABEL support
partition-table-type = "gpt"
# default GPT location conflicts with bootloaders, move it after
gpt-location = 1M
}
partition spl {
in-partition-table = "no"
image = "u-boot-sunxi-with-spl.bin"
offset = 8K
size = 1032K # 1MB - 8KB + 16KB(GPT)
}
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
# 'rootfs' will be used as the partition label, used
# with root=PARTLABEL=rootfs kernel command line
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
size = 256M
}
}