public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* redboot flash problem
@ 2005-09-07  9:39 Slobodan Lukovic
  0 siblings, 0 replies; only message in thread
From: Slobodan Lukovic @ 2005-09-07  9:39 UTC (permalink / raw)
  To: ecos-devel

Hello!

We are research group at the EPFL(Swiss Institute of Technology). We
are using Altera EPXA1 board with two flash memory types: ST M58LW064D
and INTEL TE28F640J3C120. We are using our flasher that is developed
in our lab and we can program both flashes with RedBoot. But after
that we can't further program the flash (with file system and kernel)
nither by our flasher nor by RedBoot. We got these messages from
redboot(that is installed and run from the flash!):

 uBoot via JTAG - Version 1.0

 +FLASH configuration checksum error or invalid key


 RedBoot(tm) bootstrap and debug environment [RAM]

 Non-certified release, version v2_0 - built 10:12:36, Feb  6 2004


 Platform: RokEPXA system (ARM9)

 Copyright (C) 2000, 2001, 2002, Red Hat, Inc.


 RAM: 0x00000000-0x04000000, 0x0000ec08-0x03fd1000 available

 FLASH: 0x40000000 - 0x40800000, 64 blocks of 0x00020000 bytes each.

 RedBoot> load -r -b 0x2000000

 Raw file loaded 0x02000000-0x025c2158, assumed entry at 0x02000000

 xyzModem - CRC mode, 47172(SOH)/0(STX)/0(CAN) packets, 2 retries

 RedBoot> fis create -b 0x02000000 -l 0x0600000 -f 0x40120000 -r
0x02000000 initr

 d
 ... Erase from 0x40120000-0x40720000:
..........................................
 ......
 ... Program from 0x02000000-0x02600000 at 0x40120000: Err = 92

 Can't program region at 0x40120000: Error trying to program
 RedBoot> fis unlock -f 0x4120000 -l 0x600000
 Invalid FLASH address 0x04120000: Invalid FLASH address
   valid range is 0x40000000-0x407fffff
 RedBoot> fis unlock -f 0x40120000 -l 0x600000
 ... Unlock from 0x40120000-0x40720000:
.........................................
 .......
 RedBoot> fis create -b 0x02000000 -l 0x600000 -f 0x40120000 -r
0x02000000 initrd
 ... Erase from 0x40120000-0x40720000:
..........................................
 ......
 ... Program from 0x02000000-0x02600000 at 0x40120000: Err = 92
 

 Can't program region at 0x40120000: Error trying to program

 RedBoot>

******************

As you can see there is some 'configuration checksum error or invalid
key' that results in that we can't errase or program the flash later.
The strange thing is that we already have redboot in the flash!



Thanks in advance for any kind of help



Slobodan Lukovic

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-07  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-07  9:39 redboot flash problem Slobodan Lukovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).