xref: /OK3568_Linux_fs/buildroot/board/freescale/common/imx/genimage.cfg.template (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# Minimal SD card image for the Freescale boards Template
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 8 MB 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 u-boot {
25    in-partition-table = "no"
26    image = "%UBOOTBIN%"
27    offset = 1024
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