summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2021-06-01 01:48:25 +0000
committerPetr Štetiar <ynezz@true.cz>2023-06-02 11:36:18 +0200
commit71e56b2ff1e8aeb3205784c0b5f8ca6ba0fbbf63 (patch)
treea149c5ed57576d244aba55f9b091f229c2b9dc97 /config
parent3d99314569a059a1d5e015086e534b3e04ff2097 (diff)
downloadopenwrt-71e56b2ff1e8aeb3205784c0b5f8ca6ba0fbbf63.tar.gz
openwrt-71e56b2ff1e8aeb3205784c0b5f8ca6ba0fbbf63.tar.bz2
openwrt-71e56b2ff1e8aeb3205784c0b5f8ca6ba0fbbf63.zip
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>
Diffstat (limited to 'config')
-rw-r--r--config/Config-images.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/Config-images.in b/config/Config-images.in
index cbf1e9f26d..396f1dd3e3 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -292,6 +292,7 @@ menu "Target Images"
depends on USES_BOOT_PART
default 8 if TARGET_apm821xx_sata
default 64 if TARGET_bcm27xx
+ default 128 if TARGET_armvirt
default 16
config TARGET_ROOTFS_PARTSIZE