Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 1 | image boot-sd.vfat { |
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 2 | vfat { |
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 3 | files = { |
Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 4 | "MLO", |
5 | "u-boot.img" | ||||
6 | } | ||||
7 | file boot.scr { | ||||
8 | image = "sd.scr" | ||||
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 9 | } |
Jan Kundrát | 0ed892b | 2019-08-07 14:11:15 +0200 | [diff] [blame] | 10 | file uEnv.txt { |
11 | image = "sd-uEnv.txt" | ||||
12 | } | ||||
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 13 | } |
Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 14 | size = 8M |
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 15 | } |
16 | |||||
17 | image sdcard.img { | ||||
18 | hdimage { | ||||
19 | } | ||||
20 | |||||
Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 21 | partition u-boot { |
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 22 | partition-type = 0xC |
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 23 | bootable = "true" |
Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 24 | image = "boot-sd.vfat" |
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 25 | } |
26 | |||||
27 | partition rootfs { | ||||
28 | partition-type = 0x83 | ||||
29 | image = "rootfs.ext4" | ||||
30 | } | ||||
Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 31 | |
32 | partition cfg { | ||||
33 | partition-type = 0x83 | ||||
34 | image = "cfg.ext4" | ||||
35 | } | ||||
Pieter Smith | 80ba935 | 2017-03-28 21:35:37 +0200 | [diff] [blame] | 36 | } |
Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 37 | |
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 | #} |