Next: file, Previous: false, Up: Command-line commands [Contents][Index]
Retrieve device tree information.
The fdtdump command returns the value of a property in the device
tree provided by the firmware. The --prop option determines which
property to select.
The default action is to print the value of the requested field to the console, but a variable name can be specified with --set to store the value instead of printing it.
For example, this will store and then display the model string.
fdtdump --prop model --set machine_model echo $machine_model