diff --git a/target/board/generic_arm_a/BoardConfig.mk b/target/board/generic_arm_a/BoardConfig.mk index 57a5196a9..e3a670784 100644 --- a/target/board/generic_arm_a/BoardConfig.mk +++ b/target/board/generic_arm_a/BoardConfig.mk @@ -16,6 +16,9 @@ include build/make/target/board/treble_common_32.mk +# Overwrite the setting in treble_common_32.mk for non-A/B arm GSI +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 950009856 + TARGET_ARCH := arm TARGET_ARCH_VARIANT := armv7-a-neon TARGET_CPU_ABI := armeabi-v7a diff --git a/target/board/treble_common_32.mk b/target/board/treble_common_32.mk index 2c3447b4c..dbe089948 100644 --- a/target/board/treble_common_32.mk +++ b/target/board/treble_common_32.mk @@ -16,5 +16,6 @@ include build/make/target/board/treble_common.mk -# Partition size is default 906MB for 32 bits projects -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 950009856 +# Partition size defaults to 1 GB (1024 MB) for 32-bit products. It can +# be overwritten in specific BoardConfig.mk, if so desired. +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824