xref: /OK3568_Linux_fs/buildroot/board/freescale/common/mxs/genimage.cfg.template (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# Minimal SD card image for the Freescale MX23/MX28 Template
2#
3# We mimic the .sdcard Freescale's MX23/MX28 image format:
4# * u-boot.sb is placed at offset 1M,
5# * a FAT partition at offset 16 MB is containing zImage/uImage and DTB files
6# * a single root filesystem partition is required (ext2, ext3 or ext4)
7#
8
9image boot.vfat {
10	vfat {
11		label = "boot"
12		files = {
13			%FILES%
14		}
15	}
16	size = 16M
17}
18
19image sdcard.img {
20	hdimage {
21	}
22
23	partition u-boot {
24		partition-type = 0x53
25		image = "u-boot.sd"
26		offset = 1M
27		size = 16M
28	}
29
30	partition kernel {
31		partition-type = 0xC
32		bootable = "true"
33		image = "boot.vfat"
34	}
35
36	partition rootfs {
37		partition-type = 0x83
38		image = "rootfs.ext2"
39	}
40}
41