mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
Infix defines its own Kconfig options with unprefixed names (IMAGE_*, QEMU_*, TRUSTED_KEYS*) and an INFIX_ prefix. Unprefixed names risk clashing with Buildroot and with other br2-externals/spins that source our tree. Rename all 86 options to a common IX_ prefix, collapsing the existing INFIX_ ones, e.g. INFIX_IMAGE_ID becomes IX_IMAGE_ID. The os-release INFIX_DESC field is a runtime interface, not a Kconfig option, and is kept; the qemu Config.in generator's @ARCH@ symbol is updated to match. Closes #1305 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
82 lines
2.1 KiB
Plaintext
82 lines
2.1 KiB
Plaintext
image cfg.ext4 {
|
|
empty = true
|
|
temporary = true
|
|
size = 128M
|
|
ext4 {
|
|
label = "cfg"
|
|
use-mke2fs = true
|
|
features = "uninit_bg"
|
|
extraargs = "-m 0 -i 4096"
|
|
}
|
|
}
|
|
|
|
# The /var partition will be expanded automatically at first boot
|
|
# to use the full size of the SD-card or eMMC media.
|
|
image var.ext4 {
|
|
empty = true
|
|
temporary = true
|
|
size = 128M
|
|
ext4 {
|
|
label = "var"
|
|
use-mke2fs = true
|
|
features = "uninit_bg"
|
|
extraargs = "-m 0 -i 4096"
|
|
}
|
|
}
|
|
|
|
image #IX_ID##VERSION#-bpi-r4-#TARGET#.img {
|
|
hdimage {
|
|
partition-table-type = "gpt"
|
|
gpt-no-backup = true
|
|
}
|
|
# BL2 bootloader partition (MediaTek official location)
|
|
partition bl2 {
|
|
image = "bl2.img"
|
|
offset = 1024s # 0x80000 = sector 1024
|
|
size = 4M # 0x400000
|
|
bootable = true
|
|
}
|
|
|
|
# Factory/calibration data (sectors 9216-13311)
|
|
partition factory {
|
|
offset = 4608K # 0x480000
|
|
size = 2M # 0x200000
|
|
}
|
|
|
|
# FIP partition - BL31 + U-Boot (sectors 13312-17407)
|
|
partition fip {
|
|
image = "fip.bin"
|
|
offset = 13312s
|
|
size = 4096s
|
|
}
|
|
|
|
partition aux {
|
|
partition-uuid = D4EF35A0-0652-45A1-B3DE-D63339C82035
|
|
image = "aux.ext4"
|
|
}
|
|
|
|
partition primary {
|
|
partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
|
bootable = true
|
|
size = 250M
|
|
image = "rootfs.squashfs"
|
|
}
|
|
|
|
partition secondary {
|
|
partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4
|
|
bootable = true
|
|
size = 250M
|
|
image = "rootfs.squashfs"
|
|
}
|
|
|
|
partition cfg {
|
|
partition-uuid = 7aa497f0-73b5-47e5-b2ab-8752d8a48105
|
|
image = "cfg.ext4"
|
|
}
|
|
|
|
partition var {
|
|
partition-uuid = 8046A06A-E45A-4A14-A6AD-6684704A393F
|
|
image = "var.ext4"
|
|
}
|
|
}
|