public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] commit "powerpc: Remove warm reset entry point" does not work on mpc83xx
Date: Tue, 19 Oct 2010 22:04:17 +0200	[thread overview]
Message-ID: <20101019200417.AA7D1136320@gemini.denx.de> (raw)
In-Reply-To: <OFBC383CCF.86B567D6-ONC12577C1.006A80D5-C12577C1.006AA773@transmode.se>

Dear Joakim Tjernlund,

In message <OFBC383CCF.86B567D6-ONC12577C1.006A80D5-C12577C1.006AA773@transmode.se> you wrote:
>
> > During normal use I thought that the reset entry point was always
> > 0xXXXXX100 and a warm reset would never occur.
> 
> I am not so sure about this. Perhaps the Freescale guys can set us 
> straight?

Originally U-Boot (well, PPCBoot, to be more precise) had this notion
of a "warm start", but I quickly learned that this makes little sense
in a boot loader. When we execute the "reset" command,. we usually
want to _really_ reset the system into operational mode, including
not only the CPU itself but also co-processors (which might be running
some form of microcode or DMA), external controllers (to stop them
from doing DMA or other data transfers), NOR flash (to make sure it is
in read mode so we can execute code from it), etc.

Whenever this was not possible (usually due to hardware design
"features") this almost always was experienced as a "bug in U-Boot"
because there were situations where the board could only be reset
through full power cycle.

My recommendation is: stop thinking of "warm boot"; either perform a
"reset" (and that be a real, hard reset of the CPU core and all
peripherals), or just continue to run ;-)

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Wenn Du ein' weise Antwort verlangst, Mu?t Du vern?nftig fragen.
                                                -- Goethe, Invektiven

  reply	other threads:[~2010-10-19 20:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 10:07 [U-Boot] commit "powerpc: Remove warm reset entry point" does not work on mpc83xx Joakim Tjernlund
2010-10-19 15:51 ` Peter Tyser
2010-10-19 17:14   ` Joakim Tjernlund
2010-10-19 18:39     ` Peter Tyser
2010-10-19 19:24       ` Joakim Tjernlund
2010-10-19 20:04         ` Wolfgang Denk [this message]
2010-10-19 21:06           ` Joakim Tjernlund
2010-10-19 21:13             ` Wolfgang Denk
2010-10-19 21:24               ` Joakim Tjernlund

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=20101019200417.AA7D1136320@gemini.denx.de \
    --to=wd@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