Re: Wrong number of CPUs detected on RPI3 and FreeBSD 13.1

From: <greg_at_unrelenting.technology>
Date: Sun, 05 Jun 2022 17:31:46 UTC
June 5, 2022 2:18 PM, "Otacilio" <otacilio.neto@bsd.com.br> wrote:

> After some debug I found that this routine is returning -1:
> 
> Someone can give-me a hint about the function of psci_callfn ?

PSCI is an interface for calling into power management firmware.
Just saying that *a* PSCI call failed is not informative, we really need the arguments of the call.

I'm not sure what firmware you have on the SD card but armstub8 from
https://github.com/gonzoua/rpi3-psci-monitor should support:
PSCI_VERSION, PSCI_CPU_ON, PSCI_SYSTEM_OFF, and PSCI_SYSTEM_RESET.
Which should be all the calls that FreeBSD ever does…