summaryrefslogtreecommitdiff
path: root/board/orangepi/orangepi-one/genimage.cfg
blob: 4640ff2b13922f6e08b9dc9ef0db5fb10491f7d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Minimal SD card image for the OrangePi PC
#
image boot.vfat {
	vfat {
		files = {
			"zImage",
			"sun8i-h3-orangepi-one.dtb",
			"boot.scr"
		}
	}
	size = 10M
}

image sdcard.img {
	hdimage {
	}

	partition u-boot {
		in-partition-table = "no"
		image = "u-boot-sunxi-with-spl.bin"
		offset = 8192
		size = 1040384 # 1MB - 8192
	}

	partition boot {
		partition-type = 0xC
		bootable = "true"
		image = "boot.vfat"
	}

	partition rootfs {
		partition-type = 0x83
		image = "rootfs.ext4"
		size = 512M
	}
}