mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
* [FIRSTBOOT] refactor code: -auto-detect all possible variants in firstboot - DRY script code - add $RESIZE_COMMENCED , $BITTBOY_CONFIG , $MIYOO_CONFIGvariable - add debug log before any shutdown - don't `export` env var if not needed - move and use $DETECTED auto_ID variants on II Test_Block - cleanup + add more descriptions - add Test_Flip prompt for double check on Test Video (only if enduser selected "Flipped!" at first test) - remove useless SWAP & MAIN part. mount - add safety read-only for /boot before shutdown * [BOARD] add gmenu2x inputs inputs with `manifest` - update genimage config with `input_bittboy.conf` and `input_miyoo.conf` * [README] Add flashing procedure schematic (made in draw.io)
84 lines
1.5 KiB
INI
84 lines
1.5 KiB
INI
image bootfs.vfat {
|
|
vfat {
|
|
label = "BOOT"
|
|
files = {
|
|
"zImage",
|
|
"suniv-f1c500s-miyoo.dtb",
|
|
"boot.scr",
|
|
"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/resize"
|
|
}
|
|
file configs/manifest {
|
|
image = "boot/configs/manifest"
|
|
}
|
|
file configs/input_bittboy.conf {
|
|
image = "boot/configs/input_bittboy.conf"
|
|
}
|
|
file configs/input_miyoo.conf {
|
|
image = "boot/configs/input_miyoo.conf"
|
|
}
|
|
file configs/.volume.conf {
|
|
image = "boot/configs/.volume.conf"
|
|
}
|
|
file configs/.buttons.conf {
|
|
image = "boot/configs/.buttons.conf"
|
|
}
|
|
file configs/.batterylow.conf {
|
|
image = "boot/configs/.batterylow.conf"
|
|
}
|
|
file configs/.backlight.conf {
|
|
image = "boot/configs/.backlight.conf"
|
|
}
|
|
}
|
|
size = 8M
|
|
}
|
|
|
|
image mainfs.vfat {
|
|
vfat {
|
|
label = "MAIN"
|
|
}
|
|
mountpoint = "../../../images/main/"
|
|
size = 512M
|
|
}
|
|
|
|
|
|
image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
|
|
hdimage {}
|
|
|
|
partition u-boot {
|
|
in-partition-table = "no"
|
|
image = "u-boot-sunxi-with-spl.bin"
|
|
offset = 0x2000
|
|
size = 1016K # 1MB - 8192
|
|
}
|
|
|
|
partition boot {
|
|
partition-type = 0xB
|
|
bootable = "true"
|
|
image = "bootfs.vfat"
|
|
}
|
|
|
|
partition rootfs {
|
|
partition-type = 0x83
|
|
image = "rootfs.ext4"
|
|
}
|
|
|
|
partition swap {
|
|
partition-type = 0x82
|
|
bootable = "false"
|
|
size = 128M
|
|
}
|
|
|
|
partition main {
|
|
partition-type = 0xc
|
|
bootable = "false"
|
|
image = "mainfs.vfat"
|
|
}
|
|
}
|