From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19329 invoked by alias); 28 Jun 2007 18:17:22 -0000 Received: (qmail 19315 invoked by uid 22791); 28 Jun 2007 18:17:20 -0000 X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Jun 2007 18:17:13 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 1DC3519500FA; Thu, 28 Jun 2007 12:17:11 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id DFDDC19500CD; Thu, 28 Jun 2007 12:17:05 -0600 (MDT) Message-ID: <4683FB20.1080706@mlbassoc.com> Date: Thu, 28 Jun 2007 20:48:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: Tales Toledo CC: ecos-discuss@ecos.sourceware.org References: <2308fb0f0706271307o5f7fd571r35e57103b4552f80@mail.gmail.com> <4682CF36.4060203@mlbassoc.com> <2308fb0f0706271409t79ffce7k104d16ac491c6178@mail.gmail.com> <4682D4A4.2010303@mlbassoc.com> <2308fb0f0706281021u55593013y626a9e2a58b36aa9@mail.gmail.com> In-Reply-To: <2308fb0f0706281021u55593013y626a9e2a58b36aa9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Re: [ECOS] Redboot initialize database error X-SW-Source: 2007-06/txt/msg00284.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tales Toledo wrote: > On 6/27/07, Gary Thomas wrote: > >> Don't top post :-( > > Sorry! > >> What do you see when you run 'fis list'? > > RedBoot> fis list > Name FLASH addr Mem addr Length Entry point > RedBoot 0x40000000 0x40000000 0x00030000 0x00000000 > FIS directory 0x407F0000 0x407F0000 0x0000F000 0x00000000 > RedBoot config 0x407FF000 0x407FF000 0x00001000 0x00000000 > >> Did you verify that it wrote anything to your FLASH? > > It seems Ok to me. > Before any fconfig command I did a RAM fill command with 0xffffffff > pattern. You can see the dump here. > > RedBoot> dump -b 0x01ff0000 -l 0xff -4 > 01FF0000: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0010: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0020: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0030: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0040: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0050: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0060: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0070: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0080: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF0090: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF00A0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF00B0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF00C0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF00D0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF00E0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF > 01FF00F0: FFFFFFFF FFFFFFFF FFFFFFFF > RedBoot> fconfig -i > Initialize non-volatile configuration - continue (y/n)? y > Run script at boot: false > Use BOOTP for network configuration: false > Gateway IP address: 0.0.0.0 > Local IP address: 192.168.0.100 > Local IP address mask: 255.255.255.0 > Default server IP address: 192.168.0.1 > DNS domain name: > DNS server IP address: 192.168.0.4 > Network hardware address [MAC]: 0x7C:0x71:0x43:0xA6:0x7C:0x92 > GDB connection port: 9000 > Force console for special debug messages: false > Network debug at boot time: false > Update RedBoot non-volatile configuration - continue (y/n)? y > ... Erase from 0x407f0000-0x40800000: . > ... Program from 0x01ff0000-0x02000000 at 0x407f0000: . > RedBoot> dump -b 0x01ff0000 -l 0xff -4 > 01FF0000: 52656442 6F6F7400 00000000 00000000 > 01FF0010: 40000000 40000000 00030000 00000000 > 01FF0020: 00000000 00000000 00000000 00000000 > 01FF0030: 00000000 00000000 00000000 00000000 > 01FF0040: 00000000 00000000 00000000 00000000 > 01FF0050: 00000000 00000000 00000000 00000000 > 01FF0060: 00000000 00000000 00000000 00000000 > 01FF0070: 00000000 00000000 00000000 00000000 > 01FF0080: 00000000 00000000 00000000 00000000 > 01FF0090: 00000000 00000000 00000000 00000000 > 01FF00A0: 00000000 00000000 00000000 00000000 > 01FF00B0: 00000000 00000000 00000000 00000000 > 01FF00C0: 00000000 00000000 00000000 00000000 > 01FF00D0: 00000000 00000000 00000000 00000000 > 01FF00E0: 00000000 00000000 00000000 00000000 > 01FF00F0: 00000000 00000000 00000000 > RedBoot> dump -b 0x407f0000 -l 0xff -4 > 407F0000: 52656442 6F6F7400 00000000 00000000 > 407F0010: 40000000 40000000 00030000 00000000 > 407F0020: 00000000 00000000 00000000 00000000 > 407F0030: 00000000 00000000 00000000 00000000 > 407F0040: 00000000 00000000 00000000 00000000 > 407F0050: 00000000 00000000 00000000 00000000 > 407F0060: 00000000 00000000 00000000 00000000 > 407F0070: 00000000 00000000 00000000 00000000 > 407F0080: 00000000 00000000 00000000 00000000 > 407F0090: 00000000 00000000 00000000 00000000 > 407F00A0: 00000000 00000000 00000000 00000000 > 407F00B0: 00000000 00000000 00000000 00000000 > 407F00C0: 00000000 00000000 00000000 00000000 > 407F00D0: 00000000 00000000 00000000 00000000 > 407F00E0: 00000000 00000000 00000000 00000000 > 407F00F0: 00000000 00000000 00000000 > RedBoot> dump -b 0x1fff000 -l 0xff -4 > 01FFF000: 00001000 0BADFACE 010C0100 626F6F74 > 01FFF010: 5F736372 69707400 00000000 0411010C > 01FFF020: 626F6F74 5F736372 6970745F 64617461 > 01FFF030: 00626F6F 745F7363 72697074 00000000 > 01FFF040: 00000000 00000000 00000000 00000000 > 01FFF050: 00000000 00000000 00000000 00000000 > 01FFF060: 00000000 00000000 00000000 00000000 > 01FFF070: 00000000 00000000 00000000 00000000 > 01FFF080: 00000000 00000000 00000000 00000000 > 01FFF090: 00000000 00000000 00000000 00000000 > 01FFF0A0: 00000000 00000000 00000000 00000000 > 01FFF0B0: 00000000 00000000 00000000 00000000 > 01FFF0C0: 00000000 00000000 00000000 00000000 > 01FFF0D0: 00000000 00000000 00000000 00000000 > 01FFF0E0: 00000000 00000000 00000000 00000000 > 01FFF0F0: 00000000 00000000 00000000 > RedBoot> dump -b 0x407ff000 -l 0xff -4 > 407FF000: 00001000 0BADFACE 010C0100 626F6F74 > 407FF010: 5F736372 69707400 00000000 0411010C > 407FF020: 626F6F74 5F736372 6970745F 64617461 > 407FF030: 00626F6F 745F7363 72697074 00000000 > 407FF040: 00000000 00000000 00000000 00000000 > 407FF050: 00000000 00000000 00000000 00000000 > 407FF060: 00000000 00000000 00000000 00000000 > 407FF070: 00000000 00000000 00000000 00000000 > 407FF080: 00000000 00000000 00000000 00000000 > 407FF090: 00000000 00000000 00000000 00000000 > 407FF0A0: 00000000 00000000 00000000 00000000 > 407FF0B0: 00000000 00000000 00000000 00000000 > 407FF0C0: 00000000 00000000 00000000 00000000 > 407FF0D0: 00000000 00000000 00000000 00000000 > 407FF0E0: 00000000 00000000 00000000 00000000 > 407FF0F0: 00000000 00000000 00000000 > RedBoot> > > Any idea? > Seems it is writing something but I don't know if the dump results makes > sense. After you run the 'fconfig -i' command (before running any other), try this: RedBoot> mcmp -s 0x1FFF000 -d 0x407FF000 -l 0x1000 There should be no differences. If there are, it may point you to why this is failing. - -- - ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFGg/sgmaKbSsQGV8ARAonwAJ920Zjf80mfd+EupjLeM4yKNmK+CgCeKuwj CVBdo6sHwhL2zr1JUBnHKvU= =KBOc -----END PGP SIGNATURE----- -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss