Jump to content

[Armbian build PR] - Orange Pi Zero: Enable crust and fix suspend/resume


Recommended Posts

Posted

Description

Enabled crust for Orange Pi Zero. Also added workaround to make sure board does resume successfully after sleep. The xradio_wlan driver seems to interfere with the same causing board to get stuck on resume after its put to sleep. Hence now we unload the module when entering sleep and reload it on resume. This works with systemctl suspend, but is still broken with rtcwake.

Jira reference number AR-1918

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] Tested suspend/resume works using echo +20 > /sys/class/rtc/rtc0/wakealarm && systemctl suspend

Checklist:

  • [X] 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

<
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines