lkml.org 
[lkml]   [2007]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ANNOUNCE][PATCH] Kcli - Kernel command line interface.
On Mon, 23 Apr 2007 14:31:39 -0700 (PDT)
Matt Ranon <mranon@javadevices.com> wrote:
>

(text reformatted to less than 80 cols. Please, we'll get along a lot
better if you don't send 1000-column emails)

> The Jem team is pleased to announce the release of Kcli, an in-kernel
> command line interface. Kcli is intended for a special class of embedded
> Linux applications. The Linux kernel has become the defacto standard OS
> for embedded applications. This means that Linux is getting bent in some
> ways that may appear strange to some. One of these ways, is embedded
> applications that do not use user space. User space consists of a
> statically linked, one line program, that simply sleeps forever,
> transforming Linux into a classical embedded RTOS. VxWorks developers will
> understand what we are talking about, and they may recall how much they
> depend on the VxWorks shell. Kcli attempts to meet the need for a shell
> for this class of embedded Linux applications.

Alas, we are not vxworks developers, and probably most of us know zero
about the use-cases for this feature, why embedded systems find it
valuable, etc.

So it's up to you to tell us all this.

> Kcli provides a command line environment that runs in the kernel, and that
> can be extended with custom commands registered by other kernel modules.
> We have found Kcli invaluable for our development, and we are releasing the
> patch, in case others find it useful.
>
> Kcli is directly derived from libcli written by David Parrish and Brendan
> O'Dea, and the regular expression support is directly derived from diet
> libc written by Felix von Leitner.
>
> The Jem team fully understands that this kind of patch may not be
> appropriate for inclusion in the mainline kernel code. We have no
> expectation that it will be, and we leave that decision fully in the hands
> of those responsible.

We don't have enough information to make that call.

> Nonetheless, we feel that others may find it useful,
> and we will also appreciate any appropriate feedback from the community.
>
> Kcli is standalone, and modifies no kernel files, except for the Kconfig
> and Makefile modifications required to wire it into the configuration and
> build.

The obvious question is: what's _wrong_ with doing all this in some
cut-down userspace environment like busybox? Why is this stuff better?

Obviously some embedded developers have considered that option and
have rejected it. But we do need to be told, at length, why that
decision was made.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-24 01:35    [W:0.047 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site