[U-Boot-Users] Latest git not working for MPC8349EMDS

Benedict, Michael MBenedict at twacs.com
Wed May 2 19:29:30 CEST 2007

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:

=> md fe000000
fe000000: 04040404 04040404 04040404 04040404    ................
fe000010: 00000000 00000000 00000000 00000000    ................
fe000020: b0b0b0b0 b0b0b0b0 60606060 60606060    ........````````
fe000030: a0a0a0a0 a0a0a0a0 00000000 00000000    ................
fe000040: 27051956 552d426f 6f742031 2e322e30    '..VU-Boot 1.2.0
fe000050: 2d673134 64613566 37362028 4d617920    -g14da5f76 (May
fe000060: 20312032 30303720 2d203134 3a33333a     1 2007 - 14:33:
fe000070: 33342920 4d504338 33585800 00000000    34) MPC83XX.....
=> reset
Resetting the board.

U-Boot 1.1.3 (Dec 21 2006 - 11:05:55) MPC83XX

Clock configuration:
  Coherent System Bus:  264 MHz
  Core:                 528 MHz
  Local Bus Controller: 528 MHz
  Local Bus:            132 MHz
  DDR:                  264 MHz
  SEC:                   88 MHz
  I2C1:                 264 MHz
  I2C2:                 264 MHz
  TSEC1:                264 MHz
  TSEC2:                264 MHz
  USB MPH:               88 MHz
  USB DR:                88 MHz
CPU: MPC8349E, Rev: 31 at 528 MHz
Board: Freescale MPC8349MDS
I2C:   ready
   DDR DIMM: data bus width is 64 bit with ECC
   DDRC ECC mode: ON
   SDRAM on Local Bus is NOT available!
   DDR RAM: 256 MB
In:    serial
Out:   serial
Err:   serial
Net:   Freescale TSEC0: PHY is Marvell 88E1111 (1410cc2)
Freescale TSEC1: PHY is Marvell 88E1111 (1410cc2)
Freescale TSEC0, Freescale TSEC1
Hit any key to stop autoboot:  0

Thank you again for all your help!

More information about the U-Boot mailing list