blob: 01866bba982618e54ab1f60c834a9b17bf38b2c7 [file] [log] [blame]
Jan Kundrát420a6d82017-09-29 16:56:31 +02001image sdcard.img {
2 hdimage {
3 }
4
5 partition u-boot {
6 in-partition-table = "no"
7 image = "u-boot-spl.kwb"
8 offset = 512
9 }
10
Jan Kundrát1f66d162017-10-11 11:54:04 +020011 partition rootfs-A {
Jan Kundrát420a6d82017-09-29 16:56:31 +020012 partition-type = 0x83
13 image = "rootfs.ext4"
Jan Kundrát6da34612017-10-11 12:28:53 +020014 offset = 1M
Jan Kundrátb425ea82017-10-19 17:56:36 +020015 size = 1999M
16 }
17
18 partition cfg-A {
19 partition-type = 0x83
20 image = "cfg.ext4"
21 offset = 2000M
22 size = 2000M
Jan Kundrát1f66d162017-10-11 11:54:04 +020023 }
24
25 partition rootfs-B {
26 partition-type = 0x83
27 image = "rootfs.ext4"
Jan Kundrátb425ea82017-10-19 17:56:36 +020028 offset = 4001M
29 size = 1999M
30 }
31
32 partition cfg-B {
33 partition-type = 0x83
34 image = "cfg.ext4"
35 offset = 6000M
36 size = 2000M
Jan Kundrát420a6d82017-09-29 16:56:31 +020037 }
38}
Jan Kundrátbdaf9342018-01-12 18:18:35 +010039
40image usb-flash.vfat {
41 vfat {
42 files = {
43 "usb-boot.scr",
44 "zImage",
45 "czechlight-clearfog.dtb",
46 "rootfs.cpio.uboot"
47 }
48 }
49 size = 64M
50}
51
52image usb-flash.img {
53 hdimage {
54 }
55
56 partition boot {
57 partition-type = 0xc
58 image = "usb-flash.vfat"
59 }
60}