2019-05-03 16:25:21 +02:00
|
|
|
# Minimal SD card image for the OrangePi R1
|
|
|
|
#
|
|
|
|
image boot.vfat {
|
|
|
|
vfat {
|
|
|
|
files = {
|
|
|
|
"zImage",
|
|
|
|
"sun8i-h2-plus-orangepi-r1.dtb",
|
|
|
|
"boot.scr"
|
|
|
|
}
|
|
|
|
}
|
2021-11-07 03:42:52 +01:00
|
|
|
|
2019-05-03 16:25:21 +02:00
|
|
|
size = 10M
|
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
2021-01-25 09:11:30 +01:00
|
|
|
# for root=PARTLABEL support
|
2021-12-19 15:20:33 +01:00
|
|
|
partition-table-type = "gpt"
|
2021-01-25 09:11:30 +01:00
|
|
|
# default GPT location conflicts with spl, move it after
|
|
|
|
gpt-location = 1M
|
2019-05-03 16:25:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
partition u-boot {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "u-boot-sunxi-with-spl.bin"
|
2021-11-07 03:42:52 +01:00
|
|
|
offset = 8K
|
2021-12-19 15:20:32 +01:00
|
|
|
size = 1016K # 1MB - 8KB
|
2019-05-03 16:25:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
2022-07-22 22:21:47 +02:00
|
|
|
partition-type-uuid = F
|
2019-05-03 16:25:21 +02:00
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
}
|
|
|
|
|
2021-01-25 09:11:30 +01:00
|
|
|
# 'rootfs' will be used as the partition label, used
|
2021-02-03 23:16:09 +01:00
|
|
|
# with root=PARTLABEL=rootfs kernel command line
|
2019-05-03 16:25:21 +02:00
|
|
|
partition rootfs {
|
2022-07-22 22:21:46 +02:00
|
|
|
partition-type-uuid = L
|
2019-05-03 16:25:21 +02:00
|
|
|
image = "rootfs.ext4"
|
|
|
|
size = 512M
|
|
|
|
}
|
|
|
|
}
|