I am trying to configure the pinmux following the instructions in the Tegra Package Docs ( Tegra_Linux_Driver_Package_Documents_R27.1/nvl4t_docs/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide/l4t_pinmux.html#) and here are a couple of issues I am running into:
Configure a couple of pins in the orange section (right side)
Use MS Excel in Windows to generate 3 dtsi files (pinmux, gpio and padvoltage)
Use dos2unix tool to convert all 3 dtsi files UNIX files
Copy dt-bindings dir in u-boot/include dir to where the dtsi are
Change #include lines in the dtsi files to use double quotes instead of <>. For example, #include <dt-bindings/pinctrl/pinctrl-tegra.h> becomes #include “dt-bindings/pinctrl/pinctrl-tegra.h”
Run “python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt pinmux.dsti gpio-defaults.dtsi 1.0 > pinmux.cfg” in kernel/pinmux to generate pinmux.cfg
Run “python pinmux-dts2cfg.py --pad pad_info.txt $3 1.0 > pad.cfg” in kernel/pinmux to generate pad.cfg
Copied both pinmux.cfg and pad.cfg to bootloader/t186ref/BCT and rename them to “tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg” and “tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg”, respectively
build the kernel and flash to TX2
2 issues I am running into:
I cannot find “mandatory_pinmux.txt” for step 7, but step 7 did not fail.
After flashing, eth0 is missing and network fails base on “ifconfig” (no IP address)
I am going to all of these just to change 2 GPIO pins, GPIO20/AUD_INT and GPIO10/WIFI_WAKE_AP, to input/output, high/low, pull-up/pull-down. Is there an easier way? Changing the cfg or dtb files directly perhaps?
Hi Thierry7,
Any chance you know which changes to the default pinmux are necessary to get the ethernet working?
@ShaneCCC: why does the default pinmux have ethernet not working yet the default device tree blob provided with release package does have ethernet working?
In fact I used the extlinux.conf FDT redirection with tegra186-quill-a00 or c03 resulting no local network.
IMHO pinmux is not responsible for that. Sorry for the confusion.
I think the best solution is to rebuild the kernel directly on the TX2 itself. See #7
But it is really crazy to find the good config files and path.
I’ll try the proposal from ShaneCC
@ShaneCC:
Regarding #2, which file do I have to modify on the TX2 itself (full path and name) for:
Anyone have a fix for the network issues? I have this exact same issue in a different thread. This came after flashing jetpack 3.1 to the new dev kit. Is it an issue with the pinmux or something else entirely. I would really appreciate the help as i am somewhat new to the platform.
CT
The problem really comes from the pinmux config (Jetson-TX2-Generic-Customer-Pinmux-Template.xlsm) !
Because there is no Ethernet configuration inside.
The Jetson-TX1.xlsm allows configuring ethernet => NVIDIA should update the .xlsm for TX2 (@ShaneCCC ?)
What is missing for TX2:
ethernet
sdmmc4
directdc1
Not yet tested, but the temporary solution is probably this (for ethernet):
Once the .dtsi are converted to .cfg, add the following lines to the .cfg: