Pinmux spreadsheet REV 1.5 gives CPP error even when not edited - ORIN (5.1.1) tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi

I am trying to get the 1Gb Ethernet RGMII going and one of the steps is to edit the pinmux spreadsheet.

I received errors with the pre-processor even on a file that was generated from the original 1.5 spreadsheet as it was downloaded. The original pinmux that came with JP5.1.1 of course works.

[   1.1245 ] Pre-processing config: tegra234-mb1-bct-gpioint-p3701-0000.dts
[   1.1401 ] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts
[   1.1610 ] Pre-processing config: tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi
Error: Return value 1
Command cpp -nostdinc -x assembler-with-cpp -D IN_DTS_CONTEXT -I .. -I ../t186ref/BCT tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi tegra234-mb1-bct-pinmux-p3701-0000-a04_cpp.dts
Failed flashing t186ref.
*******: ~/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra$ 

Below are files generated by the original spreadsheet on my windows machine along with the distribution dtsi:

Orin-jetson_agx_orin_original-pinmux.dtsi (64.7 KB)
Orin-jetson_agx_orin_original-padvoltage-default.dtsi (1.4 KB)
Orin-jetson_agx_orin_original-gpio-default.dtsi (3.8 KB)
tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi (63.6 KB)

The headers of the distribution (5.1.1) pinmux and the spreadsheet pinmux file don’t match making me think that there may be some missing include. Any chance on getting the spreadsheet that generated the distributed tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi ?

Any insight as to why the pinmux is failing for me?

Please also attach full flash failure log.

Here is the script output and the log files from the SDK tool.

I am going to double check that all three files are properly in place then I am going to compare the downloaded to the generated line by line looking for issues.

SDKM_logs_JetPack_5.1.1_(rev._1)_Linux_for_Jetson_AGX_Orin_modules_2023-05-18_08-48-56.zip (324.4 KB)
flash_log_pinmux_failure.txt (30.3 KB)

Update:

The tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi that came with 5.1.1 was built with Spreadsheet V1.6. You should be publishing version 1.6 so other people don’t loose dozens of hours. The only difference is that different default files are called out. See the attached clip.

I haven’t created a modified pinmux file yet. I will update when I have made more progress.

Pinmux seems to work when manually edited to work as the version 1.6 pinmux spreadsheet. Nvidia MUST update the spreadsheet to the current version on the downloads page.

We are tracking what is going on there. Thanks for your report.

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