From: Gary Thomas <gary@mlbassoc.com>
To: Tales Toledo <toledo.tales@gmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Redboot initialize database error
Date: Wed, 27 Jun 2007 22:45:00 -0000 [thread overview]
Message-ID: <4682CF36.4060203@mlbassoc.com> (raw)
In-Reply-To: <2308fb0f0706271307o5f7fd571r35e57103b4552f80@mail.gmail.com>
-----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
next prev parent reply other threads:[~2007-06-27 20:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-27 22:43 Tales Toledo
2007-06-27 22:45 ` Gary Thomas [this message]
2007-06-27 22:57 ` Tales Toledo
2007-06-27 23:04 ` Gary Thomas
2007-06-28 20:30 ` Tales Toledo
2007-06-28 20:48 ` Gary Thomas
2007-06-29 7:25 ` Tales Toledo
2007-06-29 7:28 ` Gary Thomas
2007-07-06 19:27 ` Tales Toledo
2007-06-29 7:39 Paul Fine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4682CF36.4060203@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=toledo.tales@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).