[U-Boot-Users] Bug in AT91RM9200: icache not enabled!

Paugam Luc luc.paugam at thomson.net
Wed Mar 30 09:19:02 CEST 2005


Dear Steven,

I saw your patch and tried it. Thanks for pointing out that I-Cache
wasn't enabled.

However, isn't it too dangerous to enable D-Cache too?
Because usually U-Boot recommends to disable it?

Regards - Luc

-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Steven
Scholz
Sent: dimanche 13 mars 2005 17:00
To: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Bug in AT91RM9200: icache not enabled!

Hi,

>>while finding out why the loading of my FPGA takes so long with the
latest CVS 
>>version of U-Boot I noticed that the icache for the AT91RM9200 is not
enabled 
>>although icache_enable() is called in cpu/at91rm9200/start.S:

>>Please comment on this. I am willing to sent appropriate patches.
> 
> Please send a patch so I can test how it works.

* Patch by Steven Scholz, 13 March 2005:
   fix cache enabling for AT91RM9200


Please remove the line

	orr     r0, r0, #0x00000004     @ set bit 3 (C) D-Cache

if we don't need the data cache for the AT91RM9200. I am not sure if
they will 
help for CRCs or unzipping...

-- 
Steven





More information about the U-Boot mailing list