Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 09:58:20 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Rafal Jaworowski <raj@semihalf.com>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Booting FreeBSD on MPC8540 eval board
Message-ID:  <62FE92BB-0272-46A7-BDA9-5992FDE2F2D9@mac.com>
In-Reply-To: <47D905E8.5020608@semihalf.com>
References:  <be2f52430803120811rf734af3ubf8fff00f253a71d@mail.gmail.com> <47D7FA35.30204@semihalf.com> <be2f52430803130138n5d667b9vef2f8c1f2c5bb128@mail.gmail.com> <47D905E8.5020608@semihalf.com>

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

On Mar 13, 2008, at 3:46 AM, Rafal Jaworowski wrote:

>> Here is some output obtained from uboot :
>>
>> MPC8540EVAL=> mii device
>> MII devices: 'TSEC0' 'TSEC1' 'FEC'
>> Current device: 'TSEC0'
>> MPC8540EVAL=> mii info
>> PHY 0x02: OUI = 0x04DE, Model = 0x0E, Rev = 0x02,  10baseT, HDX
>> PHY 0x04: OUI = 0x5043, Model = 0x06, Rev = 0x02, 100baseT, FDX
>> PHY 0x07: OUI = 0x5043, Model = 0x06, Rev = 0x02,  10baseT, HDX
>> PHY 0x1F: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
>> MPC8540EVAL=>
>> PHY 0x02: OUI = 0x04DE, Model = 0x0E, Rev = 0x02,  10baseT, HDX
>> PHY 0x04: OUI = 0x5043, Model = 0x06, Rev = 0x02, 100baseT, FDX
>> PHY 0x07: OUI = 0x5043, Model = 0x06, Rev = 0x02,  10baseT, HDX
>> PHY 0x1F: OUI = 0x0000, Model = 0x00, Rev = 0x00,  10baseT, HDX
>>
>> Do I need some additional mods in the miibus code that is not in CVS?
>>
>
> I don't think so, just having miibus should suffice. The problem  
> you're having
> is likely caused by a different MAC-PHY topology than is for CDS  
> boards the
> port was mainly tested on.
>
> The hidden assumption we currently have requires a 1:1 mapping  
> between TSEC
> units and PHY numbers they are 'routed' to. We don't deal too well  
> with
> other/mixed MAC-PHY topologies that various systems can have.

We fixed this at Juniper. If you're done with TSEC for now, I
can backport the changes...

-- 
Marcel Moolenaar
xcllnt@mac.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62FE92BB-0272-46A7-BDA9-5992FDE2F2D9>