blob: dc9f7c1b05bc868bd31e926805fa3422cf8bdfea [file] [log] [blame]
Jan Kundrát5fb49922019-08-05 18:27:25 +02001image boot-sd.vfat {
Pieter Smith80ba9352017-03-28 21:35:37 +02002 vfat {
Pieter Smith80ba9352017-03-28 21:35:37 +02003 files = {
Jan Kundrát5fb49922019-08-05 18:27:25 +02004 "MLO",
5 "u-boot.img"
6 }
7 file boot.scr {
8 image = "sd.scr"
Pieter Smith80ba9352017-03-28 21:35:37 +02009 }
10 }
Jan Kundrát5fb49922019-08-05 18:27:25 +020011 size = 8M
Pieter Smith80ba9352017-03-28 21:35:37 +020012}
13
14image sdcard.img {
15 hdimage {
16 }
17
Jan Kundrát5fb49922019-08-05 18:27:25 +020018 partition u-boot {
Pieter Smith80ba9352017-03-28 21:35:37 +020019 partition-type = 0xC
Pieter Smith80ba9352017-03-28 21:35:37 +020020 bootable = "true"
Jan Kundrát5fb49922019-08-05 18:27:25 +020021 image = "boot-sd.vfat"
Pieter Smith80ba9352017-03-28 21:35:37 +020022 }
23
24 partition rootfs {
25 partition-type = 0x83
26 image = "rootfs.ext4"
27 }
Jan Kundrát5fb49922019-08-05 18:27:25 +020028
29 partition cfg {
30 partition-type = 0x83
31 image = "cfg.ext4"
32 }
Pieter Smith80ba9352017-03-28 21:35:37 +020033}
Jan Kundrát5fb49922019-08-05 18:27:25 +020034
35# this is largely untested...
36#image boot-emmc.vfat {
37# vfat {
38# files = {
39# "MLO",
40# "u-boot.img"
41# }
42# file boot.scr {
43# image = "rauc.scr"
44# }
45# }
46# size = 8M
47#}
48#
49#image emmc.img {
50# hdimage {
51# }
52#
53# partition u-boot {
54# partition-type = 0xC
55# bootable = "true"
56# image = "boot-emmc.vfat"
57# }
58#
59# partition rootfs-A {
60# partition-type = 0x83
61# image = "rootfs.ext4"
62# size = 1024M
63# }
64#
65# partition cfg-A {
66# partition-type = 0x83
67# image = "cfg.ext4"
68# size = 512M
69# }
70#
71# partition rootfs-B {
72# partition-type = 0x83
73# image = "rootfs.ext4"
74# size = 1024M
75# }
76#
77# partition cfg-B {
78# partition-type = 0x83
79# image = "cfg.ext4"
80# size = 512M
81# }
82#}