[PATCH 1/1] efi_loader: Show the FirmwareVendor and FirmwareRevision in helloworld

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Thu Oct 10 00:16:19 CEST 2024


On 10/9/24 23:14, Simon Glass wrote:
> On Wed, 9 Oct 2024 at 05:56, Heinrich Schuchardt
> <heinrich.schuchardt at canonical.com> wrote:
>> From: Simon Glass<sjg at chromium.org>
>>
>> Show the firmware vendor and revision to make it clear which firmware is
>> used, e.g. whether U-Boot is providing the boot services.
>>
>> The output will look like
>>
>>      Firmware vendor: Das U-Boot
>>      Firmware revision: 20241000
>>
>> Signed-off-by: Simon Glass<sjg at chromium.org>
>> Signed-off-by: Heinrich Schuchardt<heinrich.schuchardt at canonical.com>
>> ---
>>   lib/efi_loader/helloworld.c | 37 +++++++++++++++++++++++++++++++++++++
>>   1 file changed, 37 insertions(+)
>>
> Reviewed-by: Simon Glass<sjg at chromium.org>

I just looked at the output for my Asus mainboard. The AMI Bios uses a 
value of FirmwareRevision which was introduced into EDK II in 2009 and 
does not relate to my current firmware. The SMBIOS table type 0 seems to 
provide more accurate information.

But anyway it is good to have a tool to look at the system table 
information.

Best regards

Heinrich



More information about the U-Boot mailing list