public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] PPC440GX TLB setting problem.
Date: Fri, 24 Jul 2009 08:52:46 +0200	[thread overview]
Message-ID: <200907240852.46998.sr@denx.de> (raw)
In-Reply-To: <4CD35CD1F8085945B597F80EEC8942130348D991@exc01.bk.prodrive.nl>

Hi Wouter,

On Thursday 23 July 2009 20:39:44 Wouter Eckhardt wrote:
> I'm working on trying to get VxWorks to boot on a PPC440GX processor
> using U-Boot, using an ALPR board. In order to boot VxWorks properly (it
> expects caching on the SDRAM to be disabled), I created a new board
> directory and such (based on the ALPR board), and then changed the TLB
> settings in init.S.

Are you sure that the cache needs to be disabled? Perhaps it just needs to get 
properly flushed before booting VxWorks? Just checking.

> My problem is that when my new U-Boot has booted, the TLBs are not
> configured as I have programmed them. I verified this using a BDI
> debugger. The TLB settings are still the same as the settings the
> original ALPR U-Boot used. I'm really at a loss here. It seems that no
> matter what I try (I tried quite a few variantions of the TLB settings),
> the TLB settings won't change.
>
> So now I several, related, questions:
> - What could be the cause of this? Have I done something wrong?

This could have multiple reasons. Are you sure that you are running the 
freshly compiled image on the board? Did you check the build time?

> - Is U-Boot reconfiguring the TLBs after init.S has executed?

Yes. But only one (IIRC). The first TLB for bootrom access. Caching will be 
disabled before relocating to SDRAM.

> - If so, how can I control those TLBs?

All other TLB's should be the same.

Not sure what's going wrong here.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2009-07-24  6:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 18:39 [U-Boot] PPC440GX TLB setting problem Wouter Eckhardt
2009-07-24  6:52 ` Stefan Roese [this message]
2009-07-24  7:48   ` Wouter Eckhardt
2009-07-24  8:45     ` Stefan Roese

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=200907240852.46998.sr@denx.de \
    --to=sr@denx.de \
    --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