Replies: 8 comments
-
You can do this by adding a bbappend to tegra-flashvars that deploys the customized pinmux .cfg files (you don't need the dtsi files except to generate those cfgs). You also need to provide a copy of the
|
Beta Was this translation helpful? Give feedback.
-
Thanks, that information is really helpful. I'm reading the existing
Where do I find this pre existing tegra19x-mb1-pinmux-p3668-a01.cfg file? It doesn't seem to be in tegra-linux_4.9 or meta-tegra repos? I usually like to read the existing code / settings before changing anything Contents of tegra-flashvars/xavier-nx/flashvars
|
Beta Was this translation helpful? Give feedback.
-
This comes from the |
Beta Was this translation helpful? Give feedback.
-
OK that is super helpful. I'll give it another go now. |
Beta Was this translation helpful? Give feedback.
-
At this stage it looks like you've helped me to get the cfg files into my file system. I'm not sure the cfg files are correct now Is there a special version of the pinmux 2 cfg python script suited for the xavier-nx, or I can use any of them located under the t19x / t194 folder? |
Beta Was this translation helpful? Give feedback.
-
It should be the one at I've only used the TX2 cfg generator myself, but I did end up manually adjusting the resulting cfg files, since the script doesn't always generate 100% correct results. You may have to do the same with the t19x output... generating diffs from the stock cfg files and consulting the documentation on the pins to make sure the differences really reflect what you entered into the spreadsheet. |
Beta Was this translation helpful? Give feedback.
-
Thanks @madisongh and @kekiefer for this! It felt really finicky to change the pinmux. I was also afraid to do this as I might get something wrong and things would not work or send 3.3V to 1.8V domain. Here's the workflow I followed for changing assignment of only one pin:
|
Beta Was this translation helpful? Give feedback.
-
Cross-linking gitter thread on this topic at https://gitter.im/OE4T/community?at=639608273daaa326ba7d2c7c and an existing wiki page at https://github.com/OE4T/meta-tegra/wiki/Controlling-Jetson-TX2-pin-states |
Beta Was this translation helpful? Give feedback.
-
I've been trying for a few hours to setup the pinmux without success. I taught myself how to get the register values from the nvidia pinmux spreadsheet tool by generating the .dtsi files and then convert the output to cfg and then manually diff the files so I can see the cpu registers that require changing and then use use devmem2 to set the settings on a live system.
Could I please have some guidance what is the accepted way to slice in the .dtsi files or .cfg into my system images.
Beta Was this translation helpful? Give feedback.
All reactions