Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allwinner D1 #217

Open
sarahspock opened this issue Aug 13, 2023 · 3 comments
Open

Allwinner D1 #217

sarahspock opened this issue Aug 13, 2023 · 3 comments

Comments

@sarahspock
Copy link

Feature Request

Allwinner D1 Support

I would like advanced power management on Risc-v Allwinner D1 so that I can use Linux phone with it . This s what ships with the clockwork pi upmc

@smaeul
Copy link
Member

smaeul commented Sep 1, 2023

Allwinner D1 already has CPU suspend support implemented in OpenSBI. Some additional firmware might still be required for DRAM suspend, since that code must run out of SRAM, but it may be possible to integrate that with OpenSBI as well. So crust may not be needed on D1.

If crust does need to be ported, then it would implement RPMI (RISC-V's SCMI copycat) instead of SCPI. And it would need to run on the HiFi4 DSP, so it would need to be ported to the Xtensa architecture first.

@sarahspock
Copy link
Author

sarahspock commented Sep 2, 2023

Hi thank you for responding. Do you know if the OpenSBI comes with most distros or alternatively is a firmware that ships with the kernel (sorry not super knowledgable here)? I noticed that the device has pretty decent battery life already . I dont think DRAM suspend works though.

@smaeul
Copy link
Member

smaeul commented Sep 2, 2023

Yes, OpenSBI is part of the system firmware, and gets shipped with U-Boot, so it is used by every distro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants