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