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

Under-voltage detection (bad power supplies and USB cables) #16

Open
ssvb opened this issue Apr 26, 2016 · 4 comments
Open

Under-voltage detection (bad power supplies and USB cables) #16

ssvb opened this issue Apr 26, 2016 · 4 comments

Comments

@ssvb
Copy link

ssvb commented Apr 26, 2016

Some Pine64 users have bad power supplies or bad USB cables, so they experience reboots or some other stability issues.

As a quick and dirty temporary solution, it might be possible to read the voltage level from the PMIC (via the arisc mailbox interface), then do some simple CPU load testing in the U-Boot while gradually increasing the CPU clock frequency (utilizing more than one CPU core and NEON might be difficult though). If a significant voltage drop is detected, then boot at a low CPU clock frequency into some initrd image, which just shows something like "Your power supply sucks, please fix this!" message on the HDMI monitor and the UART serial console, then stops there.

Also see:

@longsleep
Copy link
Owner

Sounds like something which sound be done in mainline U-Boot. Also i am not sure if it is really worth the efford. After all the board works fine when powered properly.

@ssvb
Copy link
Author

ssvb commented Apr 26, 2016

Yes, people having decent power supplies and cables should have no problems. It's just that the Pine64 kickstarter campaign advertised that "The PINE A64 board provides the same power of desktop computing at a mere 2.5 to 3.5 watts". Which means something between 500mA and 700mA at 5V. So some people could have decided that a very weak power supply of even a USB port of their PC should be good enough. That's of course none of our concern, but you can expect that some Pine64 users will be blaming your Pine64 images for poor reliability :)

As for the mainline support, the PMIC support will have to be implemented eventually.

@ThomasKaiser
Copy link
Contributor

ThomasKaiser commented Apr 29, 2016

It's just that the Pine64 kickstarter campaign advertised that "The PINE A64 board provides the same power of desktop computing at a mere 2.5 to 3.5 watts"

So basically it's the wrong power connector combined with a marketing campaign raising wrong expectations? So it might be an option that the Pine64 folks ask for paid consultantcy or coding efforts to fix their mistakes?

@texadactyl
Copy link

Good advice. That's what I thought was happening to me. Then, I was suspicious of my wall socket. Eh, it turns out that my 64GB SanDisk MicroSD was intermittently failing. Now 100% dead. Oiy vey!

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

No branches or pull requests

4 participants