U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Niklaus Giger <Niklaus.Giger@netstal.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] icache/dcache not working on PPC440
Date: Fri, 2 Mar 2007 16:51:53 +0100	[thread overview]
Message-ID: <es9h6q$2gp$1@sea.gmane.org> (raw)

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

             reply	other threads:[~2007-03-02 15:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-02 15:51 Niklaus Giger [this message]
2007-03-02 16:49 ` [U-Boot-Users] icache/dcache not working on PPC440 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='es9h6q$2gp$1@sea.gmane.org' \
    --to=niklaus.giger@netstal.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox