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] [PATCH v3] ppc4xx: Add GDsys CompactCenter board support.
Date: Tue, 14 Jul 2009 14:38:27 +0200	[thread overview]
Message-ID: <200907141438.27642.sr@denx.de> (raw)
In-Reply-To: <48D3D52125C49B43AE880038E2E5314B025D0F@SRV101.gdsys.de>

On Tuesday 14 July 2009 14:31:50 Eibach, Dirk wrote:
> > > Hmm, not sure yet what causes the problem here, but this changes in
> > > cpu/ppc4xx/start.S look fishy...
>
> I found that the old code does not clear TLB entry #0.
> So this helps in my case:

Yes, I already generated exactly this patch here as well. :)

> diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S
> index ac96fc2..7be73a7 100644
> --- a/cpu/ppc4xx/start.S
> +++ b/cpu/ppc4xx/start.S
> @@ -452,7 +452,7 @@ skip_debug_init:
>         addis   r0,0,0x0000
>         li      r1,0x003f       /* 64 TLB entries */
>         mtctr   r1
> -       li      r4,0            /* Start with TLB #0 */
> +       li      r4,1            /* Start with TLB #1 */
>  rsttlb:
>  #ifdef CONFIG_SYS_RAMBOOT
>         tlbre   r3,r4,0         /* Read contents from TLB word #0 to get
> EPN */
>
> But I am not sure if it's also correct for the RAMBOOT case. What's your
> opinion, Stefan?

Unfortunately, RAM-booting on Sequoia doesn't work in all cases (started via 
BDI) on Sequoia with this patch. I'm still investigating...

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-14 12:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-13  9:28 [U-Boot] [PATCH v3] ppc4xx: Add GDsys CompactCenter board support Dirk Eibach
2009-07-13  9:40 ` Stefan Roese
2009-07-13 13:45 ` Felix Radensky
2009-07-13 13:56   ` Stefan Roese
2009-07-13 14:07     ` Eibach, Dirk
2009-07-13 14:21       ` Stefan Roese
2009-07-13 14:28         ` Eibach, Dirk
2009-07-13 14:45           ` Stefan Roese
2009-07-14  9:19             ` Eibach, Dirk
2009-07-14  9:25               ` Stefan Roese
2009-07-14 12:31                 ` Eibach, Dirk
2009-07-14 12:38                   ` Stefan Roese [this message]

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=200907141438.27642.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