[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] LAN9118 vice LAN91C111 on MicroBlaze



Hi,

Pisano, Edward A wrote:

> The MicroBlaze Spartan3 SP05 Development Board uses the SMSC LAN91C111
> which is to be retired.  The MicroBlaze SP05 Development Boards will
> eventually be using the SMSC LAN9115-LAN9118 family of MAC/PHY chips,
> but not yet.  Hence, MicroBlaze does not yet support this device.
> 
> SMSC provides a simple linux device driver for use with their LAN9118

OK, that's a good start.

> but the basic OS’s MicroBlaze provides are ‘Standalone’ or
> ‘MicroKernel’, not Linux.  Therefore, I’m looking at embedded Linux
> alternatives for MicroBlaze.

You need to install the "uClinux EDK BSP support" package from here:

http://www.petalogix.com/resources/downloads

Then, uClinux becomes a MicroBlaze OS option in EDK.

> Does uCLinux provide a device driver for the SMSC LAN9118 MAC/PHY chip?

There is a driver in the uClinux source tree for the SMSC9111 - I don't
know if it will work with the 9115-9118 family.

> Are their any specifics regarding the installation of the SMSC simple
> linux device driver, designed for general Linux OS’s, into the uCLinux OS?

It depends on the architecture of the "simple" drivers provided by SMSC.
     At the very least, the things you'll need to change/fix are the

 - IO base address(es), and
 - Interrupt line(es)

Be careful for subtle details like endian conversion, and memory word
alignment.

Regards,

John


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/