Pinmux.major is not supported

environment:Jetpack 4.2, TX2
operate:

  1. Follow this connection to generate the pinmux configuration file https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-282/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fpinmux.html
  2. Replace the following two files /home/opt/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg. copying /home/opt/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
  3. flash TX2:sudo ./flash.sh -r -S 29318MiB jetson-tx2 mmcblk0p1

questions:[ 1.0173 ] Flash script echo “pinmux.major is not supported”, which step maybe error? how do i fix it?

The attachment is flash log
flash_log.txt (14.9 KB)

Hi,

Could you share your pinmux file?

ok. thank you very much.
[This file was removed because it was flagged as potentially malicious] (1.17 MB)

Hi,

I meant the the cfg file you copy to Linux_for_Tegra/bootloader/t186ref/BCT/.

ok.
I replace “tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg” with “tegra186-mb1-bct-pad-quill-char-e3301-1080-a00.cfg.txt”, and “tegra18x-jetson-tx2-config-template-pinmux.dtsi.txt” with “tegra186-quill-p3310-1000-a00-pinmux-gpio.cfg.txt”
tegra186-mb1-bct-pad-quill-char-e3301-1080-a00.cfg.txt (588 Bytes)
tegra186-quill-p3310-1000-a00-pinmux-gpio.cfg.txt (28.7 KB)

Hi,

Do you also see some numbers in these txt file on your side? They should not be here.

471
477
487
502
##
## Pinmux version 1.0
## Input pinmux file name: ./tegra186-quill-p3310-1000-a00-pinmux.dtsi
## Input gpio file name: ./tegra186-quill-p3310-1000-a00-gpio-default.dtsi
## Generation date: 2020-02-21 14:31
## PLEASE DO NOT EDIT THIS FILE
## This is autogenerated file using the script pinmux-dts2cfg.py
##
pinmux.major = 1;
pinmux.minor = 0;
515
517
519
521
523
528

yes, I also can see this numbers

Please try to remove them manually and see if it can pass the flash.

I have flash successed. I’m sorry, I change pinmux-dts2cfg.py and add some print in code. So how do I make sure my configuration is working? I custom the below pins as Bidirectional gpio in J21 on carrier board. Thank you very much.

jetsonTX2GPIONumber gpio_group[GPIO_NUM_J21] =
{
gpio396, // J21 -Pin 7 0
gpio466, // J21 -Pin 11 1 0k
gpio397, // J21 -Pin 13 2
gpio255, // J21 -Pin 15 3 
gpio429, // J21 -Pin 19 4 
gpio428, // J21 -Pin 21 5 
gpio427, // J21 -Pin 23 6 
gpio398, // J21 - Pin 29 7
gpio298, // J21 -Pin 31 8
gpio389, // J21 -Pin 33 9
gpio395, // J21 -Pin 35 10
gpio388, // J21 -Pin 37 11

gpio392, // J21 -Pin 12 12
gpio296_, // J21 -Pin 16 13
gpio481, // J21 -Pin 18 14
gpio254, // J21 -Pin 22 15
gpio430, // J21 -Pin 24 16
gpio297, // J21 -Pin 32 17
gpio467, // J21 - Pin 36 18
gpio394, // J21 - Pin 38 19
gpio393, // J21 - Pin 40 20
};