This is the mail archive of the ecos-discuss@sourceware.org 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: Serial support for arm board


On Thu, 2005-10-27 at 14:57 -0400, Dave B. Sharp wrote:
> The serial support is simply for output. Since there
> is  not gdb debugging support (I am assuming) I am
> resorting to printf() development and debugging. If
> there is a better way then I am all ears. Other than
> that, I just want to be able to see something work
> before proceeding.
>   The "wedge" is intended to be a program that is
> started by Redboot, does its thing, then in turn will
> start up the Linux kernel, such as with a layer in a
> protocol stack.

Why not write your wedge program as an eCos application which
"does its thing" and then hands control over to Linux (which
takes over the whole machine anyway)?  Then you have full
facilities to use (serial I/O, GDB debugging, etc).

>   Cheers
>   Dave
> 
> --- Gary Thomas <gary@mlbassoc.com> wrote:
> 
> > On Thu, 2005-10-27 at 14:40 -0400, Dave B. Sharp
> > wrote:
> > > Ultimatately I am creating a wedge program to go
> > > between Linux and Redboot, so I want the program
> > to
> > > operate in the same mode as Linux (i.e. with mmu,
> > > etc.).
> > 
> > You still haven't explained what this program is to
> > do.
> > Why do you think you need a serial driver, etc?
> > What do you mean a "wedge between RedBoot and
> > Linux?"
> > 
> > >   Cheers
> > >    Dave
> > > 
> > > --- Gary Thomas <gary@mlbassoc.com> wrote:
> > > 
> > > > On Thu, 2005-10-27 at 14:20 -0400, Dave B. Sharp
> > > > wrote:
> > > > >  I have an Arcom Viper PXA-255 Arm board with
> > > > Redboot
> > > > > and would like to create a simple "Hello
> > World:
> > > > > application that I can "exec" (not go); I
> > gather
> > > > there
> > > > > is no GDB support. I am guessing that this
> > > > probably
> > > > > going to require some sort of rudamentary
> > serial
> > > > port
> > > > > driver support. Can anyone help w/ source code
> > or
> > > > > pointers to info.
> > > > 
> > > > What do you mean 'exec' instead of 'go'?  The
> > 'exec'
> > > > command
> > > > is really only designed for running Linux
> > kernels. 
> > > > The 'go'
> > > > command can be used for most anything else.
> > > > 
> > > > If you explain why you're thinking on this path,
> > > > maybe we
> > > > can provide more data to help you along.
> > 
> > -- 
> >
> ------------------------------------------------------------
> > Gary Thomas                 |  Consulting for the
> > MLB Associates              |    Embedded world
> >
> ------------------------------------------------------------
> > 
> > 
> 
> 
> 
> 	
> 
> 	
> 		
> __________________________________________________________ 
> Find your next car at http://autos.yahoo.ca
> 
-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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