2017-12-20 10:53:38 +01:00
|
|
|
image boot.vfat {
|
|
|
|
vfat {
|
|
|
|
files = {
|
|
|
|
"Image",
|
|
|
|
"sun50i-h5-orangepi-zero-plus2.dtb",
|
|
|
|
"boot.scr"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
size = 64M
|
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
2021-02-03 20:57:19 +01:00
|
|
|
# for root=PARTLABEL support
|
|
|
|
gpt = true
|
|
|
|
# default GPT location conflicts with bootloaders, move it after
|
|
|
|
gpt-location = 1M
|
2017-12-20 10:53:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
partition spl {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "sunxi-spl.bin"
|
|
|
|
offset = 8192
|
|
|
|
}
|
|
|
|
|
|
|
|
partition u-boot {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "u-boot.itb"
|
|
|
|
offset = 40K
|
2021-02-03 20:57:19 +01:00
|
|
|
size = 1024000 # 1MB - 40K + 16K(GPT)
|
2017-12-20 10:53:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
|
|
|
partition-type = 0xC
|
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
}
|
|
|
|
|
2021-02-03 20:57:19 +01:00
|
|
|
# 'rootfs' will be used as the partition label, used
|
|
|
|
# with root=PARTLABEL=rootfs kernel command line
|
2017-12-20 10:53:38 +01:00
|
|
|
partition rootfs {
|
|
|
|
partition-type = 0x83
|
|
|
|
image = "rootfs.ext4"
|
2021-02-03 20:57:19 +01:00
|
|
|
size = 256M
|
2017-12-20 10:53:38 +01:00
|
|
|
}
|
|
|
|
}
|