1# Minimal SD card image for the Freescale boards Template for SPL Boot 2# 3# We mimic the .sdcard Freescale's image format: 4# * the SD card must have 1 kB free space at the beginning, 5# * U-Boot is dumped as is, 6# * a FAT partition at offset 8MB is containing zImage/uImage 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 = 16M 18} 19 20image sdcard.img { 21 hdimage { 22 } 23 24 partition spl { 25 in-partition-table = "no" 26 image = "SPL" 27 offset = 1024 28 } 29 30 partition u-boot { 31 in-partition-table = "no" 32 image = "%UBOOTBIN%" 33 offset = 69K 34 } 35 36 partition boot { 37 partition-type = 0xC 38 bootable = "true" 39 image = "boot.vfat" 40 offset = 8M 41 } 42 43 partition rootfs { 44 partition-type = 0x83 45 image = "rootfs.ext2" 46 } 47} 48