Hello! Thank you very much! I have downloaded these binary files, and flashed them. cuz I don’t have the dictionary tree, so I just run the last handful lines of command one by one in “flash-all.sh”.
fastboot flash ptable “${INSTALLER_DIR}”/prm_ptable.img
fastboot flash xloader “${INSTALLER_DIR}”/hisi-sec_xloader.img
fastboot flash fastboot “${INSTALLER_DIR}”/l-loader.bin
fastboot flash fip “${INSTALLER_DIR}”/fip.bin
#fastboot flash nvme “${INSTALLER_DIR}”/hisi-nvme.img
fastboot flash boot “${ANDROID_PRODUCT_OUT}”/boot.img
fastboot flash cache “${ANDROID_PRODUCT_OUT}”/cache.img
fastboot flash system “${ANDROID_PRODUCT_OUT}”/system.img
fastboot flash userdata “${ANDROID_PRODUCT_OUT}”/userdata.img
fastboot flash vendor “${ANDROID_PRODUCT_OUT}”/vendor.img
and the downloaded files are not boot.img, cache.img, ramdisk.img, but boot.img.xz, cache.img.xz ramdisk.img.xz and so on. so I use the .xz files to flash.
after these steps, I power up the board but these error occured:
remove-symbol-file /home/victor.chong/work/swg/aosp/tst/optee/edk2/Build/HiKey90
Image Return Status = Success
[Bds]Booting Boot from SD
[Bds]Booting Grub
[Bds]Booting Android Boot
add-symbol-file /home/victor.chong/work/swg/aosp/tst/optee/edk2/Build/HiKey960/0
Loading driver at 0x000B9B1E000 EntryPoint=0x000B9B1F000 AndroidBootApp.efi
Failed to get Abootimg Size: Invalid Parameter
Failed to load boot image from boot partition: Invalid Parameter
Failed to boot from partition: Invalid Parameter
Error: Image at 000B9B1E000 start failed: Invalid Parameter
remove-symbol-file /home/victor.chong/work/swg/aosp/tst/optee/edk2/Build/HiKey90
Image Return Status = Invalid Parameter
[Bds]Booting Android Fastboot
add-symbol-file /home/victor.chong/work/swg/aosp/tst/optee/edk2/Build/HiKey960/0
Loading driver at 0x000B9B1B000 EntryPoint=0x000B9B1C000 AndroidFastbootApp.efi
Android Fastboot mode - version 0.7.
Press RETURN or SPACE key to quit.
What mistake I have made, and what to do to sovel these problems? does these flashed files include optee_os? Is boot.img optee_os? or what version of optee should I use. I am so confused!
I want to follow these instruction to build my optee_AOSP
https://github.com/linaro-swg/optee_android_manifest/tree/optee_kmgk_3.4.0
but I have always met the time-out and fetch errors when sync it :
0curl: (7) Failed to connect to android.googlesource.com port 443:
0curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
But I can successfully sync the AOSP repo according to
Are there any other way to solve the sync error?
Thank you for your kindly reply!