This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Fix for CONFIG_STRING option in RedBoot
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Xavier Debreuil <xavier dot debreuil at inventel dot fr>
- Cc: Andrew Lunn <andrew dot lunn at ascom dot ch>,eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 31 Jul 2003 08:37:19 -0600
- Subject: Re: Fix for CONFIG_STRING option in RedBoot
- Organization: MLB Associates
- References: <5.2.0.9.0.20030731085700.00b35460@172.16.0.2>
On Thu, 2003-07-31 at 01:28, Xavier Debreuil wrote:
> I agree with you. But I do not use any alias.
> In fact I though I could use CONFIG_STRING to add an option to my redboot
> options as follows:
>
> RedBoot_config_option("Any string",
> any_string,
> ALWAYS_ENABLED, true,
> CONFIG_STRING, 0
> );
>
> If you add such an option, and your flash is erased, there is at boot time
> a problem when config_init is called which makes the system reboot.
> It does not work without that patch.
What's the value of "any_string"? (How is it declared)?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates