hikey: flash-all.sh: Add command to set unique serial number on flash
am: abe80221c3
Change-Id: I6f98bd739b3775a42333824f7e02ece77a5b011d
diff --git a/installer/flash-all.sh b/installer/flash-all.sh
index 2c3365c..7476db3 100755
--- a/installer/flash-all.sh
+++ b/installer/flash-all.sh
@@ -61,6 +61,8 @@
echo "android out dir:${OUT_IMGDIR}"
sudo python "${INSTALLER_DIR}"/hisi-idt.py --img1="${FIRMWARE_DIR}"/l-loader.bin -d "${DEVICE_PORT}"
+# set a unique serial number
+fastboot oem serialno
fastboot flash ptable "${INSTALLER_DIR}"/"${PTABLE}"
fastboot flash fastboot "${FIRMWARE_DIR}"/fip.bin
fastboot flash nvme "${INSTALLER_DIR}"/nvme.img