public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Tyser <ptyser@xes-inc.com>
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 13:39:41 -0500	[thread overview]
Message-ID: <1287513581.28856.14110.camel@petert> (raw)
In-Reply-To: <OF37EE87DE.4AD5E69F-ONC12577C1.005DDEF4-C12577C1.005EBD15@transmode.se>

> > > It seems like my board uses the warm start vector at all times.
> > > Padding with 4 nop's after the _start symbol fixes the problem.
> > > It might be due to a somewhat peculiar reset design but I cannot 
> > > understand
> > > why. Does this work for everyone else using 83xx?
> > 
> > Odd...  I don't have an 83xx board to test on unfortunately.  Nothing
> > jumps out as being obviously wrong in the assembly:
> 
> The difference is that I suspect execution starts at 0xXXXXXX110 rather
> than 0xXXXXXX100. BTW, I have my reset vector at 0x0
> 
> What causes a warm reset?

My understanding is that a warm reset on the 8xxx CPUs isn't really a
hardware reset - its just when code explicitly jumps to the warm reset
entry point.  For example, this board used to jump to _start_warm when
"reset" was ran in U-Boot: 
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=3792d7436e2bf881b6abdede5a481a62b5dedd55

During normal use I thought that the reset entry point was always
0xXXXXX100 and a warm reset would never occur.

What is the power on reset process like on your board?

Best,
Peter

  reply	other threads:[~2010-10-19 18:39 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 [this message]
2010-10-19 19:24       ` Joakim Tjernlund
2010-10-19 20:04         ` Wolfgang Denk
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=1287513581.28856.14110.camel@petert \
    --to=ptyser@xes-inc.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