Changes between Version 4 and Version 5 of linux/devicetree


Ignore:
Timestamp:
07/10/2018 04:42:07 PM (6 years ago)
Author:
Cale Collins
Comment:

restored section "adding new devices" and "compiling" from wayback.

Legend:

Unmodified
Added
Removed
Modified
  • linux/devicetree

    v4 v5  
    7474Therefore, its the bootloader that decides which DTB to load and from where.
    7575
    76 See [wiki:/ventana/bootloader] for details on how the DTB filename is chosen and loaded.
     76See [wiki:/ventana/bootloader] for details on how the DTB filename is chosen and loaded.
     77
     78== Adding New Devices to the Device Tree
     79For customers interested in adding a new device to an existing controller, see the [wiki:/SPI SPI] wiki page for an example of the process.
     80
     81== Compiling the Device Tree
     82If you need to change the device-tree you can easily compile it on a Linux system using the dtc app from the device-tree-compiler package:
     83{{{#!bash
     84apt-get install device-tree-compiler
     85dtc -O dtb -o imx6dl-gw51xx.dtb imqx6dl-gw51xx.dts
     86}}}
     87You can also de-compile a dtb back to a dts:
     88{{{#!bash
     89$ dtc -I dtb -O dts imx6dl-gw51xx.dtb 
     90}}}