Hi,
I am trying to build a custom device tree and I mmostly worked through the process outlined in the document
JETSON AGX XAVIER PLATFORM ADAPTATION AND BRING-UP GUIDE
I am in the section called 'MB1 COnfiguration changes, working my way through the process.
I used the PinMux tool to create the 3 .dtsi files (in fact we used this during the design to make sure we had valid pin assignments), and was doing the first step of creating the .cfg file, this was the command I entered into the terminal:
sudo python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt --mandatory_pinmux_file mandatory_pinmux.txt tegra19x-uswap_val9k-pinmux.dtsi tegra19x-uswap_val9k-gpio-default.dtsi 1.0 > val9k.cfg
It seemed to mostly work?
But it spit out 10 errors - i’m not sure what to make of them or what the root cause is - is something mismatched in the excel tool?
##These errors came up during execution of the python script and should be investigated further
##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 uart5_tx_py5(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
I am doing this in a VM running Ubuntu LTS 18.04 - I can upload the DTSI files and CFG file if they will be useful/helpful.