b59f938302
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>
44 lines
763 B
INI
44 lines
763 B
INI
# Minimal SD card image for the OrangePi R1
|
|
#
|
|
image boot.vfat {
|
|
vfat {
|
|
files = {
|
|
"zImage",
|
|
"sun8i-h2-plus-orangepi-r1.dtb",
|
|
"boot.scr"
|
|
}
|
|
}
|
|
|
|
size = 10M
|
|
}
|
|
|
|
image sdcard.img {
|
|
hdimage {
|
|
# for root=PARTLABEL support
|
|
partition-table-type = "gpt"
|
|
# default GPT location conflicts with spl, move it after
|
|
gpt-location = 1M
|
|
}
|
|
|
|
partition u-boot {
|
|
in-partition-table = "no"
|
|
image = "u-boot-sunxi-with-spl.bin"
|
|
offset = 8K
|
|
size = 1016K # 1MB - 8KB
|
|
}
|
|
|
|
partition boot {
|
|
partition-type-uuid = "U"
|
|
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-uuid = "L"
|
|
image = "rootfs.ext4"
|
|
size = 512M
|
|
}
|
|
}
|