All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] icache/dcache not working on PPC440
@ 2007-03-02 15:51 Niklaus Giger
  2007-03-02 16:49 ` Stefan Roese
  2007-03-02 16:50 ` [U-Boot-Users] icache/dcache not working on PPC440 Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: Niklaus Giger @ 2007-03-02 15:51 UTC (permalink / raw)
  To: u-boot

Hi

Our HW engineers discovered that the U-Boot commands icache/dcache
do not work on PPC440x boards (at least yosemite and sequoia).

In my opinion icache/dcache work only on PPC40x processors where one
can alter the ICCR/DCCR registert. For the PPC440x register one should
tinker with the corresponding SA_I bit in the TLB.

Has somebody already solved this problem and would be willing to
share his patch?

If not I am willing to work on patch along the following lines:

a) add some C-callable routines to cpu/ppc4xx/start.S to use
the TLB Search Instruction and
b) to modify/setup a TLB from C
c) add in cpu/ppc4xx/cpu.c d/icache_dis/enable procedure
Any objections/comments?

Best regards

Niklaus Giger

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

end of thread, other threads:[~2007-03-04 21:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-02 15:51 [U-Boot-Users] icache/dcache not working on PPC440 Niklaus Giger
2007-03-02 16:49 ` Stefan Roese
2007-03-02 16:54   ` Wolfgang Denk
2007-03-02 17:51     ` Stefan Roese
2007-03-04 21:33       ` [U-Boot-Users] Understanding imw & inm Charles Krinke
2007-03-02 16:50 ` [U-Boot-Users] icache/dcache not working on PPC440 Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.