[ 784.759391] mdio_bus 2310000.ethernet: MDIO device at address 1 is missing.
change your phy@1 reg from 1 to 0 and see if that changes.
Also, I think the module you are using is a wrong one. Please use the production module instead of the devkit module. Otherwise your kernel dtb and pinmux totally does not match.
I tried to change the reg address from <1> to <0> and it stopped my USB port from working (had my mouse and keyboard connected to it) and did not fix the ethernet problem (same error). The USB port was define in the DTB as the UPHY USB3 lane 1 and its mate USB2 lane 0. Here is the dtb file : tegra234-p3737-0000-a04.dtsi (9.0 KB)
This part, I’m not sure I understand what you mean, could you clarify please?
Im going to attach the dmesg when the flashing is done.
You cannot just plug out a module from NV devkit because the module on NV devkit is p3701-0000.
If you are using p3701-0000 module, your dtb file name would be p3701-0000-p3737-xxxx. Your pinmux file would be tegra234-mb1-bct-pinmux-p3701-0000.dtsi.
If you are using p3701-00004 module, your dtb file name would be p3701-0004-p3737-xxxx. Your pinmux file would be tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi.
But currently, your dtb and pinmux totally do not match to each other. I have no idea what kind of module you are using.
I tried to change the reg address from <1> to <0> and it stopped my USB port from working (had my mouse and keyboard connected to it) and did not fix the ethernet problem (same error). The USB port was define in the DTB as the UPHY USB3 lane 1 and its mate USB2 lane 0. Here is the dtb file : tegra234-p3737-0000-a04.dtsi (9.0 KB)
I don’t really care about your usb here. The RGMII and usb have no connection. If your usb got broken after that, please review your hardware.
So If i understand correctly like for the pinmux, the ethernet dtb file should be the one with a04 right? But in the kernel sources there is only the tegra234-ethernet-3737-0000.dtsi file. I cant find the a04 file for the ethernet dtb.
Ah now it is clear, the thing is we bought our Jetson with the devkit in hopes to be able to develop our application while the design of the custom carrier board was ongoing. So we dont have a production module. Can we make it work with the devkit module?
Since I now understand the modules part and that I only have 2 devkit modules, I switched the pinmux and padvoltage file to use the one who matches the devkit module (p3701-0000). However, by comparing with pinmux from production module (a04) i realise there is lots of tiny differences from both pinmux files. So i checked with the pinmux spreadsheet and realise it differs. How can i know which pinmux is the correct configuration ?
By switching the pinmux (and making the adjustment needed for RGMII from adaptation guide):