Closed loftlifter31 closed 2 months ago
The running firmware needs to have the option already enabled for the prompt to show.
CONFIG_SECURITY=y
: will not promptCONFIG_SECURITY=y
: will promptThis is still not functioning as expected. As a test I reflashed the stock firmware that shipped with the machine. Flashed the usb.img for a build completed last week onto a usb drive and booted from that usb. The firmware updated to one which should include support for EC security. I then built a new firmware using the same source code but since it has a newer date the resulting usb image detected the firmware as an update and applied it. Both firmware.rom and ec.rom got updated. At no point was any prompt requiring me to input anything seen. The commit of ec I am using is 88c77aa1d322d2cca56038b396b31a96bc42fe59 I believe this should support CONFIG_SECURITY
You need to give the commit of firmware-open you are using, and the commit of any submodule if you have modified them.
firmware open is 4b32a3e9f5ebeabfa0549bdf2eabb0fd3899f893 Is the code to require the proof of presence on update located in the firmware.rom or ec.rom?
The feature requires the functionality be added/enabled in:
@crawfxrd How is the functionality enabled in these other submodules? Is this something that needs to change in the source code or something I can enable in a config file?
If you are using 4b32a3e9f5eb without any modifications to submodules, then the only thing needed is adding CONFIG_SECURITY=y
in models/galp5/ec.config
.
That's just what I did, hence the surprise that it didn't work.
It must be y
, not 1
. Can you confirm you have the setting correct.
Oh, I overlooked that details. I'll try it again with the y instead of 1.
Flashed ec built from master branch onto galp5 with CONFIG_SECURITY=1 set in models/galp5/ec.config file. Flashing new firmware does not require me to enter proof of physical presence code which I thought firmware security was supposed to require. Is there some additional configuration required?