i ported u-boot bootloader for 5307 successfully. It is working fine, except for an interrupt issue, when i enable a timer interrupt for the clock.
Here the issue: after the interrupt (exception) happen, the "rte" generate a "bad address/fetch" ecxeption (VEC 3, FMT 4, FAULT 4), generated just after the "rte". Everything before the "rte" in the interrupt handler is executed correctly. If i left in the interrupt handler routine the "rte" only, issue is the same.
Any help is very appreciated,