public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: David Hawkins <dwh@ovro.caltech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Latest git not working for MPC8349EMDS
Date: Wed, 02 May 2007 10:48:20 -0700	[thread overview]
Message-ID: <4638CEE4.2080507@ovro.caltech.edu> (raw)
In-Reply-To: <CF7E46FCFF66AD478BB72724345289EC279639@twx-exch01.twacs.local>

Hi Michael,

>> Confusing eh!?
> 
> Very!  Thank you for explaining it.

No problem!

>> Look at the p14, and follow along with that example, see if you
>> can see the right bytes in memory.
> 
> Almost, but not quite.  For one, the flash was locked, and that was why
> the flash erase/copy would not take before.  Secondly, the eleventh byte
> is different, which I think just means I have a different rev than
> yours, 0x43 vs. 0x7f (and I can verify that it is a read-only register):
> 
> => md.b f8000000 20
> f8000000: 2f 0c 40 08 86 af 07 33 ff ff 43 12 ff ff ff 02
> /. at ....3..C.....
> f8000010: 22 07 05 19 24 ff ff ff ff ff ff ff ff ff ff ff
> "...$...........

I don't have the PDF around just at the moment, but I
suspect that you are right.

>> Take the time to read the document I sent. Read the MPC8349 manual
>> with regards to resetting the processor. Eventually it'll make
>> sense. I found it confusing to start with. Hopefully this will
>> help you.
>>
> Big help already, I was able to flash the new u-boot to fe000000, when I
> could not before.  Unfortunately, I am still booting to the old u-boot
> at fff00000(?)  I apologize if I am being dense, but I thought your
> document indicates flashing fe000000 with a u-boot.bin would be all that
> is required to boot from low memory.

For the board to low-memory boot, the HRCW has to indicate low-boot.
I'm pretty sure all I did was write the new HRCW to the first
sector of Flash (or maybe it comes with the U-Boot image, I can't
recall). I think there may also be a jumper setting you need to
change to tell the hardware to read the HRCW from flash rather
than the headers.

A little more reading should get you booted. But if you can't figure
it out, let me know and I'll take a look later on.

Dave

  reply	other threads:[~2007-05-02 17:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 20:12 [U-Boot-Users] Latest git not working for MPC8349EMDS Benedict, Michael
2007-05-01 20:33 ` David Hawkins
2007-05-01 21:12   ` Benedict, Michael
2007-05-01 21:24     ` Timur Tabi
2007-05-01 21:30     ` David Hawkins
2007-05-02 17:29       ` Benedict, Michael
2007-05-02 17:48         ` David Hawkins [this message]
2007-05-02 17:54           ` Timur Tabi
2007-05-02 17:48         ` Timur Tabi
2007-05-02 17:54           ` David Hawkins
2007-05-02 17:56             ` Timur Tabi
2007-05-02 18:10               ` Benedict, Michael
2007-05-02 18:32                 ` David Hawkins
2007-05-02 18:33                 ` Timur Tabi
2007-05-02 18:49                   ` Benedict, Michael
2007-05-02 20:59                     ` David Hawkins

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=4638CEE4.2080507@ovro.caltech.edu \
    --to=dwh@ovro.caltech.edu \
    --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