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