Reboot command

Hi. Received my Unmatched today and it seems to be working fine, but I’m a bit disappointed that the “reboot” command does not work.
reboot used to work on the Unleashed, but then it broke in the whole OpenSBI kerfuffle. I would have expected this to have been fixed when a new shiny board was released…

Any roadmap for when a firmware supporting reboot will be released?

Thanks

1 Like

Ya, this requires physical access to the board. :expressionless:

I connected my Unmatched to a remote power outlet, but that doesn’t help either. If you do poweroff, then power off the outlet, then power back on, the board doesn’t power up. If you do reboot the board hangs on reboot. Doing a power cycle when it is in that state will power it back up, but it isn’t enough to reset the board as it still hangs. In other words, reboot, then power cycle will power on the board, but it won’t reset the board to a working state. So you have to go over and hit RESET. Workarounds appreciated. :slight_smile:

FWIW, I believe I used a “shutdown -r now” and that worked, at least once, on the Unmatched - maybe worth a shot

shutdown -r now doesn’t work. It gets to the stage of declaring “Restarting system” then we get:

[30286.664011] rcu: INFO: rcu_sched self-detected stall on CPU
[30286.668815] rcu:     0-....: (5250 ticks this GP) idle=b92/1/0x4000000000000002 softirq=94187/94187 fqs=2626
[30286.678455]  (t=5254 jiffies g=185245 q=57)
[30286.682625] Task dump for CPU 0:
[30286.685838] task:systemd-shutdow state:R  running task     stack:    0 pid:    1 ppid:     0 flags:0x00000008
[30286.695740] Call Trace:
[30286.698172] [<ffffffe0000052a4>] walk_stackframe+0x0/0xaa
[30349.675908] rcu: INFO: rcu_sched self-detected stall on CPU
[30349.680707] rcu:     0-....: (20995 ticks this GP) idle=b92/1/0x4000000000000002 softirq=94187/94187 fqs=10401
[30349.690523]  (t=21007 jiffies g=185245 q=57)

Works for me with the Open Embedded supplied with the machine, but not with Ubuntu.

Reset is currently not implemented in the firmware and software stack.