xref: /OK3568_Linux_fs/buildroot/board/linksprite/pcduino/genimage.cfg (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#
2# Minimal SD card image for the pcDuino
3#
4
5image boot.vfat {
6	vfat {
7		files = {
8			"zImage",
9			"sun4i-a10-pcduino.dtb",
10			"boot.scr"
11		}
12	}
13
14	size = 16M
15}
16
17#
18# Note: u-boot environment is stored between u-boot and boot partitions
19#
20
21image sdcard.img {
22	hdimage {
23	}
24
25	partition u-boot {
26		in-partition-table = "no"
27		image = "u-boot-sunxi-with-spl.bin"
28		offset = 8K
29		size = 1016K # 1MB - 8KB
30	}
31
32	partition boot {
33		partition-type = 0xC
34		bootable = "true"
35		image = "boot.vfat"
36		offset = 1M
37	}
38
39	partition rootfs {
40		partition-type = 0x83
41		image = "rootfs.ext4"
42	}
43}
44