[meta-xilinx] ZC702 PHY address scan query

Joe Nicholson joe at joenicholson.co.uk
Thu Apr 23 02:32:38 PDT 2015


Hi Nathan

Thanks for getting back.  It's great to know I wasn't going mad expecting the PHY address to not need to be scanned!!

If you wouldn't mind quickly backporting this onto the Dizzy branch I'd be v grateful.

Cheers!

Joe


-----Original Message-----
From: Nathan Rossi [mailto:nathan at nathanrossi.com] 
Sent: 23 April 2015 04:53
To: Joe Nicholson
Cc: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] ZC702 PHY address scan query

On Thu, Apr 16, 2015 at 8:58 PM, Joe Nicholson <joe at joenicholson.co.uk> wrote:
> Hi Guys
>
>
>
> When I build for the zc702-zynq7 core-image-minimal under Dizzy, I get 
> the following at boot time.  (It’s a standard build using zc702-zynq7 
> machine
> config)
>
>
>
> Is there are way of suppressing this scan?

Hi Joe,

Sorry for the delay responding.

This scanning is caused because the bindings for the phy node differ between the macb driver and the linux-xlnx emacps driver. The macb driver does not honor the phy-handle property and so with the older binding for the phy node in the meta-xilinx device-trees it fails to see the defined phy node and instead goes and scans for a phy.

I have since updated the bindings in meta-xilinx (master branch) to use bindings that work for both drivers. See commit http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/commit/?id=965b8e54c45b60e9d346178c8285552c3d70c28d

If you need i can back port this to the dizzy branch. Just let me know.

Regards,
Nathan

>
>
>
> [    0.988656] mdio_bus e000b000.ps7-eth: /amba at 0/ps7-ethernet at e000b000/mdio
> has invalid PHY address
>
> [    0.997546] mdio_bus e000b000.ps7-eth: scan phy mdio at address 0
>
> [    1.003727] mdio_bus e000b000.ps7-eth: scan phy mdio at address 1
>
> [    1.009845] mdio_bus e000b000.ps7-eth: scan phy mdio at address 2
>
> [    1.015935] mdio_bus e000b000.ps7-eth: scan phy mdio at address 3
>
> [    1.022268] mdio_bus e000b000.ps7-eth: scan phy mdio at address 4
>
> [    1.028356] mdio_bus e000b000.ps7-eth: scan phy mdio at address 5
>
> [    1.034472] mdio_bus e000b000.ps7-eth: scan phy mdio at address 6
>
> [    1.040594] mdio_bus e000b000.ps7-eth: scan phy mdio at address 7
>
> [    1.047196] mdio_bus e000b000.ps7-eth: scan phy mdio at address 8
>
> [    1.053311] mdio_bus e000b000.ps7-eth: scan phy mdio at address 9
>
> [    1.059396] mdio_bus e000b000.ps7-eth: scan phy mdio at address 10
>
> [    1.065595] mdio_bus e000b000.ps7-eth: scan phy mdio at address 11
>
> [    1.071792] mdio_bus e000b000.ps7-eth: scan phy mdio at address 12
>
> [    1.077962] mdio_bus e000b000.ps7-eth: scan phy mdio at address 13
>
> [    1.084159] mdio_bus e000b000.ps7-eth: scan phy mdio at address 14
>
> [    1.090358] mdio_bus e000b000.ps7-eth: scan phy mdio at address 15
>
> [    1.096528] mdio_bus e000b000.ps7-eth: scan phy mdio at address 16
>
> [    1.102727] mdio_bus e000b000.ps7-eth: scan phy mdio at address 17
>
> [    1.108898] mdio_bus e000b000.ps7-eth: scan phy mdio at address 18
>
> [    1.115095] mdio_bus e000b000.ps7-eth: scan phy mdio at address 19
>
> [    1.121298] mdio_bus e000b000.ps7-eth: scan phy mdio at address 20
>
> [    1.127473] mdio_bus e000b000.ps7-eth: scan phy mdio at address 21
>
> [    1.133662] mdio_bus e000b000.ps7-eth: scan phy mdio at address 22
>
> [    1.139857] mdio_bus e000b000.ps7-eth: scan phy mdio at address 23
>
> [    1.146030] mdio_bus e000b000.ps7-eth: scan phy mdio at address 24
>
> [    1.152222] mdio_bus e000b000.ps7-eth: scan phy mdio at address 25
>
> [    1.158390] mdio_bus e000b000.ps7-eth: scan phy mdio at address 26
>
> [    1.164577] mdio_bus e000b000.ps7-eth: scan phy mdio at address 27
>
> [    1.170765] mdio_bus e000b000.ps7-eth: scan phy mdio at address 28
>
> [    1.176939] mdio_bus e000b000.ps7-eth: scan phy mdio at address 29
>
> [    1.183125] mdio_bus e000b000.ps7-eth: scan phy mdio at address 30
>
> [    1.189299] mdio_bus e000b000.ps7-eth: scan phy mdio at address 31
>
> [    2.269607] macb e000b000.ps7-ethernet eth0: Cadence GEM at 0xe000b000
> irq 54 (00:0a:35:00:01:22)
>
> [    2.278407] macb e000b000.ps7-ethernet eth0: attached PHY driver [Marvell
> 88E1116R] (mii_bus:phy_addr=e000b000.ps7-eth:07,)
>
>
>
> Cheers!
>
>
>
> Joe
>
>
>
>
>
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>




More information about the meta-xilinx mailing list