blob: 548f538f4937ced954e7c686f4b922bab7140d04 [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 {
Jan Kundrátfa53cc82018-01-15 17:14:20 +010042 file "boot.scr" { image = "usb-boot.scr" }
Jan Kundrátbdaf9342018-01-12 18:18:35 +010043 files = {
Jan Kundrátbdaf9342018-01-12 18:18:35 +010044 "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
Jan Kundrátfa53cc82018-01-15 17:14:20 +010058 bootable = true
Jan Kundrátbdaf9342018-01-12 18:18:35 +010059 image = "usb-flash.vfat"
60 }
61}