[U-Boot-Users] SDRAM cache inhibit

David Clark dlclark at chtech.com
Wed Mar 7 16:35:49 CET 2007

> See the README. "Data cache ... cannot be disabled ..."

To be thorough, I am not disabling cache; I am instead marking the SDRAM
as cache inhibited via the BAT registers.  

It was my understanding (apparently incorrect), from the README that the
reason "Data cache ... cannot be disabled ..." was due to the (mis-) use
cache for initialization purposes.  In my case my data cache is still
enabled and my CFG_INIT_RAM_ADDR block is still cacheable.  

Is my understanding flawed?

David Clark
Senior Software Engineer
C&H Technologies, Inc
Web: http:\\www.chtech.com
Phone: 512-733-2621
Fax: 512-733-2629
Email: dlclark at chtech.com

-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de] 
Sent: Tuesday, March 06, 2007 6:06 PM
To: David Clark
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] SDRAM cache inhibit 

In message <008001c7604a$661c0ff0$0f01a8c0 at longhorn> you wrote:
> using an MPC8245 and have tried the following combination of iBAT and
> In summary U-boot works with caching but it fails whenever the dBAT is
> set to cache inhibit for the SDRAM.  Is this expected operation or is
> further indication of an SDRAM problem?

See the README. "Data cache ... cannot be disabled ..."

Best regards,

Wolfgang Denk

DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"You know, after a woman's raised a family and so on,  she  wants  to
start living her own life."   "Whose life she's _been_ living, then?"
                                  - Terry Pratchett, _Witches Abroad_

More information about the U-Boot mailing list