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