agx-orin原生网卡起来,打印如下:
[ 12.381626] nvme nvme0: pci function 0005:01:00.0
[ 12.387266] nvme 0005:01:00.0: enabling device (0000 → 0002)
[ 12.388052] nvethernet 6810000.ethernet: Adding to iommu group 52
[ 12.400932] nvethernet 6810000.ethernet: failed to read skip mac reset flag, default 0
[ 12.409694] nvethernet 6810000.ethernet: failed to read MDIO address
[ 12.411167] nvme nvme0: allocated 64 MiB host memory buffer.
[ 12.416823] nvethernet 6810000.ethernet: setting to default DMA bit mask
[ 12.430712] nvethernet 6810000.ethernet: failed to read UPHY GBE mode- default to 10G
[ 12.444283] nvme nvme0: 8/0/0 default/read/poll queues
[ 12.826999] nvethernet 6810000.ethernet: Ethernet MAC address: 3c:6d:66:01:fe:8e
[ 12.835654] -->macsec_probe()
[ 12.835676] nvethernet 6810000.ethernet: macsec param in DT is missing or disabled
[ 12.844050] <–macsec_probe()
[ 12.844051] nvethernet 6810000.ethernet: Macsec not supported/Not enabled in DT
[ 12.856438] nvethernet 6810000.ethernet: eth4 (HW ver: 31) created with 10 DMA channels
[ 17.672804] nvethernet 6810000.ethernet: [poll_check][42][type:0x4][loga-0x0] poll_check: timeout
[ 17.682692] net eth4: failed to poll MAC Software reset
ODMDATA值配置如下:
ODMDATA=“gbe-uphy-config-0,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-0”;
请问是什么原因起不来?
Hello,
Thanks for visiting the NVIDIA Developer forums! Your topic will be best served in the Jetson category.
Discussions relating to the Jetson DevKits and other Embedded computing devices
I will move this post over for visibility.
Cheers,
Tom
Hi 923179426,
Are you using the devkit or custom board for AGX Orin?
What’s your Jetpack version in use?
Please share the full serial console log and device tree for further check.
It seems something wrong in your device tree configuration causing it probes failed.
system-log.txt (97.7 KB)
tegra234-p3701-0000-p3737-0000.zip (65.7 KB)
system-log是系统启动日志,tegra234-p3701-0000-p3737-0000是设备树文件,你可以反编译一下得到设备树源文件,我使用的开发套件是jetpack-35.5.0。
Please give just kernel log. We don’t need your syslog.
Also, it could be various reasons that lead to this error
kernel-dmesg.txt (65.6 KB)
这是内核启动日志,请看一下!设备树文件请反汇编一下得到全部设备树配置。
Do you port ethernet@6810000 node manually?
[ 12.699892] nvethernet 6810000.ethernet: failed to read skip mac reset flag, default 0
About this error, it seems you don’t have the property nvidia,skip_mac_reset in device tree.
[ 12.708633] nvethernet 6810000.ethernet: failed to read MDIO address
About this error, it seems you don’t have the property nvidia,mdio_addr in device tree.
and so on…
Please review your device tree and add the missing properties back.
我用的源码里面默认的设备树配置,应该不会有错才对:
cftc@cftc-virtual-machine:~/nvidia/source/Linux_for_Tegra/source/public/kernel/hardware$ cat nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-ethernet-3737-0000.dtsi
/*
Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, as published by the Free Software Foundation.
This program is distributed in the hope it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/ .
*/
include <dt-bindings/gpio/tegra234-gpio.h>
/ {
/* MGBE - A /
ethernet@6810000 {
status = “okay”;
nvidia,mac-addr-idx = <0>;
nvidia,max-platform-mtu = <16383>;
/ 1=enable, 0=disable /
nvidia,pause_frames = <1>;
phy-handle = <&mgbe0_aqr113c_phy>;
phy-mode = “10gbase-r”;
/ 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
nvidia,phy-iface-mode = <0>;
nvidia,phy-reset-gpio = <&tegra_main_gpio TEGRA234_MAIN_GPIO(Y, 1) 0>;
mdio {
compatible = "nvidia,eqos-mdio";
#address-cells = <1>;
#size-cells = <0>;
mgbe0_aqr113c_phy: ethernet_phy@0 {
compatible = "ethernet-phy-ieee802.3-c45";
reg = <0x0>;
nvidia,phy-rst-pdelay-msec = <150>; /* msec */
nvidia,phy-rst-duration-usec = <221000>; /* usec */
interrupt-parent = <&tegra_main_gpio>;
interrupts = <TEGRA234_MAIN_GPIO(Y, 3) IRQ_TYPE_LEVEL_LOW>;
};
};
};
};
cftc@cftc-virtual-machine:~/nvidia/source/Linux_for_Tegra/source/public/kernel/hardware$
I would suggest you follow the error showing in dmesg and add the missing/wrong property back.
You can find more details for the properties of this node in kernel/nvidia/Documentation/devicetree/bindings/platform/tegra/tegra-nvethernet.txt
請問一下這整串對話到底在做什麼?
你給我線路圖是接在RGMII. 但Ethernet 6810000是MGBE…
你根本就開錯controller?
1 Like
我以为Ethernet 6810000是RGMII网口,那么RGMII网口配置节点是哪个?
system
Closed
August 28, 2024, 6:59am
19
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.