A few months ago experimented with getting OPTEE running on my HiKey board so my board now has an UEFI bootloader. This has worked fine.
Now that this is done, I’m trying put regular Android back on it, without really any need for OPTEE. In fact, I would like to be able to follow those instructions:
To get Android to work. Unfortunately, I have gathered by searching this forum that UEFI is interfering with this because if I follow those instructions, I get the following error in my serial console:
Press ESCAPE for boot options .ERROR: Device Tree header not valid (err:-9)
Is there a way I can restore the factory bootloader on my HiKey board? I’ve found that this is possible for HiKey 960/970 but I didn’t find an equivalent for HiKey 620.
If this is not possible or no longer supported, I would like the some instructions or guidance on how to get an UEFI bootloader on the board and then how Android should be properly flashed on it?
Thank you in advance.