[Bug 1856424] Re: please add smbios module to the signed grub2 images
Nikhil
1856424 at bugs.launchpad.net
Mon Mar 28 08:53:24 UTC 2022
Hi,
I am following the above thread. I applied the above patch to add the
smbios module on grub 2.04. But even after patch is applied I am not
able to get the module on my grub.
This exercise I did on yocto dunfell.
Can anyone suggest, DO/How we can install this on grub? or what extra we
need to do to access this on my grub 2.04.
Thanks in advance.
Nikhil Sahu
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1856424
Title:
please add smbios module to the signed grub2 images
Status in grub2 package in Ubuntu:
Fix Released
Status in grub2 source package in Focal:
Fix Released
Bug description:
smbios is a new module available in grub2 upstream master, merged
shortly after 2.04 release.
It allows reading values from various SMBIOS tables to allow detecting
vendor, make, model among with other smbios defined handles. In terms
of userspace, it can be compared to dmidecode.
The premise to include this module in the EFI prebuild images is to
allow automatic selection of appropriate kernel and kernel option at
boot time of certified or specilized hardware.
For example:
- allowing to choose linux-hwe kernel on newer generation
(query handle 0x37, dmi type 4 Processor information)
- allowing to choose linux-oem kernel on OEM certified hardware
(query handle 0x1, DMI type 1, Manufactuere / serial number / sku number)
- allowing to choose correct DTB for arm64 Laptops
The grub module itself is fairly trivial, and basically dumps memory,
processes it into various data types, optionally storing them in a
variable thus allowing making scripting decisions based on them (i.e.
setting the 'default' menuetry)
This is a request to review this module for inclusion in the prebuilt
UEFI signed images of grub.
As a patch:
http://git.savannah.gnu.org/cgit/grub.git/commit/?id=688023cd0ac4c985fd0e2ec477fcf1ec33a0e49c
Main Files:
http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/commands/smbios.c?id=688023cd0ac4c985fd0e2ec477fcf1ec33a0e49c
http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/commands/i386/pc/smbios.c?id=688023cd0ac4c985fd0e2ec477fcf1ec33a0e49c
http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/commands/efi/smbios.c?id=688023cd0ac4c985fd0e2ec477fcf1ec33a0e49c
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1856424/+subscriptions
More information about the foundations-bugs
mailing list