2018-04-12 22:39:07 +02:00
|
|
|
# Minimal SD card image for the Freescale iMX8 boards
|
|
|
|
#
|
|
|
|
# We mimic the .sdcard Freescale's image format:
|
|
|
|
# * the SD card must have 33 kB free space at the beginning,
|
|
|
|
# * U-Boot is integrated into imx8-boot-sd.bin and is dumped as is,
|
2018-12-27 17:08:06 +01:00
|
|
|
# * a FAT partition at offset 8MB is containing Image and DTB files
|
2018-04-12 22:39:07 +02:00
|
|
|
# * a single root filesystem partition is required (ext2, ext3 or ext4)
|
|
|
|
#
|
|
|
|
|
|
|
|
image boot.vfat {
|
|
|
|
vfat {
|
2020-04-15 14:36:55 +02:00
|
|
|
label = "boot"
|
2018-04-12 22:39:07 +02:00
|
|
|
files = {
|
|
|
|
%FILES%
|
|
|
|
}
|
|
|
|
}
|
2020-05-26 23:01:19 +02:00
|
|
|
size = 64M
|
2018-04-12 22:39:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
|
|
|
}
|
|
|
|
|
|
|
|
partition imx-boot {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "imx8-boot-sd.bin"
|
2019-02-18 21:48:06 +01:00
|
|
|
offset = %IMXOFFSET%
|
2018-04-12 22:39:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
|
|
|
partition-type = 0xC
|
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
offset = 8M
|
|
|
|
}
|
|
|
|
|
|
|
|
partition rootfs {
|
|
|
|
partition-type = 0x83
|
|
|
|
image = "rootfs.ext2"
|
|
|
|
}
|
|
|
|
}
|