Linux sleep/suspend power mode not working #93
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
maxpeterkaya/LicheeRV-Nano-Build#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
Does anyone managed to make Linux sleep/suspend power mode works on a LicheeRV Nano?
There is Linux doc about it.
But by default, there is no
/sys/power/statefile (also/sys/powerdir is missed).Research leads me to the Milk-V forum thread. It seems sleep/suspend works on a Milk-V Duo 256m board with the same SG2002 as in LicheeRV Nano.
Here are Linux configs I managed to found:
After rebuild,
/sys/power/statefile appears, but it's empty. Also there are no anymore files in/sys/powerdir.Need help.
PS: I tried to force Linux CPU suspending with SG2002 registers, but after setting RTC_EN_SUSPEND_REQ to 1 (
devmem 0x050260E4 32 0x1) the board instantly dies. So it's impossible to try to make next steps to implement suspending (write to req_suspend register and so on). But it's another story not connected to a Linux, I think.