We are using Orin AGX module. While generating DTB file getting error like below , even though default pinmux files.
Please somebody suggest solution for error.
-------terminal logs-----------
Linux_for_Tegra/kernel/pinmux/t19x$ python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt --mandatory_pinmux_file mandatory_pinmux.txt /home/xx/pinmux/-pinmux.dtsi /home/xx/pinmux/-gpio-default.dtsi 1.0 > tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
Traceback (most recent call last):
File âpinmux-dts2cfg.pyâ, line 518, in
main(sys.argv[0], sys.argv[1:])
File âpinmux-dts2cfg.pyâ, line 514, in main
gpio_list = process_gpio_file(v.gpio_dts_file, pinmux_gpio_dict, gpio_port_addr_dict, pinmux_non_aon_addr, pinmux_aon_addr, v.mask)
File âpinmux-dts2cfg.pyâ, line 193, in process_gpio_file
port_addr = int(gpio_addr_dict[port][0], 0) # Got port address
KeyError: âTEGRA234_MAIN_GPIO(Bâ
:~/xx/Linux_for_Tegra/kernel/pinmux/t19x$
----------log end---------------
1 Like
Moving this topic to the Jetson category for better exposure.
hello vardhaman.k,
you donât need to execute python tool to covert them for Orin series.
since Orin is now reading *dtsi formats for pinmux configurations.
please see-also AGX Orinâs flash configuration file, for example, p3701.conf.common
youâll see this line, PINMUX_CONFIG="tegra234-mb1-bct-pinmux-p3701-0000.dtsi";
please see-also developer guide, Pinmux Changes.
thanks
1 Like
Thank you very much JerryChang.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.