Rock5 does not work on most PD power supplies

Indeed a real pain dealing with these PD negotiation issues…

The u-boot commit you’ve mentioned is not present in the stable-5.10-rock5 branch.

To test it I’ve cherry picked it to realize that it doesn’t change anything at least with my DELL 65w with PD modes (5V-3A; 9V-3.0A;15V-3.0A;20V-3.25A) as the board still ends up in an infinite loop with both recent Debian and Ubuntu images using an old class 4 16GB micro SD.

I’ve followed instructions here to compile U-boot https://wiki.radxa.com/Rock5/dev/Debian, so unless I’m doing something wrong this commit is not cutting it.

The latest android 12 image flashed on my NVME works fine with my Dell USB Power supply, which confirms the theory that with slow storage the PD negotiation is not timely executed.

Using a Samsung 15w max charger and booting from TF I’m able to go a little further but I suspect it’s drawing too much current during the boot process and it ends up rebooting anyway.

As for the SPI flash process I’ve discovered that the only way to make it work reliably is to use a USB 2 port, it works nicely for me including flashing android from the windows RKdevtool app.

Anyway PD negotiation would need to happen early on with U-boot rather than in the kernel otherwise anyone with less than stellar performance storage will experience this pain and honestly unless someone can confirm successfully booting debian with a class 10 mirco-sd card I don’t want to waste my time anymore.