This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: scanf with floppy startup ?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: umesh jaiswal <umeshcj at yahoo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 20 May 2002 22:49:39 +0100
- Subject: Re: [ECOS] scanf with floppy startup ?
- Organization: Red Hat UK Ltd.
- References: <20020507112252.96783.qmail@web13701.mail.yahoo.com>
umesh jaiswal wrote:
>
> hello all..
>
> Every thing for my application with RAM startup is
> working fine including scanf(), gets() etc, for i386
> pc but when the same application is build for floppy
> startup scanf(),gets()and other input functions are
> not working any how. Control never stop to take the
> input at these function .As Redboot which work fine
> for any input functions ,I think uses some other
> machanism to take input .
> What modification I have to do in my configuration so
> that it should work for floppy startup .
How are you trying to talk to it? Screen? Serial? RedBoot will listen on
all ports and then latch on to the one it gets any input on. However an app
booted straight from floppy will only listen to the default, which for a PC
is the first serial port. You can change that with the
CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL CDL option.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
--[ "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