diff options
author | John Stultz <john.stultz@linaro.org> | 2018-04-05 20:05:24 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2018-04-06 13:29:39 -0700 |
commit | ad036afc8930c0f5335f2db203d684ac71a9042a (patch) | |
tree | 45f5940e5a87768977f45dba003885834a139c62 | |
parent | 43aeee20d69b0962f109a1f8e3024b5312a62c2b (diff) | |
download | hikey-ad036afc8930c0f5335f2db203d684ac71a9042a.tar.gz |
hikey960: Fix up factory image script
The factory image script has never been updated to
match the changed path names for the hisi bootloader
objects.
NOTE: This does not update the flashall.sh script to
flash UEFI, as we haven't finished the transition yet.
Change-Id: Ic3d921f0df124f54b0f5aeda1a33f5c72615b7cd
Signed-off-by: John Stultz <john.stultz@linaro.org>
-rwxr-xr-x | factory-images/generate-factory-images-hikey960.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/factory-images/generate-factory-images-hikey960.sh b/factory-images/generate-factory-images-hikey960.sh index ce270275..30cd7b8b 100755 --- a/factory-images/generate-factory-images-hikey960.sh +++ b/factory-images/generate-factory-images-hikey960.sh @@ -32,13 +32,13 @@ rm -rf tmp mkdir -p tmp/$PRODUCT-$VERSION # copy over bootloader binaries -cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/bl31.bin tmp/$PRODUCT-$VERSION/ +cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-bl31.bin tmp/$PRODUCT-$VERSION/ cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-fastboot.img tmp/$PRODUCT-$VERSION/ -cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/lpm3.img tmp/$PRODUCT-$VERSION/ -cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/nvme.img tmp/$PRODUCT-$VERSION/ +cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-lpm3.img tmp/$PRODUCT-$VERSION/ +cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-nvme.img tmp/$PRODUCT-$VERSION/ cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-ptable.img tmp/$PRODUCT-$VERSION/ -cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/README tmp/$PRODUCT-$VERSION/ cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-sec_xloader.img tmp/$PRODUCT-$VERSION/ +cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/README tmp/$PRODUCT-$VERSION/ # copy over dts.img cp $ANDROID_BUILD_TOP/out/target/product/hikey960/dt.img tmp/$PRODUCT-$VERSION/ @@ -72,13 +72,13 @@ cat > tmp/$PRODUCT-$VERSION/flash-all.sh << EOF -fastboot flash xloader sec_xloader.img -fastboot flash ptable ptable.img -fastboot flash fastboot fastboot.img +fastboot flash xloader hisi-sec_xloader.img +fastboot flash ptable hisi-ptable.img +fastboot flash fastboot hisi-fastboot.img fastboot reboot-bootloader -fastboot flash nvme nvme.img -fastboot flash fw_lpm3 lpm3.img -fastboot flash trustfirmware bl31.bin +fastboot flash nvme hisi-nvme.img +fastboot flash fw_lpm3 hisi-lpm3.img +fastboot flash trustfirmware hisi-bl31.bin fastboot flash dts dt.img # XXX fastboot update doesn't format cache and userdata |