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