2017-11-08 20:43:32 +01:00
|
|
|
# Minimal SD card image for the OrangePi PC Plus
|
|
|
|
#
|
|
|
|
image boot.vfat {
|
|
|
|
vfat {
|
|
|
|
files = {
|
|
|
|
"zImage",
|
|
|
|
"sun8i-h3-orangepi-pc-plus.dtb",
|
|
|
|
"boot.scr"
|
|
|
|
}
|
|
|
|
}
|
2021-11-07 03:42:50 +01:00
|
|
|
|
2017-11-08 20:43:32 +01:00
|
|
|
size = 10M
|
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
2021-06-13 18:19:26 +02:00
|
|
|
# for root=PARTLABEL support
|
|
|
|
gpt = true
|
|
|
|
# default GPT location conflicts with bootloaders, move it after
|
|
|
|
gpt-location = 1M
|
2017-11-08 20:43:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
partition u-boot {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "u-boot-sunxi-with-spl.bin"
|
2021-11-07 03:42:50 +01:00
|
|
|
offset = 8K
|
|
|
|
size = 1032K # 1MB - 8KB + 16KB(GPT)
|
2017-11-08 20:43:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
|
|
|
partition-type = 0xC
|
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
}
|
|
|
|
|
2021-06-13 18:19:26 +02:00
|
|
|
# 'rootfs' will be used as the partition label, used
|
|
|
|
# with root=PARTLABEL=rootfs kernel command line
|
2017-11-08 20:43:32 +01:00
|
|
|
partition rootfs {
|
|
|
|
partition-type = 0x83
|
|
|
|
image = "rootfs.ext4"
|
|
|
|
size = 512M
|
|
|
|
}
|
|
|
|
}
|