]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: khadas-vim3{l}: Increase boot/recovery partition size
authorMattijs Korpershoek <mkorpershoek@baylibre.com>
Fri, 11 Oct 2024 15:51:02 +0000 (17:51 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 14 Oct 2024 07:06:16 +0000 (09:06 +0200)
The Android Common Kernel is over 34MiB now [1]. This does not
include any kernel modules nor the Android ramdisk.

To make sure we are future proof, increase both recovery
and boot partitions to 64 MiB.

[1] https://source.android.com/docs/core/architecture/kernel/gki-android15-6_6-release-builds

Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Guillaume La Roque <glaroque@baylibre.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20241011-yukawa-aosp-parts-v1-1-7d74aa13ff8e@baylibre.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
include/configs/khadas-vim3_android.h
include/configs/khadas-vim3l_android.h

index da6adf6c413add03413f40987959a24ad0d41e62..b76e049f09cc014837981e914a3792c829f42cdc 100644 (file)
@@ -21,8 +21,8 @@
        "name=dtbo_b,size=8M,uuid=${uuid_gpt_dtbo_b};" \
        "name=vbmeta_a,size=512K,uuid=${uuid_gpt_vbmeta_a};" \
        "name=vbmeta_b,size=512K,uuid=${uuid_gpt_vbmeta_b};" \
-       "name=boot_a,size=32M,bootable,uuid=${uuid_gpt_boot_a};" \
-       "name=boot_b,size=32M,bootable,uuid=${uuid_gpt_boot_b};" \
+       "name=boot_a,size=64M,bootable,uuid=${uuid_gpt_boot_a};" \
+       "name=boot_b,size=64M,bootable,uuid=${uuid_gpt_boot_b};" \
        "name=super,size=3072M,uuid=${uuid_gpt_super};" \
        "name=userdata,size=11282M,uuid=${uuid_gpt_userdata};" \
        "name=rootfs,size=-,uuid=" ROOT_UUID
@@ -33,8 +33,8 @@
        "name=misc,size=512K,uuid=${uuid_gpt_misc};" \
        "name=dtbo,size=8M,uuid=${uuid_gpt_dtbo};" \
        "name=vbmeta,size=512K,uuid=${uuid_gpt_vbmeta};" \
-       "name=boot,size=32M,bootable,uuid=${uuid_gpt_boot};" \
-       "name=recovery,size=32M,uuid=${uuid_gpt_recovery};" \
+       "name=boot,size=64M,bootable,uuid=${uuid_gpt_boot};" \
+       "name=recovery,size=64M,uuid=${uuid_gpt_recovery};" \
        "name=cache,size=256M,uuid=${uuid_gpt_cache};" \
        "name=super,size=1792M,uuid=${uuid_gpt_super};" \
        "name=userdata,size=12786M,uuid=${uuid_gpt_userdata};" \
index b1768e2d821176452254fb07f2e3747402b9b4fd..0ab8ffd372a4ae44804fca41c11ee930aaa72460 100644 (file)
@@ -21,8 +21,8 @@
        "name=dtbo_b,size=8M,uuid=${uuid_gpt_dtbo_b};" \
        "name=vbmeta_a,size=512K,uuid=${uuid_gpt_vbmeta_a};" \
        "name=vbmeta_b,size=512K,uuid=${uuid_gpt_vbmeta_b};" \
-       "name=boot_a,size=32M,bootable,uuid=${uuid_gpt_boot_a};" \
-       "name=boot_b,size=32M,bootable,uuid=${uuid_gpt_boot_b};" \
+       "name=boot_a,size=64M,bootable,uuid=${uuid_gpt_boot_a};" \
+       "name=boot_b,size=64M,bootable,uuid=${uuid_gpt_boot_b};" \
        "name=super,size=3072M,uuid=${uuid_gpt_super};" \
        "name=userdata,size=11282M,uuid=${uuid_gpt_userdata};" \
        "name=rootfs,size=-,uuid=" ROOT_UUID
@@ -33,8 +33,8 @@
        "name=misc,size=512K,uuid=${uuid_gpt_misc};" \
        "name=dtbo,size=8M,uuid=${uuid_gpt_dtbo};" \
        "name=vbmeta,size=512K,uuid=${uuid_gpt_vbmeta};" \
-       "name=boot,size=32M,bootable,uuid=${uuid_gpt_boot};" \
-       "name=recovery,size=32M,uuid=${uuid_gpt_recovery};" \
+       "name=boot,size=64M,bootable,uuid=${uuid_gpt_boot};" \
+       "name=recovery,size=64M,uuid=${uuid_gpt_recovery};" \
        "name=cache,size=256M,uuid=${uuid_gpt_cache};" \
        "name=super,size=1792M,uuid=${uuid_gpt_super};" \
        "name=userdata,size=12786M,uuid=${uuid_gpt_userdata};" \