crust icon indicating copy to clipboard operation
crust copied to clipboard

Allwinner D1

Open sarahspock opened this issue 2 years ago • 3 comments

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

sarahspock avatar Aug 13 '23 18:08 sarahspock

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.

smaeul avatar Sep 01 '23 14:09 smaeul

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.

sarahspock avatar Sep 02 '23 03:09 sarahspock

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

smaeul avatar Sep 02 '23 04:09 smaeul