This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: Redboot console on ep93xx
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Manfred Gruber <gruber dot m at utanet dot at>
- Cc: Gary Thomas <gary at mlbassoc dot com>,eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 25 Oct 2004 23:03:55 +0200
- Subject: Re: [ECOS] Re: Redboot console on ep93xx
- References: <200410251637.26649.gruber.m@utanet.at> <200410251736.46357.gruber.m@utanet.at> <1098720621.12371.161.camel@hermes> <200410251828.28244.gruber.m@utanet.at>
On Mon, Oct 25, 2004 at 06:28:28PM +0200, Manfred Gruber wrote:
> Hi !
>
> Hopfully you have some minutes for me :-)
>
> I have now changed in hal_arm_arm9_ep93xx.cdl:
>
> cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL {
> display "Diagnostic serial port"
> active_if CYGPRI_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_CONFIGURABLE
> flavor data
> legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
> #default_value 0
> default_value 1 # from 0 to 1
> description "
> The ep93xx board has three serial ports. This option
> chooses which port will be used for diagnostic output."
> }
>
> cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS {
> display "Number of communication channels on the board"
> flavor data
> --> calculated 3 # from 1 to 3
> }
>
> in redboot.cdl:
>
> cdl_option CYGPKG_REDBOOT_ANY_CONSOLE {
> display "Allow RedBoot to use any I/O channel for its
> console."
> flavor bool
> # default_value 1
> --> default_value 0
> description "
> If this option is enabled then RedBoot will attempt to use all
> defined serial I/O channels for its console device. Once input
> arrives at one of these channels then the console will use only
> that port."
> }
>
> rebuilded , downloaded via BDI.
>
> But the output is still on the first serial port ???
> Maybe if have some dependencies wrong?
No, no,no.
As Gary said, you do not need to edit the sources to make these sort
of configurations.
Try reading the user guide manual.
http://ecos.sourceware.org/docs-latest/user-guide/ecos-user-guide.html
Sections 11 and 28 you might find interesting.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss