Trying to load a l0dable while ELF loading is disabled locks up the lifecycle task
Reproduction
- Make sure
execute_elf = false
is incard10.cfg
. - Load an ELF file into
apps/
- In the menu, select the ELF file.
- Screen should now stay black
- Press the reset button to attempt a return to menu.
- card10 does not return to menu
Symptoms
On the serial console, the following message log is shown:
The workqueue warnings are probably caused by Epicardium busy-spinning in the lifecycle task.
Theory
I assume the half-finished load of the ELF (resetting core 1 without actually loading anything) leads to the following load (when going back to the menu) not being able to perform a seconds core 1 reset.