Pinmux without excel

Hi, I’d like to modify my tx2nx pinmux without using excel to generate the cfg, I don’t have a computer with windows installed

Linux works for this if you use libreoffice (free, and often installed by default). Just make sure you enable macros.

That aside, you can reverse compile an existing device tree if you know the correct one, edit the device tree source, and then recompile it back to binary format. The application “dtc” (installed via “sudo apt-get install device-tree-compiler”) does this. Example if your binary is “tree.dtb”:

dtc -I dtb -O dts -o source.dts tree.dtb
# Edit source.dts in an editor, then back to binary format:
dtc -I dts -O dtb -o new_tree.dtb source.dts

Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.