zynq_z_turn_defconfig: broken networking

Matwey V. Kornilov matwey.kornilov at gmail.com
Tue Apr 7 09:58:35 CEST 2020


пн, 6 апр. 2020 г. в 12:41, Michal Simek <monstr at monstr.eu>:
>
> Hi,
>
> On 06. 04. 20 10:14, Matwey V. Kornilov wrote:
> > 06.04.2020 11:12, Matwey V. Kornilov пишет:
> >> Hello,
> >>
> >> I am running u-boot 2020.04-rc4-00100-g74bf17db39 with
> >> zynq_z_turn_defconfig configuration on MYIR Z-Turn board.
> >> And I see the following when I am trying to run `dhcp' command.
> >>
> >>
> >> ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
> >> mdio_register: non unique device name 'eth0'
> >> ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
> >> mdio_register: non unique device name 'eth0'
> >> ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
> >> mdio_register: non unique device name 'eth0'
> >> ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
> >> mdio_register: non unique device name 'eth0'
> >> No ethernet found.
> >> ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
> >> mdio_register: non unique device name 'eth0'
> >>
> >
> > Full boot log is the following:
> >
> >
> > U-Boot SPL 2020.04-rc4-00100-g74bf17db39 (Apr 06 2020 - 11:00:45 +0300)
> > mmc boot
> > Trying to boot from MMC1
> > spl_load_image_fat_os: error reading image system.dtb, err - -2
> >
> >
> > U-Boot 2020.04-rc4-00100-g74bf17db39 (Apr 06 2020 - 11:00:45 +0300)
> >
> > CPU:   Zynq 7z010
> > Silicon: v3.1
> > Model: Zynq Z-Turn MYIR Board
> > DRAM:  ECC disabled 1 GiB
> > MMC:   mmc at e0100000: 0
> > In:    serial at e0001000
> > Out:   serial at e0001000
> > Err:   serial at e0001000
> > Net:   ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
> > Could not get PHY for eth0: addr 0
> > No ethernet found.
> >
> > Hit any key to stop autoboot:  0
> >
>
> u-boot is not able to find out your phy. Address is setup 0 which means
> u-boot should do it autodetection. I don't have this board here to tell
> you what can be wrong.
>
> Alex, Anton: Can you please comment it?
>

Is there a chance that something is wrong with ps7_init_gpl.c ?
The Ethernet PHY doesn't work in Linux too with the similar error message.

> Thanks,
> Michal
>
>
>
> --
> Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
> w: www.monstr.eu p: +42-0-721842854
> Maintainer of Linux kernel - Xilinx Microblaze
> Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
> U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
>


-- 
With best regards,
Matwey V. Kornilov


More information about the U-Boot mailing list