Tx2-nx pinmux general .cfg error

I follow the document :Linux_for_Tegra/kernel/pinmux/t186/README.txt
The error message is as follows:


By the way,I can generate a .cfg file using the following command.But can’t finishing flash the device.

  1. Generate cfg file: $ python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt –mandatory_pinmux_file mandatory_pinmux.txt tegra18x-jetson_tx2_nx-pinmux.dtsi tegra18x-jetson_tx2_nx-gpio-default.dtsi 1.0 > tegra186-mb1-bct-pinmux-p3636-0001-a00.cfg
  2. Copy “tegra186-mb1-bct-pinmux-p3636-0001-a00.cfg” to below two path: Linux_for_Tegra/bootloader/ Linux_for_Tegra/bootloader/t186ref/cfg/
  3. Flash image: $ sudo ./flash.sh -r jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
    Flashing is stopped here.

Please help me,THX

hello earl0054,

the --mandatory_pinmux_file is an optional switch, you may have a try to exclude that.
please also check this thread for reference, Pinmux-dts2cfg.py errors with default pinmux - #5 by JerryChang

Thanks, alot,pls have a look to the first screenshots pictures, pls check did I using the right command?

remove --mandatory_pinmux_file,will make flash error

hello earl0054,

did you download pinmux spreadsheets via DLC to have customization?
may I also know which JetPack release you’re working with, thanks

thanks a lot,
yes,I downloaded it’s from download center,
I use l4t 32.5.2 by ‘flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1’ and it’s works well .

Hi earl0054,

We can’t reproduce your issue on TX2-NX with r32.5.2.
List our steps for you reference:

  1. Download Pinmux v1.01 from Download Center.
  2. Generate *.dtsi from excel file.
  3. Copy *.dtsi to /Linux_for_Tegra/kernel/pinmux/t186/
  4. Run below command to generate cfg file:
    $ python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt tegra186-quill-p3310-1000-a00-pinmux.dtsi tegra186-quill-p3310-1000-a00-gpio-default.dtsi 1.0 > tegra186-mb1-bct-pinmux-p3636-0001-a00.cfg
    
  5. Replace tegra186-mb1-bct-pinmux-p3636-0001-a00.cfg to /Linux_for_Tegra/bootloader/t186ref/BCT/
  6. Flash image:
    $ sudo ./flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
    

We are using default pinmux setting to generate dtsi.
Are you change any value from pinmux?

Thanks a lot,I modified it according to the steps you provided.
this is my .dtsi file
tegra186-ws-tx2nx.dts (5.0 KB)
but can’t finish flash,Pls look at the log text. this is on 32.6.1,and also got same error on 32.5.2.
flash log flahs-tx2nx-error.log (17.9 KB)

hello earl0054,

could you please also share the command-line you’re used for image flashing.

thanks,command is:
sudo ./flash.sh jetson-xavier-nx-devkit-tx2-nx mmcblk0p1

[

18901100092

邮箱:18901100092@189.cn

](头像签名)

签名由 网易邮箱大师 定制

hello earl0054,

you cannot use this board name, since it’ll include TX2 NX DevKit’s board configuration file for image flashing.
please check Jetson Module Adaptation and Bring-Up chapter, you should review the steps for software bring-up process.
thanks