2019-10-27 20:50:46 +01:00
|
|
|
# Minimal SD card image for the NanoPi M1
|
|
|
|
#
|
|
|
|
image boot.vfat {
|
|
|
|
vfat {
|
|
|
|
files = {
|
|
|
|
"zImage",
|
|
|
|
"sun8i-h3-nanopi-r1.dtb",
|
|
|
|
"boot.scr"
|
|
|
|
}
|
|
|
|
}
|
2021-11-07 03:07:38 +01:00
|
|
|
|
2019-10-27 20:50:46 +01:00
|
|
|
size = 10M
|
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
|
|
|
}
|
|
|
|
|
|
|
|
partition u-boot {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "u-boot-sunxi-with-spl.bin"
|
2021-11-07 03:07:38 +01:00
|
|
|
offset = 8K
|
|
|
|
size = 1016K # 1MB - 8KB
|
2019-10-27 20:50:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
|
|
|
partition-type = 0xC
|
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
}
|
|
|
|
|
|
|
|
partition rootfs {
|
|
|
|
partition-type = 0x83
|
|
|
|
image = "rootfs.ext4"
|
|
|
|
size = 512M
|
|
|
|
}
|
|
|
|
}
|