Other Parts Discussed in Thread: MSP430F5529
Tool/software:
Hi,
I am developing a product with the xilinx "Kira KV260 SOM".
"DP83867IRRGZR" is used in this PCB.
Currently, the u-boot log (attached u-boot_log.txt) shows "No ethernet found." is displayed and the DP83867 is not recognized.
A similar problem has been posted on the following page, is there a solution?
e2e.ti.com/.../dp83867ir-device-tree-configuration-for-dp83867irrgz-phy-under-gem
The device tree of the Ethernet portion is shown below.
Does the PHY Address defined in the DP83867 data sheet "7.5.4 PHY Address Configuration" match the PHY address listed in the device tree?
Best Regards,
U-Boot 2024.01 (May 14 2024 - 03:31:48 +0000) CPU: ZynqMP Silicon: v3 Chip: xck26 Detected name: zynqmp-sm-k26-xcl2gi-rev1 Model: ZynqMP SM-K26 Rev1/B/A Board: Xilinx ZynqMP DRAM: 2 GiB (effective 4 GiB) PMUFW: v1.1 Xilinx I2C FRU format at nvmem0: Manufacturer Name: XILINX Product Name: SM-K26-XCL2GI Serial No: XFL1EB532TAH Part Number: 5057-03 File ID: 0x0 Revision Number: 1 EL Level: EL2 Secure Boot: not authenticated, not encrypted Core: 61 devices, 33 uclasses, devicetree: board MMC: mmc@ff160000: 0 Loading Environment from nowhere... OK In: serial Out: serial,vidconsole Err: serial,vidconsole Bootmode: JTAG_MODE Reset reason: DEBUG Net: Could not get PHY for eth0: addr 0 No ethernet found. Setting bus to 1 Error writing the chip: -121 Setting bus to 1 Error writing the chip: -121 Setting bus to 2 Failure changing bus number (-19) Setting bus to 1 Error writing the chip: -121 Enable permission for node ID 33 Enable permission for node ID 47 tpm_tis_spi_probe: missing reset GPIO Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0(part 0) is current device ** No partition table - mmc 0 ** Couldn't find partition mmc 0:1 MMC Device 1 not found no mmc device at slot 1 starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 missing environment variable: pxeuuid Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/00000000 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/0000000 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/000000 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/00000 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/0000 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/000 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/00 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/default-arm-zynqmp-zynqmp Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/default-arm-zynqmp Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/default-arm Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Retrieving file: pxelinux.cfg/default Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Config file not found starting USB... No working controllers found Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 No ethernet found. Could not get PHY for eth0: addr 0 Could not get PHY for eth0: addr 0 JTAG: Trying to boot script at 20000000 ## Executing script at 20000000 Wrong image format for "source" command JTAG: SCRIPT FAILED: continuing... Unknown command ' ' - try 'help' ZynqMP>
device tree *********************************
&gem3{
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gem3_default>;
#address-cells = <0x1>;
#size-cells = <0x0>;
local-mac-address = [00 0a 35 00 1e 53];
phy-mode = "rgmii-id";
phy-handle = <&phy0>;
interrupt-parent = <0x4>;
xlnx,has-mdio = <0x1>;
xlnx,eth-mode = <0x1>;
mdio{
phy0:phy@0 { <---- Is the "0" in the "phy@0" the PHY Address of the DP83867?
reg = <0x0>;
compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22";
interrupt = <0x0 0x17 0x4>;
interrupt-parent = <0x4>;
ti,rx-internal-delay = <0x8>;
ti,tx-internal-delay = <0xa>;
ti,fifo-depth = <0x1>;
ti,rxctrl-strap-worka;
};
};
};
&pinctrl0 { /* required by spec */
status = "okay";
pinctrl_gem3_default: gem3-default {
conf {
groups = "ethernet3_0_grp";
slew-rate = <0x1>;
power-source = <0x1>;
};
conf-rx {
pins = "MIO70", "MIO72", "MIO74";
bias-high-impedance;
low-power-disable;
};
conf-bootstrap {
pins = "MIO71", "MIO73", "MIO75";
bias-disable;
low-power-disable;
};
conf-tx {
pins = "MIO64", "MIO65", "MIO66",
"MIO67", "MIO68", "MIO69";
bias-disable;
low-power-enable;
};
conf-mdio {
groups = "mdio3_0_grp";
slew-rate = <0x1>;
power-source = <0x1>;
bias-disable;
};
mux-mdio {
function = "mdio3";
groups = "mdio3_0_grp";
};
mux {
function = "ethernet3";
groups = "ethernet3_0_grp";
};
};
};