2017-12-20 10:53:38 +01:00
|
|
|
image boot.vfat {
|
|
|
|
vfat {
|
|
|
|
files = {
|
|
|
|
"Image",
|
|
|
|
"sun50i-h5-orangepi-zero-plus2.dtb",
|
|
|
|
"boot.scr"
|
|
|
|
}
|
|
|
|
}
|
2021-11-07 03:42:56 +01:00
|
|
|
|
2017-12-20 10:53:38 +01:00
|
|
|
size = 64M
|
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
2021-02-03 20:57:19 +01:00
|
|
|
# for root=PARTLABEL support
|
2021-12-19 15:20:33 +01:00
|
|
|
partition-table-type = "gpt"
|
2021-02-03 20:57:19 +01:00
|
|
|
# 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"
|
2021-06-25 21:33:18 +02:00
|
|
|
image = "u-boot-sunxi-with-spl.bin"
|
2021-11-07 03:42:56 +01:00
|
|
|
offset = 8K
|
2022-01-31 22:24:55 +01:00
|
|
|
size = 1016K # 1MB - 8KB
|
2017-12-20 10:53:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
2022-01-31 22:24:55 +01:00
|
|
|
partition-type-uuid = "F"
|
2017-12-20 10:53:38 +01:00
|
|
|
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 {
|
2022-01-31 22:24:55 +01:00
|
|
|
partition-type-uuid = "L"
|
2017-12-20 10:53:38 +01:00
|
|
|
image = "rootfs.ext4"
|
2021-02-03 20:57:19 +01:00
|
|
|
size = 256M
|
2017-12-20 10:53:38 +01:00
|
|
|
}
|
|
|
|
}
|