public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] \x0eRedboot: disabling screen on Ipaq
@ 2002-05-20 15:11 Craig Vanderborgh
  2002-05-20 16:40 ` Gary Thomas
  2002-05-21 11:18 ` [ECOS] eCos HAL Object Tables Craig Vanderborgh
  0 siblings, 2 replies; 4+ messages in thread
From: Craig Vanderborgh @ 2002-05-20 15:11 UTC (permalink / raw)
  To: ecos-discuss

Hello all:

I need to disable the Ipaq screen and exclude the screen package,
from the Redboot build since I have a "serial only" application.
What is the correct way to do this?

Thanks in advance,
craig vanderborgh
voxware incorporated

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] \x0eRedboot: disabling screen on Ipaq
  2002-05-20 15:11 [ECOS] \x0eRedboot: disabling screen on Ipaq Craig Vanderborgh
@ 2002-05-20 16:40 ` Gary Thomas
  2002-05-21 11:18 ` [ECOS] eCos HAL Object Tables Craig Vanderborgh
  1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2002-05-20 16:40 UTC (permalink / raw)
  To: Craig Vanderborgh; +Cc: eCos Discussion

On Mon, 2002-05-20 at 16:11, Craig Vanderborgh wrote:
> Hello all:
> 
> I need to disable the Ipaq screen and exclude the screen package,
> from the Redboot build since I have a "serial only" application.
> What is the correct way to do this?
> 

Simply disable CYGSEM_IPAQ_LCD_COMM.



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] eCos HAL Object Tables
  2002-05-20 15:11 [ECOS] \x0eRedboot: disabling screen on Ipaq Craig Vanderborgh
  2002-05-20 16:40 ` Gary Thomas
@ 2002-05-21 11:18 ` Craig Vanderborgh
  2002-05-21 11:32   ` Gary Thomas
  1 sibling, 1 reply; 4+ messages in thread
From: Craig Vanderborgh @ 2002-05-21 11:18 UTC (permalink / raw)
  To: ecos-discuss

Hello all:

I am trying to determine how the eCos HAL Object Tables mechanism works.
In particular, I am looking at the macros:

CYG_HAL_TABLE_BEGIN( __CONFIG_options_TAB__, RedBoot_config_options);
CYG_HAL_TABLE_END( __CONFIG_options_TAB_END__, RedBoot_config_options);

and trying to understand where in flash memory the Redboot config options
parameters get written.  I need to understand this because I wish to
use "fconfig" values for configuring my system at the time my Linux
kernel boots.

Could someone please describe how the CYG_HAL_TABLE_* mechanism works, and
how to ascertain the location of table objects in flash memory??

Thanks in advance,
craig vanderborgh
voxware incorporated

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] eCos HAL Object Tables
  2002-05-21 11:18 ` [ECOS] eCos HAL Object Tables Craig Vanderborgh
@ 2002-05-21 11:32   ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2002-05-21 11:32 UTC (permalink / raw)
  To: Craig Vanderborgh; +Cc: eCos Discussion

On Tue, 2002-05-21 at 12:18, Craig Vanderborgh wrote:
> Hello all:
> 
> I am trying to determine how the eCos HAL Object Tables mechanism works.
> In particular, I am looking at the macros:
> 
> CYG_HAL_TABLE_BEGIN( __CONFIG_options_TAB__, RedBoot_config_options);
> CYG_HAL_TABLE_END( __CONFIG_options_TAB_END__, RedBoot_config_options);
> 
> and trying to understand where in flash memory the Redboot config options
> parameters get written.  I need to understand this because I wish to
> use "fconfig" values for configuring my system at the time my Linux
> kernel boots.
> 
> Could someone please describe how the CYG_HAL_TABLE_* mechanism works, and
> how to ascertain the location of table objects in flash memory??

There are two things at work here.

First, the tables mentioned are used by the 'fconfig' command to know
what data items go in the database.  Secondly, the actual data which is
stored in flash has little to do with the tables - it is dynamically 
laid out, depending on the actual data present.

For the tables: these are a vector of simple structures.  They are 
collected by the linker into a separate program section, with the labels
__CONFIG_options_TAB__ and __CONFIG_options_TAB_END__ marking the start
and end of the vector, respectively.  The symbol "RedBoot_config_options"
is [part of] the name of the program section.

As for how the actual data is organized in the flash, look at
<flash_config.h> and <flash.c>  You'll see that it's just a variable length
list of items, each with a type identifier (for the types supported - numbers,
strings, etc), and a key name, followed by the actual key data.  Think of it
as a list
  key1=value1, key2=value2, ...
You can determine where in the flash the actual data is stored by looking at
the FIS directory (although RedBoot does it the hard way).  I'd suggest this
because we're changing this a bit, allowing the fconfig data to reside in the
same flash erase block as the FIS directory.

I hope this helps.


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-05-21 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-20 15:11 [ECOS] \x0eRedboot: disabling screen on Ipaq Craig Vanderborgh
2002-05-20 16:40 ` Gary Thomas
2002-05-21 11:18 ` [ECOS] eCos HAL Object Tables Craig Vanderborgh
2002-05-21 11:32   ` Gary Thomas

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).