ldube opened a new pull request, #18898:
URL: https://github.com/apache/nuttx/pull/18898
## Summary
Reboot command on my board was hanging (in boardctl) without resetting.
case BOARDIOC_RESET:
{
g_nx_initstate = OSINIT_RESET;
sched_trace_mark("RESET");
reboot_notifier_call_chain(SYS_RESTART, (FAR void *)arg);
up_flush_dcache_all(); <------ This was not returning
ret = board_reset((int)arg);
}
FIX:
Update the destination register to r15 (PC) for test and clean operations,
as specified by the ARM926EJ-S Technical Reference Manual (TRM). Using the
wrong destination register prevented the loop condition from updating
correctly, resulting in an infinite loop.
## Impact
## Testing
Reboot command now successfully reboots the target.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]