Skip to content

Add smbios for all#158

Merged
samueldr merged 2 commits intoTow-Boot:developmentfrom
samueldr:feature/smbios-for-all
Jun 5, 2022
Merged

Add smbios for all#158
samueldr merged 2 commits intoTow-Boot:developmentfrom
samueldr:feature/smbios-for-all

Conversation

@samueldr
Copy link
Contributor

@samueldr samueldr commented Jun 4, 2022

This is a follow-up to #135, and does not obsolete #135.


This change set provides an automatic fallback for smbios data that will come from the intrinsic knowledge Tow-Boot already has about the platform.

This is a fallback value, as it is defined in the "earliest" available *-u-boot.dtsi file, which means that when upstream U-Boot implements the appropriate data in their device trees, the values will be the ones from upstream as it should be.

This also means we should make it an habit, and part of the "port" process to contribute the smbios data for the devices to upstream.


Tested on:


Notes

On Raspberry Pi 3, the SMBIOS information is not great. This is because the way this is implemented indeed only works as a fallback. The generic data defined for all Raspberry Pi platforms is used instead. This was expected.

On Raspberry Pi 4, I think what is happening is that there is no built-in information in U-Boot to use the fallback information. So at the current time it's showing Unknown and Unknown Product.

Given the general difficulties with the Raspberry Pi platforms, this is okay. Anyway packaging for Raspberry Pi is planned to be revised, so putting a lot of effort into something that will most likely change is not ideal.

On all other tested platforms the fallback values were used as expected.

samueldr added 2 commits June 3, 2022 20:49
At this point, boards will *generally* report *Unknown Product* from
an *Unknown* vendor.

Further changes are needed to automatically feed the relevant data to
the sysinfo subsystem.
These nodes are pre-filled with the Tow-Boot board-specific info. This
is correct enough as a fallback. We should strive to upstream discrete
entries to all boards where sysinfo should be filled.

This will require "generic" builds to include different DT entries for
the different boards in the correct `*-u-boot.dtsi` files.
@samueldr samueldr added this to the 2021.10-005 milestone Jun 4, 2022
@samueldr samueldr added the 4. type: enhancement Accepted new feature label Jun 4, 2022
@samueldr samueldr merged commit 0c01d4d into Tow-Boot:development Jun 5, 2022
@samueldr samueldr deleted the feature/smbios-for-all branch June 5, 2022 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. type: enhancement Accepted new feature

Development

Successfully merging this pull request may close these issues.

2 participants