hc
2024-03-22 ac5f19e89dcbd5c7428fcc78a0d407c887564466
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
# Minimal SD card image for the OrangePi PC Plus
#
image boot.vfat {
   vfat {
       files = {
           "zImage",
           "sun8i-h3-orangepi-pc-plus.dtb",
           "boot.scr"
       }
   }
 
   size = 10M
}
 
image sdcard.img {
   hdimage {
       # for root=PARTLABEL support
       gpt = true
       # default GPT location conflicts with bootloaders, move it after
       gpt-location = 1M
   }
 
   partition u-boot {
       in-partition-table = "no"
       image = "u-boot-sunxi-with-spl.bin"
       offset = 8K
       size = 1032K # 1MB - 8KB + 16KB(GPT)
   }
 
   partition boot {
       partition-type = 0xC
       bootable = "true"
       image = "boot.vfat"
   }
 
   # 'rootfs' will be used as the partition label, used
   # with root=PARTLABEL=rootfs kernel command line
   partition rootfs {
       partition-type = 0x83
       image = "rootfs.ext4"
       size = 512M
   }
}