When powering on the board you have to hold the power button down for 10 seconds. When looking at the board through the serial it actually turns on long before 10 seconds and starts loading. But if you release the power button before the 10 seconds, it just shuts off.
This is really undesirable behavior. Is there a way to program the power button so you can just push it or even hold it but for less than current 10 seconds?
Just a cable? Or does something need to be connected on the other side? I don’t think this is a workable solution. This is for a commercial product based on R2 so I think this will be even more confusing to the customers if they have to be plugging in cables.
That’s why I am looking for information on how to program the power button behavior.
That’s not what I mean. We actually want to avoid the customer ever un-plugging the power cord. We’d lose important cached data that needs to be flushed to disk.
What I am looking for is information on how to program the power button.
Press 3-5 seconds, system turns on and boots.
Press 3-5 seconds, system powers down. (this is not the problem, I saw code to get an event on button press)
Press 3-5 seconds, system turns on and boots.
So there are 2 problems with current button.
It takes 10 seconds to power on.
After you type in “poweroff” on the console and system shuts down, the system no longer powers back on again if you hold the button for 10 seconds.
ah ok, I can take a peek in the boatloader with regards to intial boot time. Thank you for the pointer.
For the second issue, I am not talking about wanting to reboot. I am saying that once you run poweroff and then let the system sit and then eventually push power button again, it doesn’t power-on or boot. It just stays off.
when it fails at boot via press pwr-key for 10 secs, is micro-usb cable is connected? if so, try to remove micro-usb cable and test again to see if the behavior is the same? if not, i think i need to take a look what happen in my setup