Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 2009 15:16:08 +0100
From:      Rafal Jaworowski <raj@semihalf.com>
To:        Matthias Reyelt <Matthias.Reyelt@brunel.de>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Marvell Kirkwood 6281 mge1 interface
Message-ID:  <C37D237E-B40C-496A-8AAB-D75D065727D2@semihalf.com>
In-Reply-To: <200911051423.52940.Matthias.Reyelt@brunel.de>
References:  <200911040956.09749.Matthias.Reyelt@brunel.de> <200911041142.32349.Matthias.Reyelt@brunel.de> <F56B3167-E60F-413F-8F35-1AE8732B38F4@semihalf.com> <200911051423.52940.Matthias.Reyelt@brunel.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2009-11-05, at 14:23, Matthias Reyelt wrote:

>> Before trying to identify PHY problems,  can you share all your
>> changes (a diff)? So far all Kirkwood based boards we support had  
>> only
>> a single active Ethernet port, so the Kirkwood platform config only
> Yes, the OpenRD client is rather new, and the board contains an  
> awful lot of
> interfaces (and no fan), really great.

Can you eye inspect the PHY chip connected to the second MAC, is it  
E1116 as well?

BTW: if you managed to get OpenRD to boot, please send a full booting  
log for reference.

>> accounted for a single MAC, have you altered the obio_devices[] in
>> particular?
> I did add the second interface to the obio_devices[], and adjusted  
> the defines
> according to the header files as good as I knew (although I have  
> been aware
> that there would be a reason for the missing interface :-)

Your diff looks fine, however there is missing at least one important  
piece: decode window for the second ETH is not being configured. Try  
adding the change below.

Rafal

diff --git a/sys/arm/mv/common.c b/sys/arm/mv/common.c
index 76758be..b60d0ac 100644
--- a/sys/arm/mv/common.c
+++ b/sys/arm/mv/common.c
@@ -204,7 +204,8 @@ soc_decode_win(void)
         decode_win_cpu_setup();
         decode_win_usb_setup();
         decode_win_eth_setup(MV_ETH0_BASE);
-       if (dev == MV_DEV_MV78100 || dev == MV_DEV_MV78100_Z0)
+       if (dev == MV_DEV_88F6281 ||
+           dev == MV_DEV_MV78100 || dev == MV_DEV_MV78100_Z0)
                 decode_win_eth_setup(MV_ETH1_BASE);
         if (dev == MV_DEV_88F6281 || dev == MV_DEV_MV78100 ||
             dev == MV_DEV_MV78100_Z0)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C37D237E-B40C-496A-8AAB-D75D065727D2>