2017-09-16 15:12:11 +02:00
|
|
|
# Minimal SD card image for the Freescale boards Template for SPL Boot
|
|
|
|
#
|
|
|
|
# We mimic the .sdcard Freescale's image format:
|
|
|
|
# * the SD card must have 1 kB free space at the beginning,
|
|
|
|
# * U-Boot is dumped as is,
|
|
|
|
# * a FAT partition at offset 8MB is containing zImage/uImage and DTB files
|
|
|
|
# * 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"
|
2017-09-16 15:12:11 +02:00
|
|
|
files = {
|
|
|
|
%FILES%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
size = 16M
|
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
|
|
|
}
|
|
|
|
|
|
|
|
partition spl {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "SPL"
|
|
|
|
offset = 1024
|
|
|
|
}
|
|
|
|
|
2019-07-09 11:57:02 +02:00
|
|
|
partition u-boot {
|
2017-09-16 15:12:11 +02:00
|
|
|
in-partition-table = "no"
|
2019-07-09 11:57:02 +02:00
|
|
|
image = "%UBOOTBIN%"
|
2017-09-16 15:12:11 +02:00
|
|
|
offset = 69K
|
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
|
|
|
partition-type = 0xC
|
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
offset = 8M
|
|
|
|
}
|
|
|
|
|
|
|
|
partition rootfs {
|
|
|
|
partition-type = 0x83
|
|
|
|
image = "rootfs.ext2"
|
|
|
|
}
|
|
|
|
}
|