public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Slobodan Lukovic <slukovic@gmail.com>
To: ecos-devel@sources.redhat.com
Subject: redboot flash problem
Date: Wed, 07 Sep 2005 09:39:00 -0000	[thread overview]
Message-ID: <50a61a610509070239346c8d8f@mail.gmail.com> (raw)

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

                 reply	other threads:[~2005-09-07  9:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=50a61a610509070239346c8d8f@mail.gmail.com \
    --to=slukovic@gmail.com \
    --cc=ecos-devel@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).