From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31035 invoked by alias); 26 Mar 2009 16:52:08 -0000 Received: (qmail 31027 invoked by uid 22791); 26 Mar 2009 16:52:07 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f179.google.com (HELO mail-fx0-f179.google.com) (209.85.220.179) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Mar 2009 16:52:03 +0000 Received: by fxm27 with SMTP id 27so813156fxm.30 for ; Thu, 26 Mar 2009 09:52:00 -0700 (PDT) Received: by 10.223.115.12 with SMTP id g12mr806065faq.92.1238086319860; Thu, 26 Mar 2009 09:51:59 -0700 (PDT) Received: from localhost (212-41-65-105.adsl.solnet.ch [212.41.65.105]) by mx.google.com with ESMTPS id 17sm321018bwz.81.2009.03.26.09.51.57 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Mar 2009 09:51:58 -0700 (PDT) Date: Thu, 26 Mar 2009 18:21:00 -0000 To: MailingList:ecos-discuss ; Reply-To: Bob.Brusa@gmail.com From: Robert Brusa Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.63 (Linux) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS]redboot fconfig -i command X-SW-Source: 2009-03/txt/msg00104.txt.bz2 Hi I have built a redboot for my AT91SAM7X-based board. I specified a default startup script and it works. It is also possible to download a program. What's not working is the fconfig -i command. When starting up, redboot reports: FIS directory doesn't fit **Warning** FLASH configuration checksum error or invalid key Use 'fconfig -i' to [re]initialize database But when I do just that, I get an error as follows: RedBoot> fconfig -i Initialize non-volatile configuration - continue (y/n)? y Run script at boot: true Boot script: Enter script, terminate with empty line >> go 0x120040 >> Boot script timeout (1000ms resolution): 1000 Console baud rate: 38400 Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0x0013ff00-0x0013ffff: . Error erasing FIS directory at 0x0020ea7b: Invalid FLASH address I do not understand this message. The address shown above is RAM - not flash???? I also have noticed that following use of redboot, some parts of the flash are locked - although I disabled the macro CYGBLD_DEV_FLASH_AT91_LOCKING in configtool. Does anyone know something about this kind of problems. I would like to be able to change the run script at a later date - just in case the downloaded program would need it. Thanks Robert -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss