Difference between revisions of "Jetson/AGX Xavier Update Pinmux"

From eLinux.org
Jump to: navigation, search
Line 32: Line 32:
 
== Go Further ==
 
== Go Further ==
 
To check current pinmux setting or to manually update pinmux, take [[Jetson/AGX_Xavier_Update_Pinmux_Manually | Update Pinmux Manually]] as a reference.
 
To check current pinmux setting or to manually update pinmux, take [[Jetson/AGX_Xavier_Update_Pinmux_Manually | Update Pinmux Manually]] as a reference.
 +
 +
== Notes ==
 +
At present, pinmux configure file generated by [https://developer.nvidia.com/embedded/dlc/jetson-xavier-pinmux Jetson AGX Xavier Pinmux] is missing one line configuration like "pinmux.0x0c301000 = 0x00000500; # shutdown_n: rsvd0, ...".

Revision as of 23:44, 27 November 2018

Generate Pinmux File

Follow $JETPACK_ROOT/Xavier/Linux_for_Tegra/kernel/pinmux/t19x/README.txt to generate pinmux config file

You may see errors like below, please ignore it.

$ python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt --mandatory_pinmux_file mandatory_pinmux.txt tegra19x-jetson_agx_devkit-pinmux.dtsi tegra19x-jetson_agx_devkit-gpio-default.dtsi 1.0 > galen.cfg 
ERROR: pin eqos_rd3_pf1(0x00022470) field nvidia,lpbk(0x00000020) is not matching, val = 0x01 expected = 0x00
ERROR: pin eqos_sma_mdio_pf4(0x00022440) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02
ERROR: pin sdmmc4_cmd(0x00002440) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02
ERROR: pin soc_gpio10_pg6(0x00000410) field nvidia,tristate(0x00000010) is not matching, val = 0x01 expected = 0x00
ERROR: pin soc_gpio13_ph1(0x00000411) field nvidia,tristate(0x00000010) is not matching, val = 0x01 expected = 0x00
ERROR: pin gp_pwm2_px2(0x00000410) field nvidia,tristate(0x00000010) is not matching, val = 0x01 expected = 0x00
ERROR: pin gp_pwm3_px3(0x00000410) field nvidia,tristate(0x00000010) is not matching, val = 0x01 expected = 0x00
ERROR: pin uart2_tx_px4(0x00000400) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02
ERROR: pin uart2_rts_px6(0x00000400) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02
ERROR: pin uart5_tx_py5(0x00000400) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02
ERROR: pin uart5_rts_py7(0x00000400) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02
ERROR: pin uart3_tx_pcc5(0x00000400) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02
ERROR: pin soc_gpio22_pq2(0x00000459) field nvidia,pull(0x0000000c) is not matching, val = 0x02 expected = 0x00
ERROR: pin uart1_tx_pr2(0x00000400) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02
ERROR: pin ufs0_ref_clk_pff0(0x00022420) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x01
ERROR: pin ufs0_rst_pff1(0x00022420) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02

Copy Pinmux File

The generated pinmux file should be copied to $JETPACK_ROOT/Xavier/Linux_for_Tegra/bootloader/t186ref/BCT. Pinmux configure file name is defined here.

Flash Device

$ cd $JETPACK_ROOT/Xavier/Linux_for_Tegra/
$ sudo ./flash.sh jetson-xavier mmcblk0p1

Go Further

To check current pinmux setting or to manually update pinmux, take Update Pinmux Manually as a reference.

Notes

At present, pinmux configure file generated by Jetson AGX Xavier Pinmux is missing one line configuration like "pinmux.0x0c301000 = 0x00000500; # shutdown_n: rsvd0, ...".