Files
buildroot/board/miyoo/genimage-sdcard.cfg
Apaczer bb94014294 FIRSBOOT: add extra p5 for ROMS (use GPT) & add option for switching FS (#168)
* BOARD: firstboot:  use ext4 for p1 explicitly
* BOARD: /etc/main : update fsck scripts
* BOARD: inittab: 
 - add /roms in p5
 - mount RO /boot in async (default)
* BOARD: genimage.sh: gen ROMS EXT4 image
* BAORD: prebuild.sh: 
 - create mount point for ROMS
 - increase MAIN & ROMS block size
 - the size of /mnt is "hardcoded" after image creation
 - we need real space for backup manipulation in ROMS
* BOARD: mv roms upward
* BOARD: firstboot: add p5 ROMS and resize
* BOARD: genimage-sdcard.cfg: 
 - use GPT
 - add p5 for roms

* PACKAGE/BOARD: patch/genimage: down-size gpt table
* PACKAGE/DEFCONFIG: add `gptfdisk` package to shared
* BOARD: firstboot: allow for switching FS type in MAIN and ROMS
* README: update firstboot_procedure.drawio.png
  - add FS change boxes and IPK installer
* BOARD: firstboot: not mandatory to resize for IPK manager
* DEFCONFIG: add default kernel patching
* DEFCONFIG: uppercase rootfs label
* BOARD: umtpr: uppercas partition LABELS
* DEFCONFIG/PACKAGE: add RSYNC pkg
* BOARD: mount FAT p5 in async (default)

* BOARD: add ROMS icons for Win
Co-Authored-By: TriForce <triforce@gznetwork.com>
2025-05-18 16:27:05 +02:00

68 lines
1.2 KiB
INI

image bootfs.vfat {
vfat {
label = "BOOT"
files = {
"zImage",
"suniv-f1c100s-miyoo.dtb",
"suniv-f1c100s-miyoo-4bit.dtb",
"boot.scr",
"boot/miyoo-splash.bmp",
"boot/autorun.inf",
"boot/boot.ico",
"boot/console.cfg",
"boot/firstboot",
"boot/firstboot.custom.sh-OFF",
"boot/modules.custom.sh",
"boot/normalboot.custom.sh",
"boot/ipk_install.sh",
}
}
size = 8M
}
image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
hdimage {
# for root=PARTLABEL support
partition-table-type = gpt
# default GPT location conflicts with bootloaders, move it after
gpt-location = 1M
}
partition u-boot {
in-partition-table = false
image = "u-boot-sunxi-with-spl.bin"
offset = 0x2000 # 8192 bytes
size = 1016K # 1MB - 8192
}
partition boot {
partition-type-uuid = F
bootable = true
image = "bootfs.vfat"
}
partition rootfs {
partition-type-uuid = L
image = "rootfs.ext4"
}
partition swap {
partition-type-uuid = S
bootable = false
size = 256M
}
partition main {
partition-type-uuid = L
bootable = false
image = "main.img"
}
partition roms {
partition-type-uuid = L
bootable = false
image = "roms.img"
}
}