NetworkGradeLinux / meta-mion

mion Yocto Project distro layer.
https://docs.mion.io
MIT License
1 stars 0 forks source link

Add support for Secure Boot #36

Closed johntoomey closed 3 years ago

johntoomey commented 3 years ago

@toganlabs to find out what hardware we need to implement this for and confirm that it is UEFI secure boot that is being requested

johntoomey commented 3 years ago
johntoomey commented 3 years ago

Confirmed that the APS BF6064 (100G) supports UEFI Secure Boot in the BIOS

johntoomey commented 3 years ago

As of friday we have ONIE booting on a 2556 in secure boot mode - APS are going to get the BIOS update that enables this functionality available for general release. Next week ill start the process of building mion with secure boot support using meta-secure-core.

johntoomey commented 3 years ago

The linked pull request contains a partial implementation of the UEFI secure boot. A new INSTALL_TYPE build option can be set to "initramfs" which builds and installs the root filesystem (cpio.gz) and kernel (bzImage) as individual files rather than a than a "standard" install where the root filesystem (containing the kernel) is installed directly on the system. This initramfs option can be used independent of secure boot but is limited by the size of the system RAM and causes the system to loose all changes on reboot. A number or new SECUREBOOT* parameters can be set in the mion image configs or in the local.conf which cause the kernel to be signed using sbsign before it is installed on the system.

Limitations of this code and further development:

johntoomey commented 3 years ago

http://mirror.opencompute.org/onie/docs/ONIESecureBootv2.pdf