[U-Boot] Micrel Controller KSZ8841-16MBL

Ben Warren biggerbadderben at gmail.com
Tue Jun 15 18:14:55 CEST 2010


Hi Douglas,

On Tue, Jun 15, 2010 at 7:24 AM, Douglas Lopes Pereira <
douglaslopespereira at gmail.com> wrote:

> Hi all,
>
> I managed to get KS8841 driver recognized by u-boot. But I'm certain that
> it was not in the correct way.
>
> The driver I've found on BlackFin forum was written for a 2008 u-boot
> version and we are working on a 1.3.1 (very old) version. So I just modify
> some function calls.
>
> The problem is that the KS8841 driver does not have a ks884x_initialize
> function. So we created it. All it does is create and fill an eth_device
> structure. Register it using eth_register function and them it should
> initialize the PHY (that is what I suppose it should do).
>
> Since I am not sure on how to do that, I just called the ks884x_init
> function.
>
> It ends in a TRAP message just after the Micrel device being printed at the
> console.
>
> Could anyone point me out some directions to get my driver correctly
> initialized?
>
> Looks like that driver's using the old API.  I have my new one almost
finished and will send it to you today.  Hopefully debugging it will be
trivial.

> Thanks for your time.
>
> Regards,
> Douglas
>
> regards,
Ben


More information about the U-Boot mailing list