This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Disable HAL comm channel?
- From: Gary Thomas <gthomas at redhat dot com>
- To: Grant Edwards <grante at visi dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 19 Apr 2002 12:53:30 -0600
- Subject: Re: [ECOS] Disable HAL comm channel?
- References: <20020419130654.A28324@visi.com>
On Fri, 2002-04-19 at 12:06, Grant Edwards wrote:
>
> I've got a family of boards running RedBoot. For manufacturing
> cost reasons, it's very desireable to run the exact same
> bootloader image in all of the models. Some of the boards
> have 3 diag channels, and some only have 2.
>
> Is there a way to disable a comm channel so that RedBoot won't
> attempt to use it, or should I just fill in the function table
> for that entry with stubs?
I think you have three choices:
1) Disable RedBoot's use of any console - fix the console to
a particular port.
2) Hard configure the number of I/O channels to the mininum
common set, in your case two (hopefully they are proper
subsets).
3) Add dummy/stubs entries for the unused channel when needed.
Choice 2 is probably the simplest. The only shortfall in that
case is that one of the ports would be unavailable for RedBoot.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss