linguini1 commented on PR #18408: URL: https://github.com/apache/nuttx/pull/18408#issuecomment-4337635956
This PR has been rebased onto the latest master, and the new boards mentioned by @michallenc have had the same changes applied to them to remove `board_app_initialize`. I am currently just waiting on the CI test to pass locally before running it on upstream (thanks @lupyuen , it works really well!). You can see it here: https://github.com/linguini1/manual-nuttx-ci/actions/runs/25066217553 I unfortunately have no way to test/resolve the issues found with the ESP32-devkitc boards. This is otherwise ready to merge. I would really hate to delay it because it becomes a lot of work to rebase every once in a while, but I would need some help fixing the ESP32 issues. It seems we've so far narrowed it down to SMP configs having issues when initialized through `board_late_initialize` instead of `NSH_ARCHINIT`, and this was also a problem on master that had gone undiscovered until now. @fdcavalcanti the only difference I can see for `esp32-devkitc`'s late initialization process compared to the `board_app_initialize` on master is the following SMP-related line added to the late init function: https://github.com/apache/nuttx/blob/369755d00b79196cb327e006f38f2d2b58f8204a/boards/xtensa/esp32/esp32-devkitc/src/esp32_boot.c#L86-L96 If you have time, do you think you could test by: - Checking out to this patch (`byebye-archinit`) - Modifying `boards/xtensa/esp32/esp32-devkitc/src/esp32_boot.c` to remove everything in th `#ifdef CONFIG_SMP` guard as shown above - Trying the same failing SMP configurations you initially tried for `esp32-devkitc` and report if it still fails? If not, I think we can remove this logic and that might be the fix. -- 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]
