enble boot after power loss/restore
#11
(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
  Reply
#12
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.
  Reply
#13
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.
  Reply
#14
(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
  Reply
#15
[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

   
  Reply
#16
Thanks! This is definitely outside of my comfort zone! Going to try anyways
  Reply
#17
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.
  Reply
#18
This is final solution.  I have built and coded a hardware poweron watchdog

See details here.

https://gist.github.com/dkebler/aa02d96e...f345a095af
  Reply
#19
(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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mainline U-Boot with SPI, NVMe and SATA boot support sigmaris 108 114,314 09-25-2023, 12:46 AM
Last Post: ChriChri
Bug Broken boot: What am I missing? mkosarek 1 564 09-08-2023, 08:14 AM
Last Post: wdt
  Unable to boot Armbian on new RockPro64 mooseball 5 3,989 07-14-2023, 08:59 AM
Last Post: rockjonn
  no boot white led flashing moserwi 7 3,976 05-18-2023, 10:46 AM
Last Post: wdt
  PCIE interface power on too late Slark Xiao 0 928 11-29-2022, 11:56 PM
Last Post: Slark Xiao
  Automatic power on after power outage gechu 1 2,600 11-17-2022, 06:13 PM
Last Post: acj_
  u-boot locked on pine64pro ljones 1 1,434 09-06-2022, 10:32 AM
Last Post: ljones
  Cannot get my board to boot deutschlmao 11 7,636 09-05-2022, 04:23 PM
Last Post: ljones
  After Power Loss feature working bdherouville 2 2,067 08-22-2022, 03:52 AM
Last Post: bdherouville
  U-BOOT Tutorial hazz 0 1,083 07-19-2022, 10:48 PM
Last Post: hazz

Forum Jump:


Users browsing this thread: 2 Guest(s)