blob: 8f92ca126a6fb9f6020507df24519c76db7e5031 [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 }
Jan Kundrát0ed892b2019-08-07 14:11:15 +020010 file uEnv.txt {
11 image = "sd-uEnv.txt"
12 }
Pieter Smith80ba9352017-03-28 21:35:37 +020013 }
Jan Kundrát5fb49922019-08-05 18:27:25 +020014 size = 8M
Pieter Smith80ba9352017-03-28 21:35:37 +020015}
16
17image sdcard.img {
18 hdimage {
19 }
20
Jan Kundrát5fb49922019-08-05 18:27:25 +020021 partition u-boot {
Pieter Smith80ba9352017-03-28 21:35:37 +020022 partition-type = 0xC
Pieter Smith80ba9352017-03-28 21:35:37 +020023 bootable = "true"
Jan Kundrát5fb49922019-08-05 18:27:25 +020024 image = "boot-sd.vfat"
Pieter Smith80ba9352017-03-28 21:35:37 +020025 }
26
27 partition rootfs {
28 partition-type = 0x83
29 image = "rootfs.ext4"
30 }
Jan Kundrát5fb49922019-08-05 18:27:25 +020031
32 partition cfg {
33 partition-type = 0x83
34 image = "cfg.ext4"
35 }
Pieter Smith80ba9352017-03-28 21:35:37 +020036}
Jan Kundrát5fb49922019-08-05 18:27:25 +020037
38# this is largely untested...
39#image boot-emmc.vfat {
40# vfat {
41# files = {
42# "MLO",
43# "u-boot.img"
44# }
45# file boot.scr {
46# image = "rauc.scr"
47# }
48# }
49# size = 8M
50#}
51#
52#image emmc.img {
53# hdimage {
54# }
55#
56# partition u-boot {
57# partition-type = 0xC
58# bootable = "true"
59# image = "boot-emmc.vfat"
60# }
61#
62# partition rootfs-A {
63# partition-type = 0x83
64# image = "rootfs.ext4"
65# size = 1024M
66# }
67#
68# partition cfg-A {
69# partition-type = 0x83
70# image = "cfg.ext4"
71# size = 512M
72# }
73#
74# partition rootfs-B {
75# partition-type = 0x83
76# image = "rootfs.ext4"
77# size = 1024M
78# }
79#
80# partition cfg-B {
81# partition-type = 0x83
82# image = "cfg.ext4"
83# size = 512M
84# }
85#}