This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: stdout not printing into monitor
On 12/31/05, Andrew Lunn <andrew@lunn.ch> wrote:
> On Fri, Dec 30, 2005 at 10:20:49PM +0000, Filipe David Manana wrote:
> > On 12/30/05, Andrew Lunn <andrew@lunn.ch> wrote:
> > > On Fri, Dec 30, 2005 at 07:14:31PM +0000, Filipe David Manana wrote:
> > > > Hi, I am new to eCos.
> > > >
> > > > I created a configuration (with template i386 PC Target default as a
> > > > starting point) without ROM monitor support and with GRUB as startup type.
> > > > Next I compiled sucessfully the Hello World example application and created
> > > > a boot floppy with GRUB for launching the Hello Horld application.
> > > > It happens that after booting with this floppy I don't see the
> > > > message Hello World
> > > > on the screen... (I've setted up GRUB correctly, and GRUB doesn't
> > > > complain about anything at startup)
> > > > Isn't stdout binded with my VGA display by default?
> > >
> > > Normall stdout if bound to the serial port, since very few embedded
> > > systems have a graphics display.
> > >
> > > Take a look at the option CYGSEM_HAL_I386_PC_DIAG_SCREEN.
> > >
> > > Andrew
> > >
> >
> > I already had that option enabled and still don't get output on the
> > graphics display
>
> What do you have CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL,
> CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_DEFAULT and
> CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL set to. Try using the value
> 2.
>
> Andrew
>
Hey now it works :) Thanks a lot. I was in a hurry cause my laptop
doesn't have a serial port so I couldn't use a ROM monitor. I am
studying eCos for a work at the Real Time Computing Systems class at
university of Aveiro (Portugal).
--
Filipe David Borba Manana,
fdmanana@gmail.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss