public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Command "dcache on" for MPC850 isn't valid
@ 2007-04-11  5:09 gshan
  2007-04-11 13:09 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: gshan @ 2007-04-11  5:09 UTC (permalink / raw)
  To: u-boot

Hi All,

I got a problem recently and have to send this mail for resolution. The 
configuration I'm using:

CPU:     MPC8xx
U-boot: 1.1.4
Linux   : 2.6.15
ELDK  : 4.0

As everyone knew, uboot for MPC850 didn't turn on data cache, but 
instruction cache is on. In order to test data cache, I added 
CFG_CMD_CACHE  for CONFIG_COMMANDS. However, the CPU is spinning once I 
issue command "dcache on".

Any ideas on this?

Thanks,
Gavin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Command "dcache on" for MPC850 isn't valid
  2007-04-11  5:09 [U-Boot-Users] Command "dcache on" for MPC850 isn't valid gshan
@ 2007-04-11 13:09 ` Wolfgang Denk
  2007-04-12  2:20   ` gshan
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2007-04-11 13:09 UTC (permalink / raw)
  To: u-boot

In message <461C6D9A.7010001@alcatel-lucent.com> you wrote:
> 
> As everyone knew, uboot for MPC850 didn't turn on data cache, but 

Yes, and for a very good reason, which is explained in detail in the
README.

> instruction cache is on. In order to test data cache, I added 
> CFG_CMD_CACHE  for CONFIG_COMMANDS. However, the CPU is spinning once I 
> issue command "dcache on".
> 
> Any ideas on this?

Read the README.

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
"If you'll excuse me a minute, I'm going to have a cup of coffee."
- broadcast from Apollo 11's LEM, "Eagle", to Johnson  Space  Center,
Houston July 20, 1969, 7:27 P.M.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Command "dcache on" for MPC850 isn't valid
  2007-04-11 13:09 ` Wolfgang Denk
@ 2007-04-12  2:20   ` gshan
  2007-04-12  7:26     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: gshan @ 2007-04-12  2:20 UTC (permalink / raw)
  To: u-boot

Denk,

Thanks for your quick response. But linux kernel need to turn on data 
cache at head_8xx.S::initial_mmu.

Thanks,
Gavin

Wolfgang Denk wrote:
> In message <461C6D9A.7010001@alcatel-lucent.com> you wrote:
>   
>> As everyone knew, uboot for MPC850 didn't turn on data cache, but 
>>     
>
> Yes, and for a very good reason, which is explained in detail in the
> README.
>
>   
>> instruction cache is on. In order to test data cache, I added 
>> CFG_CMD_CACHE  for CONFIG_COMMANDS. However, the CPU is spinning once I 
>> issue command "dcache on".
>>
>> Any ideas on this?
>>     
>
> Read the README.
>
> Best regards,
>
> Wolfgang Denk
>
>   

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Command "dcache on" for MPC850 isn't valid
  2007-04-12  2:20   ` gshan
@ 2007-04-12  7:26     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2007-04-12  7:26 UTC (permalink / raw)
  To: u-boot

In message <461D9765.7060502@alcatel-lucent.com> you wrote:
> 
> Thanks for your quick response. But linux kernel need to turn on data 
> cache at head_8xx.S::initial_mmu.

Yes. So what?

PLease don't top post / full quote. Read
http://www.netmeister.org/news/learn2quote.html

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
Wenn Du ein' weise Antwort verlangst, Mu?t Du vern?nftig fragen.
                                                -- Goethe, Invektiven

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-12  7:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-11  5:09 [U-Boot-Users] Command "dcache on" for MPC850 isn't valid gshan
2007-04-11 13:09 ` Wolfgang Denk
2007-04-12  2:20   ` gshan
2007-04-12  7:26     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox