This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Serial support for arm board
- From: Gary Thomas <gary at mlbassoc dot com>
- To: "Dave B. Sharp" <daveb_sharp at yahoo dot ca>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 27 Oct 2005 13:28:07 -0600
- Subject: Re: [ECOS] Serial support for arm board
- References: <20051027192244.11862.qmail@web32908.mail.mud.yahoo.com>
On Thu, 2005-10-27 at 15:22 -0400, Dave B. Sharp wrote:
> That would be great, however, I am assuming Redboot is
> a proper subset of Ecos and that I would have to
> install Ecos on the board, no? If I screw up the boot
> loader install then I am going to have even bigger
> problems.
> Or can I just link in the appropriate libs and run
> from Redboot?
Exactly so. Give a look at the eCos documentation
http://sources.redhat.com/ecos/docs-latest/
> Dave
>
> --- Gary Thomas <gary@mlbassoc.com> wrote:
>
> > 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
> >
> ------------------------------------------------------------
> >
> >
>
>
>
>
>
>
>
> __________________________________________________________
> 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