Cannot start HiKey960 use the latest AOSP

Hi there,
I refer to Google’s instructions to synchronize the code, compile, and flash the software. But the HiKey960 can’t boot.

Here are my steps:
1.Download the Android source tree:
repo init -u platform/manifest - Git at Google -b master
repo sync -j8

2.Build:
source build/envsetup.sh
lunch hikey960-userdebug
make -j24

3.Installing initial images
cd device/linaro/hikey/installer/hikey960
./flash-all.sh


4.Flashing images
fastboot flash boot out/target/product/hikey960/boot.img

Did I miss any steps?

The following is the serial log:

Thanks.

I updated the fourth step, flash more imgs, but flash the system img reported an error:


FAILED (remote: ‘No such partition.’)

new serial log:

I refer to the documentation at device/linaro/hikey/installer/hikey960/README.
Perform the following steps do the board recovery:
Step 1: Material and Preperations
Step 2: Dependencies
Step 3: Enter recovery/forced-download mode on HiKey960
Step 4: Flash Base Firmware
Screenshot from 2021-05-19 20-52-48

Screenshot from 2021-05-19 20-53-13

Then I re-flashed the OS:
cd device/linaro/hikey/installer/hikey960
./flash-all.sh

Still can’t start hikey960.

Serial log:

Hi,
I re-executed the step
cd device/linaro/hikey/installer/hikey960
./flash-all.sh

And the HiKey960 can boot now.

Thanks.

1 Like