This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Redboot initialize database error


Hi,

I did it but I have the same 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> 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: <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> reset
... Resetting.ï+**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>
---------------------------

I will also attach an excerpt from redboot_ROM.ecm with REDBOOT
options for reference. I'm building with ecosconfig new redboot
platform and after that I import   redboot_ROM.ecm

---------------------------
cdl_option CYGSEM_HAL_ROM_MONITOR {
   inferred_value 1
};

cdl_component CYG_HAL_STARTUP {
   user_value ROM
};

cdl_component CYGBLD_BUILD_REDBOOT {
   user_value 1
};

cdl_option CYGBLD_REDBOOT_MIN_IMAGE_SIZE {
   user_value 0x00030000
};

cdl_option CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP {
   user_value 0
};

cdl_option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG {
   user_value 1
};

---------------------------
Thx again
TT.

On 6/27/07, Gary Thomas <gary@mlbassoc.com> wrote:
-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]