[U-Boot] [PATCH RFC 0/2] dcache on ARM

Armando VISCONTI armando.visconti at st.com
Tue Jan 26 18:21:25 CET 2010


Alessandro,

I don't see the flush_cache() call inside cmd_bootm.c.
Don't you think it is necessary before jumping to Linux?
Or am I missing something?

Rgds,
Arm

Alessandro Rubini wrote:
> These patches enable the dcache for ARM9.  It's mainly an RFC, as some
> details are still to be sorted out, but they work fine (and the speed
> increase is noticeable for kernel boots and cp.b -- didn't make more
> tests.
>
> I tested the code on at91sam9263ek and nhk8815. No makeall at this
> point, as I'm mainly interested in comments here.
>
> This is based on the cache-cp15.c infrastructure set up by
> Jean-Christophe for icache enabling.
>
> I'm sure Drasko Draskovic has better code, but since he has sent
> no a patch yet (asked in Mar 2009, and then again and again),
> here is my approach.
>
> Alessandro Rubini (2):
>   flush cache for arm926
>   arm cp15: setup mmu and enable dcache
>
>  lib_arm/cache-cp15.c |   37 +++++++++++++++++++++++++++++++++++++
>  lib_arm/cache.c      |    6 ++++++
>  2 files changed, 43 insertions(+), 0 deletions(-)
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>   


-- 
-- "Every step appears to be the unavoidable consequence of the
-- preceding one." (A. Einstein) 
-- 
Armando Visconti                  Mobile: (+39) 346 8879146
Senior SW Engineer                Fax:    (+39) 02 93519290
CPG                               Work:   (+39) 02 93519683
Computer System Division          e-mail: armando.visconti at st.com
ST Microelectronics               TINA:   051  4683
                                    
 



More information about the U-Boot mailing list