Hello, I am configuring the pinmux spreadsheet, but I have encountered a problem and need your help,thank you!
I don’t know the configuration principles of “Customer Usage”, “Pin Direction”, “Req. Initial State”, “LPDR Enable”, and “Req. Deep Sleep State”. Where can I find them?
hello Yolomei,
this depends-on your own design purpose, it’s the pin configuration of mb1-bct.
hello Yolomei,
those pin were default defined as GPIO, so, you’ll need to click the button on top-right to [Generate DT File] after customization.
you should copy those generated dtsi file to JetPack installation path,
for example,
~/nvidia/nvidia_sdk/JetPack_<version>_Linux_<platform>/Linux_for_Tegra/
and…
you should see python file, $OUT/Linux_for_Tegra/kernel/pinmux/t186/pinmux-dts2cfg.py
it is used to convert them into cfg format.
after that,
please have full flashing to update the board configuration.
please see-also developer guide, Pinmux Changes for reference,
thanks
I use the following command to refresh the generated cfg file to TX2
sudo ./flash.sh jetson-tx2 mmcblk0p1
Then, use the following command to view the value in the register:
sudo devmem2 0x0243d0b0
However, the results obtained are inconsistent with the values in cfg
what you really want to check?
this is I2C7_CLK
instead of audio pins you’re mentioned in comment #4.
please check TX2 TRM for [8.31.7 PADCTL Audio Registers].
Yes, this is a problem I accidentally saw after configuring the audio, so please ask.
Theoretically, shouldn’t the register values I see be consistent with those in the cfg file.
hello Yolomei,
cfg file is the init settings, it’s able to alter by kernel controls.
How do you use this command? I don’t quite understand. If you refresh completely, you should use the following command:
sudo ./flash.sh jetson-tx2 mmcblk0p1
hello Yolomei,
please see-also developer guide, Pinmux Changes for reference,
it’s python script file, pinmux-dts2cfg.py
to convert dtsi into cfg file format for image flashing.
So I can only use the following command to permanently refresh the pinmux file
sudo ./flash.sh jetson-tx2 mmcblk0p1
hello Yolomei,
that’s correct. you must perform full flash to update the cfg file
Ok, thank you!!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.