Changes between Version 5 and Version 6 of linux/devicetree


Ignore:
Timestamp:
01/31/2019 10:47:36 PM (5 years ago)
Author:
Cale Collins
Comment:

added example to device tree compiler.

Legend:

Unmodified
Added
Removed
Modified
  • linux/devicetree

    v5 v6  
    8787You can also de-compile a dtb back to a dts:
    8888{{{#!bash
    89 $ dtc -I dtb -O dts imx6dl-gw51xx.dtb 
     89dtc -I dtb -O dts imx6dl-gw51xx.dtb > imx6dl-gw51xx.dts
    9090}}}
     91You can also decompile the device tree of a running system:
     92{{{#!bash
     93dtc -I fs -O dts /sys/firmware/devicetree/base > MySBC.dts
     94}}}