linguini1 commented on PR #18861: URL: https://github.com/apache/nuttx/pull/18861#issuecomment-4422296616
Pretty much what happens @cederom . However, CPU0 does all the initial boot and the remaining 3 cores then run in parallel after the early init function is called. This is why we see the garbled console output right at the beginning of the console launch. From reading the code, my understanding is that the remaining 3 CPUs will hit a point in the init process where (based on their core number) run the idle thread instead of the actual OS. Only CPU0 continues into the application. But, this is why I'm wondering if it's better to make the other cores jump to the idle thread starting point instead, or where exactly they should jump to when booting (as opposed to `_start`, which works but isn't optimal afaik). -- 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]
