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

From eLinux.org
Jump to: navigation, search
(Generate Pinmux File)
Line 22: Line 22:
 
ERROR: pin ufs0_rst_pff1(0x00022420) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02</pre>
 
ERROR: pin ufs0_rst_pff1(0x00022420) field nvidia,pull(0x0000000c) is not matching, val = 0x00 expected = 0x02</pre>
  
https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-282/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fpinmux.html
+
== 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 by [[Jetson/AGX_Xavier_CAN#Locate_Pinmux_configure_file | here]]

Revision as of 23:28, 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 by here