[U-Boot] EMAC failure and SPI support for TI DaVinci DM365

Ian Jeffray ijeffray at a2etech.com
Tue Feb 23 22:19:55 CET 2010


Hi Sandeep,

You wrote:
> I checked this feature some days back after I rebased with Wolfgang.
[snip]
> Net:   Ethernet PHY: GENERIC @ 0x01

Well it's good to know that it must be something wrong with my
tools or my board :-)

>> My expectation was that this stuff would work fine out of the box and
>> clearly isn't for me -- I hope this is just something I'm doing wrong
>> here and that someone is able to confirm that the code's kosher and
>> maybe pointers as to what I could have done wrong?
> This is your custom board correct. I am using the Spectrum Digital DM365 EVM

No; I don't have a custom board (yet) - I'm also using the DM365EVM...
which was why I was hoping things would "just work" out of the box.

I guess I'll have to try and debug around the network code directly...
to find out why the "Ethernet PHY:" part isn't being displayed.

Thanks for the dump - it's always really useful to compare output
against a working system!


>> I do notice that the "Net: " line above has no further detail, wheras
>> the TI PSP binary version says "Ethernet PHY: GENERIC @ 0x00"
>> (I've not managed to get a 2009.03 build of my own to run on DM365
>> to compare yet... that's the version TI supplied as binary somehow)
> The other issue might be the updates tot eh EMAC driver. The version that finally was accepted by Ben was submitted by Nick Thompson. It worked fine for me but I'm not sure if something small was missed.
>
> Maybe you can compare the driver that TI release as part of PSP 3.01 and what is there in u-boot at the moment.
> I'll do so myself as soon as I get some free cycles.

That's what I want to do but I guess I must be myopic... I can't
see or find the U-Boot sources in the PSP.   I'll look again.


(Re SPI flash)
> I have not tried SPI FLASH from U-boot myself. I have tried SPI with flash in the kernel.
>
> Did you do all the necessary PINMUX?

Aha! No. I didn't realise I would need to do that myself.  My fault
there then.  I'll investigate this.  Thanks for the pointer!

 > The TI engineer who did the SPI driver for U-boot must have only
 > tested on OMAP L chips. The SPI IP is similar but not same.

A little worrysome ;)   Maybe Davinci SPI support in U-Boot isn't
very well fledged and tested just now - something for me to work on.


Regards,

Ian.





More information about the U-Boot mailing list