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 10:51:11 -0500 [thread overview]
Message-ID: <1287503471.28856.13840.camel@petert> (raw)
In-Reply-To: <OFBEF9E8E3.AF8AC3C8-ONC12577C1.0035B9F1-C12577C1.00379A10@transmode.se>
On Tue, 2010-10-19 at 12:07 +0200, Joakim Tjernlund wrote:
> My board has a problem with this change. I added it manually to my tree
> and
> now it wont boot at all(only with BDI2000 connected).
Just to clarify, it won't boot with or without the BDI2000 connected,
correct?
> 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:
===== Pre-commit (works):
fe000100 <_start>:
fe000100: 3a a0 00 01 li r21,1
fe000104: 60 00 00 00 nop
fe000108: 48 00 00 10 b fe000118 <boot_cold>
fe00010c: 00 00 00 00 .long 0x0
fe000110 <_start_warm>:
fe000110: 3a a0 00 02 li r21,2
fe000114: 48 00 00 0c b fe000120 <boot_warm>
fe000118 <boot_cold>:
fe000118: 3c 80 ff 40 lis r4,-192
fe00011c: 60 00 00 00 nop
fe000120 <boot_warm>:
fe000120: 7c a0 00 a6 mfmsr r5
fe000124: 48 00 00 05 bl fe000128 <boot_warm+0x8>
fe000128: 7c e8 02 a6 mflr r7
===== Post-commit (doesn't work):
fe000100 <_start>:
fe000100: 3c 80 ff 40 lis r4,-192
fe000104: 60 00 00 00 nop
fe000108: 7c a0 00 a6 mfmsr r5
fe00010c: 48 00 00 05 bl fe000110 <_start+0x10>
fe000110: 7c e8 02 a6 mflr r7
It'll be interesting to hear if the change affects other boards in the
same way.
Best,
Peter
next prev parent reply other threads:[~2010-10-19 15:51 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 [this message]
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
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=1287503471.28856.13840.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