xref: /OK3568_Linux_fs/buildroot/board/grinn/liteboard/genimage.cfg (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# Minimal microSD card image for Grinn's liteBoard
2#
3# We mimic the .sdcard Freescale's image format for i.MX6UL:
4# * the microSD card must have 1 kB free space at the beginning,
5# * SPL is dumped as is,
6# * U-Boot is dumped at 69K offset, as configured in SPL
7# * a FAT partition at offset 8 MB is containing zImage and dtbs,
8# * a single root filesystem partition is required (Ext4 in this case).
9#
10
11image boot.vfat {
12	vfat {
13		files = {
14			"imx6ul-liteboard.dtb",
15			"zImage"
16		}
17	}
18
19	size = 16M
20}
21
22image sdcard.img {
23	hdimage {
24	}
25
26	partition SPL {
27		in-partition-table = "no"
28		image = "SPL"
29		offset = 1K
30	}
31
32	partition u-boot {
33		in-partition-table = "no"
34		image = "u-boot.img"
35		offset = 69K
36	}
37
38	partition boot {
39		partition-type = 0xC
40		bootable = "true"
41		image = "boot.vfat"
42		offset = 8M
43	}
44
45	partition rootfs {
46		partition-type = 0x83
47		image = "rootfs.ext4"
48	}
49}
50