mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
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>
This commit is contained in:
@@ -21,37 +21,47 @@ image bootfs.vfat {
|
||||
}
|
||||
|
||||
|
||||
|
||||
image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
|
||||
hdimage {}
|
||||
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 = "no"
|
||||
in-partition-table = false
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 0x2000
|
||||
offset = 0x2000 # 8192 bytes
|
||||
size = 1016K # 1MB - 8192
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xB
|
||||
bootable = "true"
|
||||
partition-type-uuid = F
|
||||
bootable = true
|
||||
image = "bootfs.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.btrfs"
|
||||
partition-type-uuid = L
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
|
||||
partition swap {
|
||||
partition-type = 0x82
|
||||
bootable = "false"
|
||||
partition-type-uuid = S
|
||||
bootable = false
|
||||
size = 256M
|
||||
}
|
||||
|
||||
partition main {
|
||||
partition-type = 0x83
|
||||
bootable = "false"
|
||||
partition-type-uuid = L
|
||||
bootable = false
|
||||
image = "main.img"
|
||||
}
|
||||
|
||||
partition roms {
|
||||
partition-type-uuid = L
|
||||
bootable = false
|
||||
image = "roms.img"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user