Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add smbios for all #158

Merged
merged 2 commits into from
Jun 5, 2022
Merged

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.

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.

None yet

2 participants