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: how to enable console channel


Satish Kumar wrote:
Hi,
    How do i get the "console channel is configurable" option
enabled under the ROM monitor support using the ecos configuration
tool 2.11.

well, currently this option is disabled while building the redboot.img and i guess bcoz of this, i m not able to see the diagnostic serial
output on my hyperterminal.

If you use the configuration tool you should be able to see what options this option depends on in the pane on the right. If editting ecos.ecc, you should be able to determine it from the text inside to find out why it is inactive.


But I'll give you some help anyway. The common HAL's CDL includes:
                calculated    { !CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE \
                                && !CYGDBG_HAL_DIAG_TO_DEBUG_CHAN }

So it is not configurable if either of the above options are enabled. The former is enabled by default so that the console channel is preserved from the ROM monitor. For example if debugging via ethernet your channel would disappear entirely, instead going to the serial port, if you disabled CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE.

btw, were can we change the redboot.img base address value..?

You need to edit the MLT files found in the include/pkgconf directory of your chosen platform HAL.


Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 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]