xref: /OK3568_Linux_fs/buildroot/board/cubietech/cubieboard2/genimage.cfg (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# Minimal SD card image for the Cubieboard2
2# Based in the Orange Pi genimage.cfg
3
4image boot.vfat {
5	vfat {
6		files = {
7			"zImage",
8			"sun7i-a20-cubieboard2.dtb",
9			"boot.scr"
10		}
11	}
12
13	size = 10M
14}
15
16image sdcard.img {
17	hdimage {
18	}
19
20	partition u-boot {
21		in-partition-table = "no"
22		image = "u-boot-sunxi-with-spl.bin"
23		offset = 8K
24		size = 1016K # 1MB - 8KB
25	}
26
27	partition boot {
28		partition-type = 0xC
29		bootable = "true"
30		image = "boot.vfat"
31	}
32
33	partition rootfs {
34		partition-type = 0x83
35		image = "rootfs.ext4"
36		size = 512M
37	}
38}
39