Skip to content
Snippets Groups Projects
Commit 699f7ecd authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

x86: use sysfs DMI information to populate sysinfo


Use the DMI data available in sysfs to extract manufacturer and model info
and write it to /tmp/sysinfo/.

The data will be picked up by board_detect and can be used by e.g. LuCI to
display a more appropriate model description.

On an APU board the files will contain the following values:

    # cat /tmp/sysinfo/model
    PC Engines APU

    # cat /tmp/sysinfo/board_name
    pc-engines-apu

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent b8b23e0e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment