From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12339 invoked by alias); 27 Jun 2007 20:57:55 -0000 Received: (qmail 12330 invoked by uid 22791); 27 Jun 2007 20:57:54 -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; Wed, 27 Jun 2007 20:57:51 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 8B23919500D0; Wed, 27 Jun 2007 14:57:48 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id D672719500D0; Wed, 27 Jun 2007 14:57:31 -0600 (MDT) Message-ID: <4682CF36.4060203@mlbassoc.com> Date: Wed, 27 Jun 2007 22:45: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> In-Reply-To: <2308fb0f0706271307o5f7fd571r35e57103b4552f80@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/msg00260.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tales Toledo wrote: > Hi, > > seems that fconfig commands doesn't write the configuration variables > to database (bootp false in particular). As you can see in the > following lines after reset the database comes to initial state (bootp > = true). > > I check the list but I didn't find a similar case. > > Does anybody have a similar problem? > > ----------------------------------------------------- > > **Warning** FLASH configuration checksum error or invalid key > Use 'fconfig -i' to [re]initialize database > ** FEC Info: PHY LINK already UP > ... waiting for BOOTP information > Ethernet eth0: MAC address 7c:71:43:a6:7c:92 > Can't get BOOTP info for device! > > RedBoot(tm) bootstrap and debug environment [ROM] > Non-certified release, version UNKNOWN - built 17:03:31, Jun 22 2007 > > Platform: MPC880 (PowerPC 880) > Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. > Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited > > RAM: 0x00000000-0x02000000, [0x0001b040-0x01fe1000] available > FLASH: 0x40000000 - 0x40800000, 128 blocks of 0x00010000 bytes each. > RedBoot> fis init > About to initialize [format] FLASH image system - continue (y/n)? y > *** Initialize FLASH Image System > ... Erase from 0x407f0000-0x40800000: . > ... Program from 0x01ff0000-0x02000000 at 0x407f0000: . > RedBoot> fconfig -l -n > boot_script: false > bootp: true > bootp_server_ip: 0.0.0.0 > dns_domain: > dns_ip: 0.0.0.0 > fec_esa: 0x7C:0x71:0x43:0xA6:0x7C:0x92 > gdb_port: 9000 > info_console_force: false > net_debug: false > RedBoot> fconfig > 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> fconfig -l -n > boot_script: false > bootp: false > bootp_my_gateway_ip: 0.0.0.0 > bootp_my_ip: 192.168.0.100 > bootp_my_ip_mask: 255.255.255.0 > bootp_server_ip: 192.168.0.1 > dns_domain: > dns_ip: 192.168.0.4 > fec_esa: 0x7C:0x71:0x43:0xA6:0x7C:0x92 > gdb_port: 9000 > info_console_force: false > net_debug: false > RedBoot> reset > **Warning** FLASH configuration checksum error or invalid key > Use 'fconfig -i' to [re]initialize database > ** FEC Info: PHY LINK already UP > ... waiting for BOOTP information > Ethernet eth0: MAC address 7c:71:43:a6:7c:92 > Can't get BOOTP info for device! > > RedBoot(tm) bootstrap and debug environment [ROM] > Non-certified release, version UNKNOWN - built 17:03:31, Jun 22 2007 > > Platform: MPC880 (PowerPC 880) > Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. > Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited > > RAM: 0x00000000-0x02000000, [0x0001b040-0x01fe1000] available > FLASH: 0x40000000 - 0x40800000, 128 blocks of 0x00010000 bytes each. > RedBoot> > Follow the directions :-) You need to run 'fconfig -i' - this command is independent of 'fis init' although they both "initialize" FLASH (in different ways) - -- - ------------------------------------------------------------ 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 iD8DBQFGgs8zmaKbSsQGV8ARAqTVAKCcaa+PxhuY3Gp80yPu+5wGdIqqdACfcs61 NrGyaMh8x7Tv8RuDI9la12E= =5fkq -----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