diff options
author | Alistair Strachan <astrachan@google.com> | 2018-07-31 17:31:34 -0700 |
---|---|---|
committer | Alistair Strachan <astrachan@google.com> | 2018-07-31 17:34:59 -0700 |
commit | 1786ee2ac091fea9ab9424a721772ec46afd3def (patch) | |
tree | cbc88b428e2ceb3c45e6166861520dc9c16fcff2 | |
parent | a2106d17f7423fbcee88063e478945269f59ad67 (diff) | |
download | hikey-1786ee2ac091fea9ab9424a721772ec46afd3def.tar.gz |
hikey960: Fix image sizes to match ptable
The partition table blob defines partition sizes which do not match the
size of the images created by the Android build system. This tickles a
bug in the libfec userspace code, which is fixed in system/extras
Ia6cdbc0f35a98fdfa1fb4677951ae5c829cabb0f, but we may as well stop
wasting flash space.
Test: local
Bug: 72722987
Change-Id: Ia971c0c3ae5b3e798b107a8c6d571cb67d8ec0b9
Signed-off-by: Alistair Strachan <astrachan@google.com>
-rw-r--r-- | hikey960/BoardConfig.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk index 1ba08dbf..09a1ed70 100644 --- a/hikey960/BoardConfig.mk +++ b/hikey960/BoardConfig.mk @@ -19,14 +19,14 @@ BOARD_KERNEL_CMDLINE += overlay_mgr.overlay_dt_entry=hardware_cfg_$(TARGET_SENSO endif BOARD_MKBOOTIMG_ARGS := --base 0x0 --tags_offset 0x07a00000 --kernel_offset 0x00080000 --ramdisk_offset 0x07c00000 -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2768240640 # 2640MB -BOARD_USERDATAIMAGE_PARTITION_SIZE := 25769803776 # 24GB -BOARD_CACHEIMAGE_PARTITION_SIZE := 8388608 # 8MB +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4915724288 # 4688MB +BOARD_USERDATAIMAGE_PARTITION_SIZE := 25845301248 # 24648MB +BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 # 256MB BOARD_FLASH_BLOCK_SIZE := 512 # Vendor partition definitions TARGET_COPY_OUT_VENDOR := vendor -BOARD_VENDORIMAGE_PARTITION_SIZE := 822083584 # 784MB +BOARD_VENDORIMAGE_PARTITION_SIZE := 822083584 # 784MB BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_VENDORIMAGE_JOURNAL_SIZE := 0 BOARD_VENDORIMAGE_EXTFS_INODE_COUNT := 2048 |