No description, website, or topics provided.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
snap
README.md

README.md

A snap package of the linux dtc command

Snap Status

This is the linux devicetree compiler "dtc" as a snap. Due to the limits of snap packages you need to first copy the devicetree files to your home dir to allow dtc access to them.

If you use this snap on Ubuntu Core, note that the home interface will not auto-connect, connect it manually with:

snap connect devicetree-compiler:home

You can convert binary device tree files to plaintext to edit them and convert them back to binary.

Convert binary devicetree to dts text format

devicetree-compiler -I dtb ~/sun8i-h3-nanopi-neo-air.dtb -O dts -o ~/sun8i-h3-nanopi-neo.dts

Convert text format to binary dtb

devicetree-compiler -I dts ~/sun8i-h3-nanopi-neo.dts -O dtb -o ~/sun8i-h3-nanopi-neo.dtb