[U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC

Wolfgang Denk wd at denx.de
Sun Nov 27 19:49:24 CET 2011


Dear Ilya Yanok,

In message <4ED2835F.4010802 at emcraft.com> you wrote:
> 
> > But the cahce support works fine for a lot of things - basicly
> > everything except for the broken drivers.  Why do you want to make ALL
> > user suffer from this, even if they don't intend to use the broken
> > driver(s) at all?
> 
> Please note that I've already fixed the driver itself but the patch is
> still not accepted (because of this problem).

Because of which problem?


> >> But cache support is incomplete is the problem.  None of the flushing
> >> operations exist.
> > 
> > Then fix _THAT_.
> 
> Hm. So I've fixed the broken driver but you aren't going to accept the
> patch and say "Please go ahead and fix arm926ejs cache support also".
> But it's not even the SoC type I'm working with...

I am aware of this. I don't think I rejected your driver patch.

I also did not say _you_ are supposed to add the necessary level of
cache support for all SoCs that need it.

> Alternatively we can just drop the driver cache-related fix, leave the
> driver broken and work with the network with "dc off" trick on AM35x also.
> 
> Do you think this will be better?

I think we have a number of different proposals here.  My assessment
is:

Worst:  permanently disable data chache on all boards

slightly better:  leave the driver broken and use "dc off" before
        running any network related commands

best:  fix the driver and cache support and permanently enable it.


It appears we cannot have the best solution at the moment, so we
should target for the second best one, but not for the worst one.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The day-to-day travails of the IBM programmer are so amusing to  most
of us who are fortunate enough never to have been one - like watching
Charlie Chaplin trying to cook a shoe.


More information about the U-Boot mailing list