Skip to content

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

@ssvb

Description

@ssvb

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions