public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Latest git not working for MPC8349EMDS
Date: Wed, 02 May 2007 12:48:54 -0500	[thread overview]
Message-ID: <4638CF06.6000608@freescale.com> (raw)
In-Reply-To: <CF7E46FCFF66AD478BB72724345289EC279639@twx-exch01.twacs.local>

Benedict, Michael wrote:
> David Hawkins wrote:
>> Confusing eh!?
> 
> Very!  Thank you for explaining it.
> 
>> 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
> "...$...........
> 
>> 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.  See below:

Not quite.  The HRCW at fe000000 must indicate that you want to boot from fe000000 
(actually, fe000100).  To do that, configure U-Boot with "make MPC8349ITX_LOWBOOT_config" 
and flash that u-boot.bin at fe000000.

> => md fe000000
> fe000000: 04040404 04040404 04040404 04040404    ................
> fe000010: 00000000 00000000 00000000 00000000    ................
> fe000020: b0b0b0b0 b0b0b0b0 60606060 60606060    ........````````
> fe000030: a0a0a0a0 a0a0a0a0 00000000 00000000    ................

Your HRCW is 04040000 b060a000, which means lowboot.  You must have something overriding 
your HRCW.  How is J22 jumpered?

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

  parent 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
2007-05-02 17:54           ` Timur Tabi
2007-05-02 17:48         ` Timur Tabi [this message]
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=4638CF06.6000608@freescale.com \
    --to=timur@freescale.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