please read the register from jetson of each pinmux to make sure they are really set as your expectation.
Hi
Attached are “cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups” and “cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinmux-pins”.
Our module is of devkit. Is it correct to modify tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi ?
rgmii_pinmux.txt (12.4 KB)
rgmii_pin_groups.txt (42.2 KB)
If you have concern, then try to get one commercial module too.
Your finalized product will be on commercial in the end.
We only have the devkit module now. Is the pinmux correct ?
Hi,
In file “Linux_for_Tegra/p3701.conf.common”. There are string “chip_sku” and “chip_SKU”.
Is it typo error?
Please just go ahead using devmem tool + Orin TRM document to check the register.
There is no need to keep thinking the file is wrong or correct. Reading the resgiter will tell you it is correct or not.
What you did is not reading register either.
Attached are “cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups” and “cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinmux-pins”.
HI
what register (address) should i check?
Something as below thread.
I can not use devmem2 to read register.
nvorin@tegra-ubuntu:~$ sudo devmem2 0x02445058
/dev/mem opened.
Memory mapped at address 0xfffface80000.
[ 247.606576] CPU:0, Error: cbb-fabric@0x13a00000, irq=21
[ 247.611966] **************************************
[ 247.616886] CPU:0, Error:cbb-fabric, Errmon:2
[ 247.621361] Error Code : SLAVE_ERR
[ 247.625216]
[ 247.626742] Error Code : SLAVE_ERR
[ 247.630594] MASTER_ID : CCPLEX
[ 247.634084] Address : 0x2445058
[ 247.637665] Cache : 0x0 -- Device Non-Bufferable
[ 247.642851] Protection : 0x2 -- Unprivileged, Non-Secure, Data Access
[ 247.649819] Access_Type : Read
[ 247.653309] Access_ID : 0x13
[ 247.653310] Fabric : cbb-fabric
[ 247.660208] Slave_Id : 0x35
[ 247.663429] Burst_length : 0x0
[ 247.666919] Burst_type : 0x1
[ 247.670235] Beat_size : 0x3
[ 247.673457] VQC : 0x0
[ 247.676236] GRPSEC : 0x7e
[ 247.679284] FALCONSEC : 0x0
[ 247.682506] **************************************
[ 247.687562] WARNING: CPU: 0 PID: 2755 at drivers/soc/tegra/cbb/tegra234-cbb.c:577 tegra234_cbb_isr+0x130/0x170
[ 247.698034] ---[ end trace 97c9f5734c0df27e ]---
Value at address 0x2445058 (0xfffface80058): 0xFFFFFFFF
nvorin@tegra-ubuntu:~$
use busybox devmem
Environment PINMUX_CONFIG=“tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi” in file Linux_for_Tegra/p3701.conf.common. Is it correct for devkit module ?
I modify it PINMUX_CONFIG=“tegra234-mb1-bct-pinmux-p3701-0000.dtsi” and file tegra234-mb1-bct-pinmux-p3701-0000.dtsi. Then rgmii can work.
But there is error when power on mb1/mb2 state and work fine in kernel.
** WARNING: Test Key is used. **
>>Start HTTP Boot over IPv6.
Error: Could not retrieve NBP file size from HTTP server.
Error: Unexpected network error.
>>Start HTTP Boot over IPv4.
Error: Could not retrieve NBP file size from HTTP server.
Error: Server response timeout.
>>Start PXE over IPv6.
PXE-E16: No valid offer received.
>>Start PXE over IPv4.
PXE-E18: Server response timeout.
L4TLauncher: Attempting Direct Boot
Sometimes, after use udhcpc command, then ifconfig eth0 down. It will kernel panic.
Attached is the
rgmii_poweron01.txt (93.7 KB)
log file.
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445000
0x00002400
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445008
0x00002400
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445010
0x00002400
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445018
0x00002400
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445058
0x00002400
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445068
0x00002400
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445020
0x00002458
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445028
0x00002458
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445030
0x00002458
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445040
0x00002458
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445060
0x00002458
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445070
0x00002458
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445038
0x00002440
nvorin@tegra-ubuntu:~$ sudo /usr/bin/busybox devmem 0x02445048
0x00002400
Have you solved this problem?
Hi,
Now it works but semms have problem. Sometime it can not get ip when booting.
If no IP, use “ifconfig” command can see RX packets and TX packets is 0.
But it always has interrupts on “gpio 39 Level 2310000.ethernet:01”.
nvorin@tegra-ubuntu:~$ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1466
ether 48:b0:2d:94:5e:25 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
nvorin@tegra-ubuntu:~$ cat /proc/interrupts |grep eth
69: 0 0 0 0 0 0 0 0 GICv3 226 Level eth0.common_irq
70: 0 0 0 0 0 0 0 0 GICv3 218 Level eth0.vm0
71: 0 0 0 0 0 0 0 0 GICv3 219 Level eth0.vm1
72: 0 0 0 0 0 0 0 0 GICv3 220 Level eth0.vm2
73: 0 0 0 0 0 0 0 0 GICv3 221 Level eth0.vm3
310: 508041 0 0 0 0 0 0 0 gpio 39 Level 2310000.ethernet:01
nvorin@tegra-ubuntu:~$
You must use command “sudo ifconfig eth0 down” and “sudo ifconfig eth0 up” to work normally.
nvorin@tegra-ubuntu:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1466
inet 192.168.6.103 netmask 255.255.255.0 broadcast 192.168.6.255
inet6 fe80::178e:769e:aee9:1856 prefixlen 64 scopeid 0x20<link>
ether 48:b0:2d:94:5e:25 txqueuelen 1000 (Ethernet)
RX packets 235 bytes 15286 (15.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 81 bytes 8697 (8.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
nvorin@tegra-ubuntu:~$ cat /proc/interrupts |grep eth
69: 1 0 0 0 0 0 0 0 GICv3 226 Level eth0.common_irq
70: 493 0 0 0 0 0 0 0 GICv3 218 Level eth0.vm0
71: 0 0 0 0 0 0 0 0 GICv3 219 Level eth0.vm1
72: 0 0 0 0 0 0 0 0 GICv3 220 Level eth0.vm2
73: 0 0 0 0 0 0 0 0 GICv3 221 Level eth0.vm3
310: 1691399 0 0 0 0 0 0 0 gpio 39 Level 2310000.ethernet:01
nvorin@tegra-ubuntu:~$