PINE64

Full Version: enble boot after power loss/restore
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(06-18-2022, 09:54 PM)gechu Wrote: [ -> ]Are you thinking about this watchdog ESP32 Reset Circuit?

not specifically that but just an esp (or another sbc) with a relay.  I can control power cycle relay via mqtt message and some watching code elsewhere  (likely example  uptime kuma that I run which can do mqtt notifications via appraise. )

https://github.com/louislam/uptime-kuma
FYI, as an alternative to the "dedicated" watchdog board one can buy this pretty cheap esp32 dev board with built in relay and power supply. https://www.aliexpress.com/item/1005003651506570.html?

If you put tasmota on it you can program it with berry scripting to be a watchdog.
Well, finally got around to trying my idea of a 20K ohm resistor to ground.  
at 20K ohm got the time off down to about 15 secs for successful powerloss boot

but 10K ohm resistor was perfect.  I can pull the plug, immediately put it back in and it will reboot.

I'm going to so this with all my headless rockpro64 (i.e. NAS boxes).

I'm calling this solved.   Pine isn't likely to change this board at this point BUT hopefully this is not an issue with future boards like star64 which looks to be its replacement.
(06-19-2023, 12:33 PM)dkebler Wrote: [ -> ]Well, finally got around to trying my idea of a 20K ohm resistor to ground.  
at 20K ohm got the time off down to about 15 secs for successful powerloss boot

but 10K ohm resistor was perfect.  I can pull the plug, immediately put it back in and it will reboot.

I'm going to so this with all my headless rockpro64 (i.e. NAS boxes).

I'm calling this solved.   Pine isn't likely to change this board at this point BUT hopefully this is not an issue with future boards like star64 which looks to be its replacement.

Nice!

Can you write / link to a guide?

I've spent 15+ years as an IT professional, but tech at this level, I know very little about
[attachment=2797 Wrote:gechu pid='118142' dateline='1687199855']
(06-19-2023, 12:33 PM)dkebler Wrote: [ -> ]Well, finally got around to trying my idea of a 20K ohm resistor to ground.  
at 20K ohm got the time off down to about 15 secs for successful powerloss boot

but 10K ohm resistor was perfect.  I can pull the plug, immediately put it back in and it will reboot.

I'm going to so this with all my headless rockpro64 (i.e. NAS boxes).

I'm calling this solved.   Pine isn't likely to change this board at this point BUT hopefully this is not an issue with future boards like star64 which looks to be its replacement.

Nice!

Can you write / link to a guide?

I've spent 15+ years as an IT professional, but tech at this level, I know very little about

pretty simple.   take pair of jumper wires, put in a 10K ohm resister across one end (I cut the leads down), cover it with shrink.  Take the other pair at the other end.  put them on pins 4 and 6 (5v and ground) but any 5v and ground should work.  I put a bit of hotglue on them so it's easier to get them on together.   see pic

[attachment=2797]
Thanks! This is definitely outside of my comfort zone! Going to try anyways
It's great that you've already experienced the desired behavior with one of your RockPro64 boards. While troubleshooting the second board, checking for potential jumper settings or seeking guidance from the Armbian community can help resolve the issue.
This is final solution.  I have built and coded a hardware poweron watchdog

See details here.

https://gist.github.com/dkebler/aa02d96e...f345a095af
(06-02-2022, 01:29 PM)gechu Wrote: [ -> ]
(04-18-2022, 03:58 AM)ok38 Wrote: [ -> ]OK, I found. I just needed to add RTC battery.

Thanks.

I ordered a RTC BACKUP BATTERY HOLDER - CR-2032. But it still doesn't resume automatically after power failure.

Did you get the RTC BACKUP BATTERY HOLDER – 2 X AAA?

Sorry, it is way too late. I don't have the holder just a connector and the battery (CR2032). The only thing I did was to flash U-boot to be able to boot from S-ATA but I did not found with which one it was. And I do not know if there is a link between them.
Pages: 1 2