Booting FreeBSD on MPC8540 eval board

Marcel Moolenaar xcllnt at mac.com
Thu Mar 13 16:58:29 UTC 2008


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 at mac.com




More information about the freebsd-embedded mailing list