Hello Lawrence, I've got the Sinlinx A33 dev board and trying to follow your instructions.
Kernel compilation is failing: git clone https://github.com/linux-sunxi/linux-sunxi cd linux-sunxi git checkout cdb41f6bb3262b3c52e788fec9bb6f92a1cabb15 fatal: reference is not a tree: cdb41f6bb3262b3c52e788fec9bb6f92a1cabb15 is it the right branch? You mentioned it is sunxi-next branch but you are cloning linux-sunxi (3.4) branch. Also, A33 is Cortex-A7 no? Could you please help? Thanks, On Wednesday, 12 April 2017 16:42:51 UTC+1, Lawrence Yu wrote: > > I have been able to combine the A33 suspend to ram code from the Allwinner > 3.4 SDK into a recent mainline kernel and make suspend to ram work if > anyone would like to try it out. I tested it on a A33 GA10H-v1.1 tablet > and a Sinlinx SIN-A33 dev board. The goal was to see if suspend to ram > would work (which it does), so the code is not clean enough for submission > to the kernel. It uses the binary arisc firmware from Allwinner which > there is no source code for, and the DRAM parameters from the FEX file have > to be explicitly defined for the device in the dts file for the arisc to > use. > > The patch is too big to post to the mailing list (over 1.5MB) and the > build instructions are more complicated than building a normal mainline > kernel so I have written up instructions and posted them on the sunxi wiki > at https://linux-sunxi.org/A33_Suspend > > I don't foresee doing much more development on this, so my hope is that > this patch and instructions can help some effort in the future to get > suspend to ram into the mainline kernel. > > > > > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
