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 1SJkU0-00048g-MA for barebox@lists.infradead.org; Mon, 16 Apr 2012 11:52:38 +0000 In-Reply-To: <20120416111108.GV30672@game.jcrosoft.org> References: <20120416111108.GV30672@game.jcrosoft.org> MIME-Version: 1.0 Message-ID: From: christian.buettner@rafi.de Date: Mon, 16 Apr 2012 13:52:33 +0200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5390803923702201079==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Antwort: Re: barebox JSON To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org Dies ist eine mehrteilige Nachricht im MIME-Format. --===============5390803923702201079== Content-Type: multipart/alternative; boundary="=_alternative 00413C07C12579E2_=" Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 00413C07C12579E2_= Content-Type: text/plain; charset="US-ASCII" 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. - christian Von: Jean-Christophe PLAGNIOL-VILLARD An: christian.buettner@rafi.de Kopie: barebox@lists.infradead.org Datum: 16.04.2012 13:29 Betreff: Re: barebox JSON On 12:01 Mon 16 Apr , christian.buettner@rafi.de wrote: > hi all, > > is there allready an approach to accept JSON messages through a UART or > Ethernet interface? > I am thinking of an update mechanism in the bootloader, beeing able to > exchange the kernel, rootfs or change env settings.. JSON no but you can use script to do it other container and protocol like xyzmodem /nfs and co so what is the advantage of JSON? Best Regards, J. > > - christian > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox --=_alternative 00413C07C12579E2_= Content-Type: text/html; charset="US-ASCII" 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.

- christian



Von:        Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
An:        christian.buettner@rafi.de
Kopie:        barebox@lists.infradead.org
Datum:        16.04.2012 13:29
Betreff:        Re: barebox JSON




On 12:01 Mon 16 Apr     , christian.buettner@rafi.de wrote:
>    hi all,
>
>    is there allready an approach to accept JSON messages through a UART or
>    Ethernet interface?
>    I am thinking of an update mechanism in the bootloader, beeing able to
>    exchange the kernel, rootfs or change env settings..
JSON no

but you can use script to do it other container

and protocol like xyzmodem /nfs and co so what is the advantage of JSON?

Best Regards,
J.
>
>    - christian

> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
>
http://lists.infradead.org/mailman/listinfo/barebox


--=_alternative 00413C07C12579E2_=-- --===============5390803923702201079== 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 --===============5390803923702201079==--