public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jaap-Jan Boor <jjboor@aimsys.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: [PATCH] 8xx: fix initialation bug/race condition between u-boot & linux
Date: Wed, 18 Jun 2003 10:32:29 +0200	[thread overview]
Message-ID: <3EF0239D.4266F731@aimsys.nl> (raw)
In-Reply-To: 20030618071646.6F0E8C5FD7@atlas.denx.de

Hi Wolfgang,

Wolfgang Denk wrote:
> 
> In message <3EF00E16.3050604@intracom.gr> you wrote:
> >
> >   I think it's just proper defensive programming to always
> > do a CP reset in that case, and as soon as possible.
> 
> Then probably the boot loader should do it before starting the  Linux
> kernel.

This would be a mostly hidden requirement for any boot loader towards
the ppc linux kernel. 

> 
> > The best thing we could do is do the reset at head_8xx.S.
> 
> Note that such a change will kill all attempts for ealy debug  output
> over the serial console port.

That would also be the case when the boot loader does it. The kernel
will initialize the uart again very early isn't it?
And is a CP reset enough? I think I remember you also have to unlock
the pram section that is used for uCode.

just some thoughts,

Jaap-Jan

> 
> Wolfgang Denk
> 
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
> The one who says it cannot be done should never interrupt the one who
> is doing it.
> 
> ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

-- 
J.G.J. Boor			  Anton Philipsweg 1
Software Engineer		  1223 KZ Hilversum
AimSys bv              		  tel. +31 35 689 1941
Postbus 2194, 1200 CD Hilversum   mailto:jjboor at aimsys.nl

  parent reply	other threads:[~2003-06-18  8:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17 12:43 [U-Boot-Users] [PATCH] 8xx: fix initialation bug/race condition between u-boot & linux Pantelis Antoniou
2003-06-17 18:54 ` [U-Boot-Users] " Tom Rini
2003-06-18  7:00   ` Pantelis Antoniou
2003-06-18  7:16     ` Wolfgang Denk
2003-06-18  7:35       ` Pantelis Antoniou
2003-06-18  8:32       ` Jaap-Jan Boor [this message]
2003-06-18 14:18         ` Tom Rini
2003-06-18 18:56 ` Dan Malek
2003-06-19  6:23   ` [U-Boot-Users] Re: [PATCH] 8xx: fix initialization " Pantelis Antoniou
2003-06-19  8:31     ` Wolfgang Denk
2003-06-19  9:21       ` Pantelis Antoniou
2003-06-19 10:09         ` Wolfgang Denk
2003-06-19 14:40     ` Tom Rini

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=3EF0239D.4266F731@aimsys.nl \
    --to=jjboor@aimsys.nl \
    --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