1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 05:18:14 +02:00
openwrt/config
Mathew McBride 71e56b2ff1
build: use 128MiB as the boot/kernel partition size on armvirt target
The nominal partition type for EFI boot partitions is FAT32,
which has a minimum size of 32MiB on a 512-byte-sector block device.

To ensure that the boot partition is created as FAT32 set a size
well above this minimum.

A useful discussion about EFI partition sizes can be found here:
https://superuser.com/questions/1310927/what-is-the-absolute-minimum-size-a-uefi-system-partition-can-be

I have found 128MiB works pretty consistently across both
tools (mkfs.fat) and firmwares (EDKII)

Signed-off-by: Mathew McBride <matt@traverse.com.au>
2023-06-02 11:36:18 +02:00
..
check-uname.sh build: add HOST_OS_LINUX and HOST_OS_MACOS config symbols 2021-11-01 16:37:52 +01:00
Config-build.in build: add a config knob to enable LTO for all packages 2023-03-21 18:28:24 +01:00
Config-devel.in treewide: strip useless default n Kconfig lines 2023-02-03 12:50:15 +01:00
Config-images.in build: use 128MiB as the boot/kernel partition size on armvirt target 2023-06-02 11:36:18 +02:00
Config-kernel.in kernel: Set CONFIG_FRAME_WARN depending on target 2023-06-02 11:19:32 +02:00