xref: /OK3568_Linux_fs/buildroot/board/orangepi/orangepi-zero-plus2/genimage.cfg (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1image boot.vfat {
2	vfat {
3		files = {
4			"Image",
5			"sun50i-h5-orangepi-zero-plus2.dtb",
6			"boot.scr"
7		}
8	}
9
10	size = 64M
11}
12
13image sdcard.img {
14	hdimage {
15		# for root=PARTLABEL support
16		gpt = true
17		# default GPT location conflicts with bootloaders, move it after
18		gpt-location = 1M
19	}
20
21	partition spl {
22		in-partition-table = "no"
23		image = "u-boot-sunxi-with-spl.bin"
24		offset = 8K
25		size = 1032K # 1MB - 8KB + 16KB(GPT)
26	}
27
28	partition boot {
29		partition-type = 0xC
30		bootable = "true"
31		image = "boot.vfat"
32	}
33
34	# 'rootfs' will be used as the partition label, used
35	# with root=PARTLABEL=rootfs kernel command line
36	partition rootfs {
37		partition-type = 0x83
38		image = "rootfs.ext4"
39		size = 256M
40	}
41}
42