From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx2.rafi.de ([178.15.151.13]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SKp5i-00054b-N8 for barebox@lists.infradead.org; Thu, 19 Apr 2012 11:00:03 +0000 In-Reply-To: <20120416121937.GR3852@pengutronix.de> References: <20120416111108.GV30672@game.jcrosoft.org> <20120416121937.GR3852@pengutronix.de> MIME-Version: 1.0 Message-ID: From: christian.buettner@rafi.de Date: Thu, 19 Apr 2012 12:59:51 +0200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8911026533783222497==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Antwort: Re: Antwort: Re: barebox JSON To: Sascha Hauer Cc: barebox@lists.infradead.org Dies ist eine mehrteilige Nachricht im MIME-Format. --===============8911026533783222497== Content-Type: multipart/alternative; boundary="=_alternative 003C695FC12579E5_=" Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 003C695FC12579E5_= Content-Type: text/plain; charset="US-ASCII" Thx, Is there an example code to accept a message through ethernet with 'network console' and call another tool, defined by the incoming message, through expect or kermit (depends what fits better). I am new to programming with linux.. - christian Von: Sascha Hauer An: christian.buettner@rafi.de Kopie: Jean-Christophe PLAGNIOL-VILLARD , barebox@lists.infradead.org Datum: 16.04.2012 14:19 Betreff: Re: Antwort: Re: barebox JSON On Mon, Apr 16, 2012 at 01:52:33PM +0200, christian.buettner@rafi.de wrote: > The advantage is a generic interface used in mass production. > > I formulate my question in another way. > Is there an approach launching a little tool, that listens to UART or > Ethernet when the bootloader starts. > The tool is kind of an dispatcher, using an incoming message to start e.g. > an update of the kernel. Well we have UART console and network console, you can use something like kermit or expect to remote control barebox. I know this sucks and is not what you wanted to hear, but currently this is all we have. I more than once thought about a real machine interface to barebox, but I have no good idea how to do this. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --=_alternative 003C695FC12579E5_= Content-Type: text/html; charset="US-ASCII" Thx,
Is there an example code to accept a message through ethernet with 'network console'
and call another tool, defined by the incoming message, through expect or kermit (depends what fits better).
I am new to programming with linux..

- christian



Von:        Sascha Hauer <s.hauer@pengutronix.de>
An:        christian.buettner@rafi.de
Kopie:        Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>, barebox@lists.infradead.org
Datum:        16.04.2012 14:19
Betreff:        Re: Antwort: Re: barebox JSON




On Mon, Apr 16, 2012 at 01:52:33PM +0200, christian.buettner@rafi.de wrote:
> The advantage is a generic interface used in mass production.
>
> I formulate my question in another way.
> Is there an approach launching a little tool, that listens to UART or
> Ethernet when the bootloader starts.
> The tool is kind of an dispatcher, using an incoming message to start e.g.
> an update of the kernel.

Well we have UART console and network console, you can use something
like kermit or expect to remote control barebox.

I know this sucks and is not what you wanted to hear, but currently this
is all we have.

I more than once thought about a real machine interface to barebox, but
I have no good idea how to do this.

Sascha

--
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 |
http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

--=_alternative 003C695FC12579E5_=-- --===============8911026533783222497== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============8911026533783222497==--