Forum Discussion
PHJ
Occasional Contributor
7 years agoHi -
I do not see our UEFI bootloader run following the reset. I see the same thing when the HPS WDOG reset occurs.
If I connect the debugger and halt the core, we are stuck in a v tight loop at:
S:0x000003EC : LDR r1,[r0,#0]
S:0x000003F0 : ANDS r2,r1,#1
S:0x000003F4 : BEQ {pc}-8 ; 0x3ec
This is reading the the i_fpga_mgr_fpgamgrregs/misci register at 0xffd03018 looking for bit 0 to be set.
It's always 0 following the HPS WDOG reset.
Does the fact that it is checking this suggest that the boot from the primary boot device(QSPI) has failed ?
Thanks !
Paul
PHJ
Occasional Contributor
7 years agoWe've identified the problem here. The QSPI flash requires a reset to allow the boot to work. See:
https://rocketboards.org/foswiki/Documentation/SocBoardQspiBoot