Pinmux

Hello, my l4t version R32.5.1, TX2:
I am getting an error when configuring pinmux with the following command:

python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt --mandatory_pinmux_file mandatory_pinmux.txt /home/yongle/myfile/pinmux/tegra18x-jetson-tx2-default-pinmux.dtsi /home/yongle/myfile/pinmux/tegra18x-jetson-tx2-default-gpio-default.dtsi 1.0 > …/…/…/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg

ERROR: pin dap2_sclk_pc1(0x00000440) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin dap2_fs_pc4(0x00000440) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin dap1_sclk_pj0(0x00000444) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin dap1_dout_pj1(0x00000444) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin dap1_fs_pj3(0x00000444) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin dmic1_clk_pm1(0x00004441) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin dmic2_dat_pm2(0x00004441) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin dap4_sclk_pcc0(0x00004440) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin dap4_fs_pcc3(0x00004440) field nvidia,enable-input(0x00000040) is not matching, val = 0x01 expected = 0x00
ERROR: pin sdmmc4_dqs(0x00000444) field nvidia,tristate(0x00000010) is not matching, val = 0x00 expected = 0x01

According to the method provided in the forum, after removing “–mandatory_pinmux_file”, a new error occurs again:

usage: pinmux [–pinmux] [–mandatory_pinmux_file MANDATORY_PINMUX_FILE]
[–mask] [–help]
address_info_file gpio_address_file por_val_file pinmux_dts_file
gpio_dts_file version
pinmux: error: unrecognized arguments: 1.0

What do I need to do??

Thank you!!

I don’t quite understand what error you are talking about.

What command is in use now?

Now using command “python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt mandatory_pinmux.txt /home/yongle/myfile/pinmux/tegra18x-jetson-tx2-default-pinmux.dtsi /home/yongle/myfile/pinmux/tegra18x-jetson-tx2-default-gpio-default.dtsi 1.0 > …/…/…/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg”,the following error will appear:

usage: pinmux [–pinmux] [–mandatory_pinmux_file MANDATORY_PINMUX_FILE]
[–mask] [–help]
address_info_file gpio_address_file por_val_file pinmux_dts_file
gpio_dts_file version
pinmux: error: unrecognized arguments: 1.0

pinmux: error: unrecognized arguments: 1.0

???

If you don’t add mandatory field, then why did you still add mandatory txt file as input?

Directly follow the instruction manual.
Do you mean to remove mandatory_pinmux.txt too?execute with the following command:
python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt /home/yongle/myfile/pinmux/tegra18x-jetson-tx2-default-pinmux.dtsi /home/yongle/myfile/pinmux/tegra18x-jetson-tx2-default-gpio-default.dtsi 1.0 > tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg

Is this still an issue to support? Any result can be shared? Thanks

I use the command "python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt /home/yongle/myfile/pinmux/tegra18x-jetson-tx2-default -pinmux.dtsi /home/yongle/myfile/pinmux /tegra18x-jetson-tx2-default-gpio-default.dtsi 1.0 > tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg” has generated a new file, and I haven’t found any problems yet, thank you.

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