Omega2 reboot
-
@administrators
@WereCatf
@Kit-Bishop
@SukkoPera
@Duane-Morin
@Luciano-S
@Mikael-Djurfeldt
@Nathan-Neulinger
@Pedro-Peña
@Sei-Kan-KiuI have patched the kernel to reset the device.
With this patch one can issue the command 'reboot' and the device will reboot.
Users that would like to test the firmware built from werecatfs github can e-mail me.
-
Thanks.
Can not see the patch anywhere?
-
Anyone can see the patch here :
-
@Larry-Pinney
@WereCatf
@Kit-Bishop
@SukkoPera
@Duane-Morin
@Luciano-S
@Mikael-Djurfeldt
@Nathan-Neulinger
@Pedro-Peña
@Sei-Kan-KiuReboot is fixed as of b142, changelog coming soon
Onion
-
@Lazar-Demin Thanks.
Yesterday i tried version b141 but not working yet.
I'will try when come back to home.
-
@Lazar-Demin Thanks!
Verified working with b145.
-
Reboot works with b145, but now poweroff also reboots the unit instead of powering off for me Using a 2+
-
@cusackph
shutdown doesn't work either. How do we turn these things off?!
-
Hello,
I have the same problem. When I want to turn off my Omega2+ (firmware v0.1.8-b145), I use
halt
(orpoweroff
) command. But these commands do not work and reboot the Omega2+.
-
@Mikaël-PIRIO said in Omega2 reboot:
Hello,
I have the same problem. When I want to turn off my Omega2+ (firmware v0.1.8-b145), I use
halt
(orpoweroff
) command. But these commands do not work and reboot the Omega2+.I can confirm this :(.
-
@Brian-Robbins @SukkoPera @cusackph @Mikaël-PIRIO
The nature of the kernel patch to enable rebooting seems to have this side-effect... How essential are thehalt
orpoweroff
commands for your workflows?Btw, I will be submitting a Pull Request to LEDE for the reboot kernel patch soon, will update you when it's in.
-
@Lazar-Demin
Not essential, as long as I can be assured that simply unplugging or switching the Omega2+ off has no risk of file corruption
-
@Brian-Robbins ya it should be safe to just switch it off. I usually just yank mine out of my laptop when I want to power it down.
If you're feeling extra paranoid, run the
sync
command and allow it to finish before unplugging it.
-
@Lazar-Demin said in Omega2 reboot:
I usually just yank mine out of my laptop when I want to power it down.
Lol!!! But that's not very good for a USB key or SD card still mounted. Linux is not that robust.
-
@Lazar-Demin so you're going to submit a broken patch? Please don't. You can't just fix one thing and break another. The previous behaviour was more acceptable than the current one, as you turn off the Omega more often than you reboot it, at least at the current stage. So please revert the patch and look into the proper fix before you submit anything upstream.
-
@Lazar-Demin Please, consider fixing the
poweroff
andhalt
issues before summiting the Pull Request.
-
I just picked up my Omega2 / revision R1 / Firmware 0.1.9 (b149) today and also noticed the reboot-instead-of-shutdown behaviour. Is there a solution for this issue yet?
-
Hello,
With firmware v0.1.9-b149,
halt
(orpoweroff
) always reboot my Omega2+ .
-
The issues with the reboot flash state and problems with some of the proposed fixes are pretty clear.
What is more a mystery is how a powerdown used to work. Was this an actual shutdown of the chip, or at least a drastic drop in power consumption by slowing a clock?
Or was it just a one-way trip to what looked like an "off" state with no file systems mounted, from which externally cutting power would be fully appropriate?
(Was a hypothetical trip to such a deadend state even a designed behavior, or just an emergent one of the chip trying and eternally failing to boot from a flash stuck in the wrong addressing mode?)
And was it done by the kernel, by rebooting to U-Boot with flags to trigger special behavior there, or did the other (radio-related) CPU in the chip have a role in it?
-
the question i have when using shutdown is, there is roughly a 3 second period on my omega2+ after the power light goes off and before it comes back on. so if i do a shutdown, wait for the power light to go off, then remove the power plug, does this qualify as a "shutdown" in a legit sense? is it possible that damage to the filesystem will take place.?