This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

redboot flash problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]