I have tried sudo /opt/nvidia/jetson-io/jetson-io.py Initially I got the error message about line 25 as per page 1 of “Configuring the 40-pin Expansion Header”, so after doing the sudo find /… correction, , when I enter the original command I now get a brief flash on the screen(less than 1 second) of what seems to be the Jetson Expansion Header tool which then dissapears. There is no error message in the terminal, it just returns a new command line prompt.This was on the nano dev board version B01 with the rt-preempt patch.
So I tried the other method of generating a dtsi file in windows, then converting these on an unbuntu 18.04 amd64 machine using dos2unix, then generating a .cfg file. this was successfull although I had to leave out the version number from the command to get it to work as follows;
$ python3 pinmux-dts2cfg.py --pinmux addr_info.txt \ gpio_arrd_info.txt por_val.txt mandatory_pinmux.txt
This results in a cfg file of about 350 bytes.
My questions are :
Have I made any missteps in generating the cfg file ?
Where/how do I put this cfg file on the jetson nano board ?
How can I fix sudo /opt/nvidia/jetson-io/jetson-io.py ?