From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23368 invoked by alias); 7 Sep 2005 09:39:23 -0000 Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org Received: (qmail 23323 invoked by uid 22791); 7 Sep 2005 09:39:15 -0000 Received: from xproxy.gmail.com (HELO xproxy.gmail.com) (66.249.82.194) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 07 Sep 2005 09:39:15 +0000 Received: by xproxy.gmail.com with SMTP id i29so1302772wxd for ; Wed, 07 Sep 2005 02:39:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IbIU2bXv3Ps2M+jdeutbeY+Pqv5eKBrwAtE+3DAvJC1kHDCm74Rhgdgqpymm5dUsFFo+Bv7VnBttyIflZnp/Pq2XkmSuVsRY+9A4B96kEGnMyXCY8Zj/qE4CY+AYXXGIYV7rR5xiY7tLESLW/50caBFveqdgJXUeiuFqA0cHXT4= Received: by 10.70.72.10 with SMTP id u10mr3987wxa; Wed, 07 Sep 2005 02:39:13 -0700 (PDT) Received: by 10.70.115.19 with HTTP; Wed, 7 Sep 2005 02:39:13 -0700 (PDT) Message-ID: <50a61a610509070239346c8d8f@mail.gmail.com> Date: Wed, 07 Sep 2005 09:39:00 -0000 From: Slobodan Lukovic Reply-To: slukovic@gmail.com To: ecos-devel@sources.redhat.com Subject: redboot flash problem Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2005-09/txt/msg00000.txt.bz2 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 =3D 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 =3D 92 =20 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