Re: [coreboot] Power off in Coreboot?
On Mon, Jan 29, 2018 at 1:59 PM, Julius Werner wrote: > In grepping the sources I see the API is provided and only used in a >> handful of cases, mainly x86. >> >> On an ARMv8 target is there a power-off use-case for Coreboot? >> This is strictly from Coreboot perspective, not Depthcharge. >> > > You're right, there is no globally standardized power off API in coreboot, > it's only implemented internally by select chipsets. There is no ARM target > that implements something like this at the moment, because they don't > really need to. > Indeed, hlt() is just an infinite loop as currently implemented on aarch64 and that's only used if CONFIG_FATAL_ASSERTS is set as a debug option. I think the prevailing wisdom is that coreboot always has to try to load the payload. An error path that shuts down the machine isn't very helpful to a user, though perhaps that is not always true if we can log an error (e.g. to RW_ELOG on boot ROM) and the user can retrieve it out-of-band (systems with a BMC, etc). -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Power off in Coreboot?
> > In grepping the sources I see the API is provided and only used in a > handful of cases, mainly x86. > > On an ARMv8 target is there a power-off use-case for Coreboot? > This is strictly from Coreboot perspective, not Depthcharge. > You're right, there is no globally standardized power off API in coreboot, it's only implemented internally by select chipsets. There is no ARM target that implements something like this at the moment, because they don't really need to. -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot
[coreboot] Power off in Coreboot?
Folks, We are working through the PMIC requirements for Coreboot on our hardware. I understand the need for Coreboot to command a reboot, e.g. VerStage detects FW_A is bad and wants to try FW_B. What is not clear is what is the use-case for Coreboot to command a power-off. In grepping the sources I see the API is provided and only used in a handful of cases, mainly x86. On an ARMv8 target is there a power-off use-case for Coreboot? This is strictly from Coreboot perspective, not Depthcharge. Cheers, T.mike -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot