1# Minimal SD card image for the Freescale iMX8 boards 2# 3# We mimic the .sdcard Freescale's image format: 4# * the SD card must have 33 kB free space at the beginning, 5# * U-Boot is integrated into imx8-boot-sd.bin and is dumped as is, 6# * a FAT partition at offset 8MB is containing Image and DTB files 7# * a single root filesystem partition is required (ext2, ext3 or ext4) 8# 9 10image boot.vfat { 11 vfat { 12 label = "boot" 13 files = { 14 %FILES% 15 } 16 } 17 size = 64M 18} 19 20image sdcard.img { 21 hdimage { 22 } 23 24 partition imx-boot { 25 in-partition-table = "no" 26 image = "imx8-boot-sd.bin" 27 offset = %IMXOFFSET% 28 } 29 30 partition boot { 31 partition-type = 0xC 32 bootable = "true" 33 image = "boot.vfat" 34 offset = 8M 35 } 36 37 partition rootfs { 38 partition-type = 0x83 39 image = "rootfs.ext2" 40 } 41} 42