commit | 4a5b6176a6150ffce8951b31ea60f3c8195fe970 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome@forissier.org> | Mon Jul 12 13:04:41 2021 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Jul 13 10:59:51 2021 +0200 |
tree | 10dc7bce9527e1e129b57fd397d669a8c201bc23 | |
parent | b235d13b8ae206eb555cd9466dfd6efc23872282 [diff] |
hikey: fix 'invalid partition' error during recovery After trying to use upstream EDK2 on my HiKey board without success, I reached a point where even 'make recovery' would not make the board bootable again. The recovery process failed like so: $ make recovery [...] Waiting for device... [35][34][33][32][31][30][29][28][27][26][25][24][23][22][21][20][19][18] Sending /home/jerome/work/optee_repo_hikey/build/../l-loader/recovery.bin ... Done fastboot flash loader /home/jerome/work/optee_repo_hikey/build/../l-loader/l-loader.bin < waiting for any device > Sending 'loader' (39 KB) FAILED (remote: 'invalid partition') fastboot: error: Command failed make: *** [Makefile:351: recovery] Error 1 The solution to this problem is mentioned in [1] and consists in running 'fastboot getvar partition-size:ptable' before the fastboot flash command. Link: [1] https://github.com/96boards/documentation/issues/751. Signed-off-by: Jerome Forissier <jerome@forissier.org> Acked-by: Victor Chong <victor.chong@linaro.org>
This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.
// OP-TEE core maintainers