public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Flash write crash on MPC8548CDS
@ 2008-02-20 19:13 ksi at koi8.net
  2008-02-20 21:00 ` Andy Fleming
  0 siblings, 1 reply; 16+ messages in thread
From: ksi at koi8.net @ 2008-02-20 19:13 UTC (permalink / raw)
  To: u-boot

1.3.2-rc1-gb6f29c84-dirty crashes on the very first attempt to write in
Flash. After that it gets back to the prompt and _ALL_ subsequent writes
work just fine. Only the very first one fails.

Looks like something is not initialized properly. Before I start digging
does anyone has a fix for it? This is quite new platform for me so it could
take time for me to come up with a fix...

Here is what happens on the very first Flash write attempt (original config
with no changes, stock MPC8548CDS with SW2[1..2] set to "off-off", was
"off-on" out of the box for booting Freescale's U-Boot 1.1.something from
alternate Flash.)

=== Cut ===
U-Boot 1.3.2-rc1-gb6f29c84-dirty (Feb 19 2008 - 13:34:21)

CPU:   8548_E, Version: 2.1, (0x80390021)
Core:  E500, Version: 2.2, (0x80210022)
Clock Configuration:
        CPU:1320 MHz, CCB: 528 MHz,
        DDR: 264 MHz, LBC:  66 MHz
L1:    D-cache 32 kB enabled
        I-cache 32 kB enabled
Board: CDS Version 0x13, PCI Slot 1
CPU Board Revision 0.0 (0x0000)
I2C:   ready
DRAM:  Initializing
     SDRAM: 64 MB
     DDR: 256 MB
FLASH: 16 MB
L2 cache 512KB: enabled
     PCI: 64 bit, unknown MHz, async, host, external-arbiter
                Scanning PCI bus 00
PCI on bus 00 - 02

     PCIE connected to slot as Root Complex (base address e000a000)
PCIE on bus 3 - 3
In:    serial
Out:   serial
Err:   serial
Net:   eTSEC0, eTSEC1, eTSEC2, eTSEC3
Hit any key to stop autoboot:  0 
=> saveenv
Saving Environment to Flash...
Un-Protected 4 sectors
Erasing Flash...
.... done
Erased 4 sectors
Writing to Flash... External Interrupt Exception at PC: ffc1e2c, SR: 29200,
vector=500 irq IACK0 at e00600a0=2
NIP: 0FFC1E2C XER: 00000000 LR: 0FFCEBF4 REGS: 0ff5dc50 TRAP: 0500 DAR:
00000000
MSR: 00029200 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 00029200 0FF5DD40 0FF9DF78 00010000 00000000 00000555 FF800AAA
32C45D1D 
GPR08: 00000000 FF810000 0FF5DD2B 0FFF5404 0FF5DBA0 40ED2D4B 0FFF5100
00000000 
GPR16: 0FFEC778 0FFEE784 00000000 00000000 00000000 00000000 00000000
00000000 
GPR24: 0FF5DD78 0FF5DD88 00000001 FFFFF146 E4010000 0FF5DD33 0FFF572C
0FFF5404 
Call backtrace: 
0FF5DD33 0FFCEB8C 0FFCF8C8 0FFDD27C 0FFDCCCC 0FFD9B50 0FFDF230 
0FFDE944 0FFDEAB0 0FFD2384 0FFC9810 0FFC15FC 
Skipping current instr, Returning to 0x0ffc1e30
done
Protected 4 sectors
=>
=== Cut ===

---
******************************************************************
*  KSI at home    KOI8 Net  < >  The impossible we do immediately.  *
*  Las Vegas   NV, USA   < >  Miracles require 24-hour notice.   *
******************************************************************

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-03-13 16:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 19:13 [U-Boot-Users] Flash write crash on MPC8548CDS ksi at koi8.net
2008-02-20 21:00 ` Andy Fleming
2008-02-20 21:07   ` ksi at koi8.net
     [not found]     ` <2acbd3e40802201643x48969f5emd6644a66eb7d9d0@mail.gmail.com>
     [not found]       ` <Pine.LNX.4.64ksi.0802201646190.18544@home-gw.koi8.net>
2008-02-28  0:26         ` Andy Fleming
2008-02-28  0:39           ` ksi at koi8.net
2008-03-10 12:35             ` Eran Liberty
2008-03-10 14:41               ` Kumar Gala
2008-03-10 15:11                 ` Eran Liberty
2008-03-10 16:38               ` Andy Fleming
2008-03-10 17:05                 ` Eran Liberty
     [not found]                   ` <2acbd3e40803101416h9cb2deay38f16894cca2766f@mail.gmail.com>
     [not found]                     ` <47D63F1B.3070000@extricom.com>
     [not found]                       ` <2acbd3e40803111031n40399ee5q5058b9089df9d6ad@mail.gmail.com>
2008-03-11 18:30                         ` Eran Liberty
2008-03-11 19:08                           ` ksi at koi8.net
2008-03-11 21:06                           ` Andy Fleming
     [not found]                             ` <47D79D72.5030108@extricom.com>
2008-03-12 18:23                               ` Andy Fleming
2008-03-13 15:54                                 ` [U-Boot-Users] dtc n00bie - Flat device Tree nightmare Richard Parsons
2008-03-13 16:20                                   ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox