diff options
Diffstat (limited to 'board/freescale/imx53loco/genimage.cfg')
-rw-r--r-- | board/freescale/imx53loco/genimage.cfg | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/board/freescale/imx53loco/genimage.cfg b/board/freescale/imx53loco/genimage.cfg new file mode 100644 index 0000000000..b56c1687ed --- /dev/null +++ b/board/freescale/imx53loco/genimage.cfg @@ -0,0 +1,42 @@ +# Minimal microSD card image for the Freescale's i.MX53 QSB board +# +# We mimic the .sdcard Freescale's image format for i.MX53: +# * the microSD card must have 1 kB free space at the beginning, +# * U-Boot is dumped as is, +# * a FAT partition at offset 8 MB is containing zImage and dtbs, +# * a single root filesystem partition is required (Ext4 in this case). +# + +image boot.vfat { + vfat { + files = { + "imx53-qsb.dtb", + "imx53-qsrb.dtb", + "zImage" + } + } + 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 + image = "rootfs.ext4" + } +} |