I did some more investigation myself.
DISCLAIMER: I know nothing about coreboot, so the following could be wrong. I only did buy a coreboot system to support the project.
What I think is the case:
- For coreboot it seems that for every change in the settings you have to build new firmware.
- The firmware in my system is possibly build with the setting ‘System Power State after Failure’ set to “Off”.
The results of my investigation:
Before the coreboot build you create a configuration with all the settings for the selected hardware and the other settings you want. From the .config file you can generate a defconfig file, which contains only the settings that are non-default. The commands are the following:
$ make distclean -> Reset configuration
$ make menuconfig -> Change configuration. Save as .config file
$ make savedefconfig -> Creates a defconfig from .config
Then I went to the Nitrokey corebuilder project . The NitroPC mainboard configuration seems to be the ‘Purism Librem Mini v2’. When I select this mainboard in menuconfig, I get the setting ‘System Power State after Failure’, with three options.
( ) S5 Soft Off
( ) S0 Full On
(X) Keep Previous State
If I select the last option, the following line is added to the defconfig: CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE=y
So it seems to me, that if I add this line to the file nitropc-defconfig
, and build a new firmware image, I might get the expected behavior. The only thing that does not fit my story, is that the default setting is “S0 Full On”.
Is there anyone with more knowledge who can confirm the above is correct?