RSS Bot Posted September 29, 2023 Share Posted September 29, 2023 Description Allwinner H6 boards like Orange Pi 3 LTS has this problem where u-boot spl sometimes detects the ram incorrectly as 4 GB instead of 2GB and because of that board doesn't boot any further until its forcefully power cylcled. I have noticed that adding a bit of delay in the ram detection function after calling mctl_core_init seems to fix the same. How Has This Been Tested? Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration. [X] Built and booted image on Orange Pi 3 LTS (sun50i H6). Changed default systemd target to reboot.target and left board rebooting overnight while serial console output was getting logged in a file. After I woke up, I noticed that board was still rebooting successfully without hanging and have performed 1350+ reboots. Checklist: [ ] My code follows the style guidelines of this project [X] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [ ] I have made corresponding changes to the documentation [X] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article Link to comment Share on other sites More sharing options...
Recommended Posts