From 91a641324c36e658d7785117ee45bed04adce9f7 Mon Sep 17 00:00:00 2001 From: Isaac Chen Date: Tue, 22 Dec 2020 10:39:24 +0800 Subject: [PATCH] Increase the size of super.img for Goldfish Current super image for GF is almost full in sdk_gphone_x86_arm product, and not big enough to include CSI for mixed configuration, which is a bit bigger than the system image of sdk_gphone_x86_arm. Bug: 174442566 Test: $ lunch aosp_x86_arm-userdebug; m $ ls -l $OUT/super.img # make sure it's 4 GB Change-Id: Ia2473231c8490995a10700cbd6e0f82598a5e078 --- target/board/BoardConfigEmuCommon.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/board/BoardConfigEmuCommon.mk b/target/board/BoardConfigEmuCommon.mk index 6b2291f0b8..a375826877 100644 --- a/target/board/BoardConfigEmuCommon.mk +++ b/target/board/BoardConfigEmuCommon.mk @@ -33,8 +33,8 @@ ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true) # emulator needs super.img BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true - # 3G + header - BOARD_SUPER_PARTITION_SIZE := 3229614080 + # 4G + BOARD_SUPER_PARTITION_SIZE := 4294967296 BOARD_SUPER_PARTITION_GROUPS := emulator_dynamic_partitions ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true)