Marvell Kirkwood 6281 mge1 interface
Rafal Jaworowski
raj at semihalf.com
Thu Nov 5 14:16:11 UTC 2009
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)
More information about the freebsd-arm
mailing list