Marvell MV6281 OpenRD client mge1

Matthias Reyelt Matthias.Reyelt at brunel.de
Tue Nov 10 10:50:07 UTC 2009


Hi,

I have changed the PHY address for mge1 to 0x18 in the code, and the second 
PHY is now correctly detected. I can ifconfig the interface and I am able to 
receive packets. I am not able to send packets yet. 

If I ping mge1 over the network tcpdump reports the ARP requests and it 
reports the ARP replies as well. The replies do not reach the cable though. 
(They aren't sent to mge0 either). 
I haven't yet found out, where the packets get lost, they seem to pass 
mge_start_locked() correctly. I will check the register settings.  

Matthias



Am Freitag 06 November 2009 14:35:55 schrieb Matthias Reyelt:
> Hi,
> 
> I have built a linux kernel with some debug code and found out that the base 
> address for the second phy is not at 0x09 but at 0x18. Actually it's in the 
> config files, but I wasn't looking for an extra configuration for this board 
> before. 
> 
> I think this would require a patch to mge_miibus_readreg(), because it's a 
> different mapping. Is that correct?
> 
> I will do a quick patch on monday to test it. Are there other files that 
have 
> to be patched, Rafal? 
> 
> Matthias
>  
> 



-- 
Dr.-Ing. Matthias Reyelt
Master Software Designer

Brunel GmbH
Bereich Communications
Daimlerring 9
31135 Hildesheim

Tel: +49 5121 1760 805
Fax: +49 5121 1760 999
email: Matthias.Reyelt at brunel.de
Internet: www.brunel.de

Hauptsitz: Airport City, Hermann-Köhl-Str. 1, 28199 Bremen
Amtsgericht Bremen HRB 16935
General Manager: Johan Arie van Barneveld


More information about the freebsd-arm mailing list