Skip to content

Commit

Permalink
[hardware] Include basic info from device tree
Browse files Browse the repository at this point in the history
ARM devices often don't have SMBIOS information, so dmidecode does not
return anything useful. Add the device tree model information and
compatible string, which at least provides the basics.

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 authored and TurboTurtle committed Dec 14, 2023
1 parent bccac0f commit 44102a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sos/report/plugins/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def setup(self):
self.add_copy_spec("/proc/interrupts", tags='interrupts')

self.add_copy_spec([
"/proc/device-tree/compatible",
"/proc/device-tree/model",
"/proc/irq",
"/proc/dma",
"/proc/devices",
Expand Down

0 comments on commit 44102a6

Please sign in to comment.