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: Re: Redboot console on ep93xx


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


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