
On Wednesday 19 October 2011 20:23:15 Moffett, Kyle D wrote:
On Oct 19, 2011, at 20:15, Mike Frysinger wrote:
On Wednesday 19 October 2011 18:52:10 Moffett, Kyle D wrote:
So U-Boot MUST NOT reset without negotiating, even if the current CPU has crashed, as that will cause the other (possibly perfectly operational) CPU to also crash.
so why can't you have your do_reset() board hook negotiate with the other CPU to reset the system ?
That's what I originally implemented. The problem is the negotiation can take an unbounded amount of time to execute, so if it's run from the command line then it needs to be interruptible (EG: with Ctrl-C), which means it needs to be able to return an error.
what's wrong with an unbounded amount of time ? if the user wants it to reset, then it should do so regardless of how long. -mike