-----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: <Not a string: 0x1FE32F5> > 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: <Not a string: 0x1FE32F5> > 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: <Not a string: 0x1FE32F5> > 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
