[Bug 271780] RPi4 PSCI reset doesn't work.

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Jun 2024 15:06:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271780

Mitchell Horne <mhorne@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
             Status|Open                        |Closed
                 CC|                            |mhorne@freebsd.org

--- Comment #3 from Mitchell Horne <mhorne@freebsd.org> ---
Hi. Thanks for the submission.

There is an existing hook to reset the RPI4 using the watchdog. This is
registered to the shutdown_final handler in bcm2835_wdog.c:

        EVENTHANDLER_REGISTER(shutdown_final, bcmwd_reboot_system, sc,
            SHUTDOWN_PRI_LAST-1);

Notably, the function bcmwd_reboot_system() does not handle the RB_HALT flag,
set when the user requested a 'halt' shutdown.

In your case, the solution is to use 'shutdown -r', not 'shutdown -h'. It is an
unfortunate quirk of the RPI4 platform, but this is not easily resolved.

-- 
You are receiving this mail because:
You are the assignee for the bug.