forked from FunKey-Project/FunKey-OS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
genimage.cfg
51 lines (45 loc) · 950 Bytes
/
genimage.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
config {
}
image sdcard.img {
hdimage {
}
partition u-boot {
in-partition-table = "no"
image = "Recovery/output/images/u-boot-sunxi-with-spl.bin"
offset = 8K
size = 536K # 544KB - 8KB
}
partition u-boot-env {
in-partition-table = "no"
offset = 544K
size = 128K
image = "Recovery/output/images/u-boot-env.img"
}
partition Recovery {
offset = 1M
partition-type = 0x83
image = "Recovery/output/images/rootfs.ext4"
size = 100M
}
partition FunKey {
offset = 101M
partition-type = 0x83
bootable = "yes"
image = "FunKey/output/images/rootfs.ext4"
size = 220M # This will be resized to 1G during first boot
}
# These partitions will be created during first boot
# partition swap {
# offset = 1.01G
# partition-type = 0xC
# bootable = "false"
# size = 128M
# }
#
# partition share {
# offset = 1.138G
# partition-type = 0xC
# bootable = "false"
# size = 0 # Fill in the disk up to its full size
# }
}