diff options
author | John Stultz <john.stultz@linaro.org> | 2021-01-12 06:21:30 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2021-01-26 03:01:06 +0000 |
commit | 6d0db311726049ef67f5f21354b87a081ca6b74a (patch) | |
tree | e3a405bcb559f847e94761bf7aa36f51d33b573a /installer/hikey960 | |
parent | 537992a84e39d132ff487ee1ad165a8b16393ec2 (diff) | |
download | hikey-6d0db311726049ef67f5f21354b87a081ca6b74a.tar.gz |
hikey960: Enabling dynamic partitions for HiKey960
This is basically a port of work Amit had done against HiKey
board awhile back:
https://android-review.linaro.org/c/device/linaro/hikey/+/20550
Moving system vendor product and system_ext to the super
partition.
For now, instead of reworking the ptable, we simply flash the
super partition to the system partition. This will need to change
so that we change the ptable as well, but that needs some time
as the ptable flashing can be disruptive for testing.
Feedback would be appreciated.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ie53fed6392116b16063f497978e369490a1fccd2
Diffstat (limited to 'installer/hikey960')
-rwxr-xr-x | installer/hikey960/flash-all.sh | 3 | ||||
-rwxr-xr-x | installer/hikey960/uefi-flash-all.sh | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/installer/hikey960/flash-all.sh b/installer/hikey960/flash-all.sh index 2888020b..dda34d31 100755 --- a/installer/hikey960/flash-all.sh +++ b/installer/hikey960/flash-all.sh @@ -24,7 +24,6 @@ fastboot flash fw_lpm3 "${INSTALLER_DIR}"/hisi-lpm3.img fastboot flash trustfirmware "${INSTALLER_DIR}"/hisi-bl31.bin fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img fastboot flash dts "${ANDROID_PRODUCT_OUT}"/dt.img -fastboot flash system "${ANDROID_PRODUCT_OUT}"/system.img -fastboot flash vendor "${ANDROID_PRODUCT_OUT}"/vendor.img +fastboot flash system "${ANDROID_PRODUCT_OUT}"/super.img fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img fastboot reboot diff --git a/installer/hikey960/uefi-flash-all.sh b/installer/hikey960/uefi-flash-all.sh index fe42486c..ce402032 100755 --- a/installer/hikey960/uefi-flash-all.sh +++ b/installer/hikey960/uefi-flash-all.sh @@ -44,9 +44,7 @@ function flashing_atf_uefi () { fastboot flash fip "${INSTALLER_DIR}"/fip.bin fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img - fastboot flash system "${ANDROID_PRODUCT_OUT}"/system.img - fastboot flash vendor "${ANDROID_PRODUCT_OUT}"/vendor.img - fastboot flash cache "${ANDROID_PRODUCT_OUT}"/cache.img + fastboot flash system "${ANDROID_PRODUCT_OUT}"/super.img fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img } |