2016-09-08 00:29:08 +02:00
|
|
|
# Minimal SD card image for the Freescale boards Template
|
2016-06-06 18:14:14 +02:00
|
|
|
#
|
2016-09-08 00:29:08 +02:00
|
|
|
# We mimic the .sdcard Freescale's image format:
|
2016-06-06 18:14:14 +02:00
|
|
|
# * the SD card must have 1 kB free space at the beginning,
|
|
|
|
# * U-Boot is dumped as is,
|
2016-09-08 00:29:08 +02:00
|
|
|
# * a FAT partition at offset 8 MB is containing zImage/uImage and DTB files
|
|
|
|
# * a single root filesystem partition is required (ext2, ext3 or ext4)
|
2016-06-06 18:14:14 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
image boot.vfat {
|
|
|
|
vfat {
|
|
|
|
files = {
|
2016-09-08 00:29:08 +02:00
|
|
|
%FILES%
|
2016-06-06 18:14:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
size = 16M
|
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
|
|
|
}
|
|
|
|
|
|
|
|
partition u-boot {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "u-boot.imx"
|
|
|
|
offset = 1024
|
|
|
|
}
|
|
|
|
|
|
|
|
partition boot {
|
|
|
|
partition-type = 0xC
|
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
offset = 8M
|
|
|
|
}
|
|
|
|
|
|
|
|
partition rootfs {
|
|
|
|
partition-type = 0x83
|
2016-09-08 00:29:08 +02:00
|
|
|
image = "rootfs.ext2"
|
2016-06-06 18:14:14 +02:00
|
|
|
}
|
|
|
|
}
|