This is the mail archive of the ecos-discuss@sources.redhat.com 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: Disable HAL comm channel?


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


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