This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: In-built shell for Redboot
- From: Andrew Lunn <andrew at lunn dot ch>
- To: wang cui <iucgnaw at msn dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 1 Feb 2007 08:48:21 +0100
- Subject: Re: [ECOS] In-built shell for Redboot
- References: <20070130214625.GG22661@lunn.ch> <BAY110-F1782860033AF2681DD0F89A5A40@phx.gbl>
On Thu, Feb 01, 2007 at 01:56:43AM +0000, wang cui wrote:
> I think he want to call function by name directly without a warpper of
> "RedBoot_cmd()" macro.
>
> Actually VxWorks provide this function. It strips all symbles from
> application image, then generate a source file contains all symbles, then
> add it into project and rebuild it. Then user can call all functions
> directly from VxWorks shell.
> However, I think Redboot style is good enough.
>
> But what I am thinking about is: Can we divide the shell functionality from
> Redboot and create a new package(suppose to be RedShell)?
> Because we always need a shell in application, and there are very many
> things have been implemented in Redboot. If so, we can reduce a lot of work
> in writing application shell.
A lot of people have talked about shells, but nobody has ever written
a nice, clean, extendable shell package. What needs to happen is
somebody needs to write down a design of such a package and ask for
comments. Then implement it and again ask for comments.
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