Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 1: Get some Zynq based board. One On my desk was a ZYNQ XC7Z7045-FFG900 based board. That should do?

...

And failed again, there are no LEDs available. They are missing in device-tree. Let's add the on-board LED to the device-tree. This can be done with utility called DTC. To my big surprise this tool is not at all available for Windows PC. Help... A few hours later I have DTC executable that works on Windows. My coworker who made it possible sends win32 patches to the maintainers of DTC tool, and I add theDTC.EXE to our download area.

Note

It is also of course possible to run DTC from Zynq Linux prompt as well, it seems to be available on all Zynq Linux versions. DTC.EXE is just a handy tool for windows host PC.

  for free downloads.

To de-compile binary device tree file to textual version we an can create a single line batch file DECOMPILE.BAT with this line inside:

...

Note

It is better to keep the decompile.bat in different directory after first decompile, as some changes to the textual device tree file will get lost if we accidentially accidentally decompile the blob in the same directory where the modified DTS file is.

...