Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4974

Advanced users • Re: RPI Secure boot not working as expected

$
0
0
Seems like you missed to sign the boot.img

What you need to do is using private key (what was used to enable the signed boot) sign the boot.img using next command

Code:

 rpi-eeprom-digest -k private.pem -i /boot/firmware/boot.img -o /boot/firmware/boot.sig 
-i input file
-k path to the private key
-o output signature file
You can use rpi-eeprom-digest from the ./tools dir from https://github.com/raspberrypi/usbboot

PI firmware will compare the boot.img with it's sign and if it matches - will continue to load boot.img as a bootfs (with kernel and initramfs)

Statistics: Posted by serhiimi — Mon Jul 01, 2024 11:49 am



Viewing all articles
Browse latest Browse all 4974

Trending Articles