summaryrefslogtreecommitdiff
path: root/target/arm/banana-p2-zero/genimage.cfg
blob: 98c9de077cc978465975e0c9487e164805a9f3f5 (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
image boot.vfat {
	vfat {
		files = {
			"kernel",
			"sun8i-h2-plus-bananapi-m2-zero.dtb",
			"boot.scr"
		}
	}

	size = 64M
}

image sdcard.img {
	hdimage {
	}

	partition u-boot {
		in-partition-table = "no"
		image = "u-boot-sunxi-with-spl.bin"
		offset = 8K
		size = 1016K # 1MB - 8KB
	}

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

	partition rootfs {
		partition-type = 0x83
		image = "rootfs.ext"
	}

}