From: Andrew Wozniak <awozniak@mc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PPC440GX reset command doesn't work
Date: Tue, 07 Jun 2005 12:38:01 -0400 [thread overview]
Message-ID: <42A5CD69.7040800@mc.com> (raw)
In-Reply-To: <42A5B765.8010304@mc.com>
Andrew Wozniak wrote:
> We have a custom PPC440GX board running a ported version of U-Boot based
> on the OCOTEA codebase. Most U-Boot commands are working - life is good.
>
> Except for the 'reset' command. The do_reset() source code at
> cpu/ppc4xx/cpu.c appears to be the function for doing the reset via the
> PPC "debug control register". The PPC manual shows that a cpu reset is
> possible thru this register, but I'm a PPC assembly newbee and need to
> figure it out the macros in the cpu.c source code.
>
> Just wondering if anyone else with a PPC440 target had any special
> modifications to make 'reset' work.
Ok, understand the assembly macro (except for the ::: "r3"). Must have
something to do with do_reset args?
Anyway, it appears that a PPC "system reset" does not work as
implemented via DBCR0 value 0x30000000.
If I change the value to 0x20000000 to do a "chip reset", the U-Boot
'reset' command works!
Is this an appropriate solution or might our hardware design have a flaw?
Thanks for all suggestions.
> Thank you.
next prev parent reply other threads:[~2005-06-07 16:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-07 15:04 [U-Boot-Users] PPC440GX reset command doesn't work Andrew Wozniak
2005-06-07 16:38 ` Andrew Wozniak [this message]
2005-06-07 17:29 ` Travis B. Sawyer
2005-06-07 17:47 ` Andrew Wozniak
-- strict thread matches above, loose matches on Subject: below --
2005-06-07 18:11 Howard, Marc
2005-06-07 19:33 ` Andrew Wozniak
2005-06-08 6:40 Mészáros Lajos
2005-09-01 16:24 Renaud Barbier
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=42A5CD69.7040800@mc.com \
--to=awozniak@mc.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