From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx2.rafi.de ([80.150.88.70]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Rv8JI-0001bn-L9 for barebox@lists.infradead.org; Wed, 08 Feb 2012 14:15:50 +0000 MIME-Version: 1.0 Message-ID: From: christian.buettner@rafi.de Date: Wed, 8 Feb 2012 15:15:50 +0100 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7450612093052191017==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: flash image through CAN To: barebox@lists.infradead.org Dies ist eine mehrteilige Nachricht im MIME-Format. --===============7450612093052191017== Content-Type: multipart/alternative; boundary="=_alternative 004E593FC125799E_=" Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 004E593FC125799E_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, we use the i.MX28 from freescale. Has anyone succeeded flashing a linux or rootfs image through the barebox=20 bootloader using a CAN bus connection? We need it to make a field update of the target possible.=20 best regards Christian B=FCttner Entwicklung Elektronik RAFI GmbH & Co. KG Ravensburger Str. 128-134, D-88276 Berg Tel.: +49 751 89-6075, Fax: +49 751 89-7414 mailto:christian.buettner@rafi.de, http://www.rafi.de Kommanditgesellschaft: Sitz Berg, Amtsgericht Ulm, HRA 550059 Komplement=E4r: RAFI Beteiligungs-GmbH, Sitz Berg, Amtsgericht Ulm HRB=20 550074 Gesch=E4ftsf=FChrer: Albert Wasmeier, Dipl.-Kfm. Gerhard Schenk USt-Ident.-Nr.: DE 146 392 319, Steuer-Nr.: 77079/00291 --=_alternative 004E593FC125799E_= Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi all,

we use the i.MX28 from freescale.
Has anyone succeeded flashing a linux or rootfs image through the barebox bootloader using a CAN bus connection?<= /font>
We need it to make a field update of the target possible.

best regards

Christian B=FCttner
Entwicklung Elektronik

RAFI GmbH & Co. KG
Ravensburger Str. 128-134, D-88276 Berg
Tel.:  +49 751 89-6075, Fax: +49 751 89-7414
mailto:christian.buettner@rafi.de, htt= p://www.rafi.de

Kommanditgesellschaft: Sitz Berg, Amtsgericht Ulm, HRA 550059
Komplement=E4r: RAFI Beteiligungs-GmbH, Sitz Berg, Amtsgericht Ulm HRB 5500= 74
Gesch=E4ftsf=FChrer: Albert Wasmeier, Dipl.-Kfm. Gerhard Schenk
USt-Ident.-Nr.: DE 146 392 319, Steuer-Nr.: 77079/00291
--=_alternative 004E593FC125799E_=-- --===============7450612093052191017== 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 --===============7450612093052191017==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RvAXd-0004zk-3w for barebox@lists.infradead.org; Wed, 08 Feb 2012 16:38:48 +0000 Message-ID: <4F32A501.4080102@pengutronix.de> Date: Wed, 08 Feb 2012 17:38:25 +0100 From: Marc Kleine-Budde MIME-Version: 1.0 References: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3645841476688199979==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: flash image through CAN To: christian.buettner@rafi.de Cc: barebox@lists.infradead.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============3645841476688199979== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3FB37E4C8F3356A3255C7008" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3FB37E4C8F3356A3255C7008 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/08/2012 03:15 PM, christian.buettner@rafi.de wrote: > Hi all, >=20 > we use the i.MX28 from freescale. > Has anyone succeeded flashing a linux or rootfs image through the bareb= ox=20 > bootloader using a CAN bus connection? > We need it to make a field update of the target possible.=20 Not yet, but we can port the CAN stack to barebox. However, if you have the space, I suggest to boot into a minimal Linux-System to run the update there. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --------------enig3FB37E4C8F3356A3255C7008 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8ypQMACgkQjTAFq1RaXHPaYwCbBbKm32w2Ud9yTI60B8T8HDjb 6lEAnRJMXZSM0OmRSha5G+VKby8Er8/y =uOqv -----END PGP SIGNATURE----- --------------enig3FB37E4C8F3356A3255C7008-- --===============3645841476688199979== 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 --===============3645841476688199979==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from [213.182.159.126] (helo=o0379.rafi.de) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RvPpd-0002ng-N2 for barebox@lists.infradead.org; Thu, 09 Feb 2012 08:58:23 +0000 In-Reply-To: <4F32A501.4080102@pengutronix.de> References: <4F32A501.4080102@pengutronix.de> MIME-Version: 1.0 Message-ID: From: christian.buettner@rafi.de Date: Thu, 9 Feb 2012 09:50:50 +0100 Content-Type: multipart/mixed; boundary="=_mixed 0030998EC125799F_=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Antwort: Re: flash image through CAN To: Marc Kleine-Budde Cc: barebox@lists.infradead.org --=_mixed 0030998EC125799F_= Content-Type: multipart/alternative; boundary="=_alternative 0030998EC125799F_=" --=_alternative 0030998EC125799F_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi Marc, what is the effort to port the CAN stack to barebox? Christian B=FCttner Entwicklung Elektronik RAFI GmbH & Co. KG Ravensburger Str. 128-134, D-88276 Berg Tel.: +49 751 89-6075, Fax: +49 751 89-7414 mailto:christian.buettner@rafi.de, http://www.rafi.de Kommanditgesellschaft: Sitz Berg, Amtsgericht Ulm, HRA 550059 Komplement=E4r: RAFI Beteiligungs-GmbH, Sitz Berg, Amtsgericht Ulm HRB=20 550074 Gesch=E4ftsf=FChrer: Albert Wasmeier, Dipl.-Kfm. Gerhard Schenk USt-Ident.-Nr.: DE 146 392 319, Steuer-Nr.: 77079/00291 Von: Marc Kleine-Budde An: christian.buettner@rafi.de Kopie: barebox@lists.infradead.org Datum: 08.02.2012 17:38 Betreff: Re: flash image through CAN On 02/08/2012 03:15 PM, christian.buettner@rafi.de wrote: > Hi all, >=20 > we use the i.MX28 from freescale. > Has anyone succeeded flashing a linux or rootfs image through the=20 barebox=20 > bootloader using a CAN bus connection? > We need it to make a field update of the target possible.=20 Not yet, but we can port the CAN stack to barebox. However, if you have the space, I suggest to boot into a minimal Linux-System to run the update there. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --=_alternative 0030998EC125799F_= Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi Marc,

what is the effort to port the CAN s= tack to barebox?

Christian B=FCttner
Entwicklung Elektronik

RAFI GmbH & Co. KG
Ravensburger Str. 128-134, D-88276 Berg
Tel.:  +49 751 89-6075, Fax: +49 751 89-7414
mailto:christian.buettner@rafi.de, htt= p://www.rafi.de

Kommanditgesellschaft: Sitz Berg, Amtsgericht Ulm, HRA 550059
Komplement=E4r: RAFI Beteiligungs-GmbH, Sitz Berg, Amtsgericht Ulm HRB 5500= 74
Gesch=E4ftsf=FChrer: Albert Wasmeier, Dipl.-Kfm. Gerhard Schenk
USt-Ident.-Nr.: DE 146 392 319, Steuer-Nr.: 77079/00291




Von:     &= nbsp;  Marc Kleine-Budde <mkl@p= engutronix.de>
An:     &n= bsp;  christian.buettner@rafi.de<= /font>
Kopie:    =    barebox@lists.infradead.org=
Datum:    =    08.02.2012 17:38
Betreff:   &nbs= p;    Re: flash image through CAN




On 02/08/2012 03:15 PM, christian.buettner@rafi.de wrote:
> Hi all,
>
> we use the i.MX28 from freescale.
> Has anyone succeeded flashing a linux or rootfs image through the barebox
> bootloader using a CAN bus connection?
> We need it to make a field update of the target possible.

Not yet, but we can port the CAN stack to barebox. However, if you have
the space, I suggest to boot into a minimal Linux-System to run the
update there.

Marc
--
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826= -924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  |
http://www.pengutronix.de=   |


--=_alternative 0030998EC125799F_=-- --=_mixed 0030998EC125799F_= Content-Type: application/octet-stream; name="signature.asc" Content-Disposition: attachment; filename="signature.asc" Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxLjQuMTAgKEdO VS9MaW51eCkNCkNvbW1lbnQ6IFVzaW5nIEdudVBHIHdpdGggTW96aWxsYSAtIGh0dHA6Ly9lbmln bWFpbC5tb3pkZXYub3JnLw0KDQppRVlFQVJFQ0FBWUZBazh5cFFNQUNna1FqVEFGcTFSYVhIUGFZ d0NiQmJLbTMydzJVZDl5VEk2MEI4VDhIRGpiDQo2bEVBblJKTVhaU00wT21SU2hhNUcrVktieThF cjgveQ0KPXVPcXYNCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ0K --=_mixed 0030998EC125799F_= 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 --=_mixed 0030998EC125799F_=-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RvPxQ-0003YS-Te for barebox@lists.infradead.org; Thu, 09 Feb 2012 09:06:29 +0000 Message-ID: <4F338C81.6010207@pengutronix.de> Date: Thu, 09 Feb 2012 10:06:09 +0100 From: Marc Kleine-Budde MIME-Version: 1.0 References: <4F32A501.4080102@pengutronix.de> In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7715568849755161291==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Antwort: Re: flash image through CAN To: christian.buettner@rafi.de Cc: Robert Schwebel , barebox@lists.infradead.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============7715568849755161291== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE6F6E478E61F9E2A76CA2884" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE6F6E478E61F9E2A76CA2884 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/09/2012 09:50 AM, christian.buettner@rafi.de wrote: > what is the effort to port the CAN stack to barebox? Definitely more than implementing the "boot a minimal Linux (2-3 MB) and do the update process there". And more error prone, for the minimal update Linux basically we have all components (Kernel, CAN-Stack, minimal Userspace). regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --------------enigE6F6E478E61F9E2A76CA2884 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8zjIQACgkQjTAFq1RaXHOusgCfcW3RsrgOEOc6GACHhSSylfh+ keAAnjob6znGLcSPrwdYzEsY3ZUZDah6 =MMS8 -----END PGP SIGNATURE----- --------------enigE6F6E478E61F9E2A76CA2884-- --===============7715568849755161291== 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 --===============7715568849755161291==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RvQ3x-0004f7-Sw for barebox@lists.infradead.org; Thu, 09 Feb 2012 09:13:10 +0000 Date: Thu, 9 Feb 2012 10:12:59 +0100 From: Robert Schwebel Message-ID: <20120209091259.GK22116@pengutronix.de> References: <4F32A501.4080102@pengutronix.de> <4F338C81.6010207@pengutronix.de> MIME-Version: 1.0 In-Reply-To: <4F338C81.6010207@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0177434577239916621==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Antwort: Re: flash image through CAN To: Marc Kleine-Budde Cc: barebox@lists.infradead.org, christian.buettner@rafi.de --===============0177434577239916621== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GPJrCs/72TxItFYR" Content-Disposition: inline --GPJrCs/72TxItFYR Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 09, 2012 at 10:06:09AM +0100, Marc Kleine-Budde wrote: > On 02/09/2012 09:50 AM, christian.buettner@rafi.de wrote: > > what is the effort to port the CAN stack to barebox? > > Definitely more than implementing the "boot a minimal Linux (2-3 MB) and > do the update process there". And more error prone, for the minimal > update Linux basically we have all components (Kernel, CAN-Stack, > minimal Userspace). It is just a matter of how much flash you have on the system. If there is enough space, I'd always go for a Linux based solution. rsc --=20 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 | --GPJrCs/72TxItFYR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFPM44b+8z+IKgDhyARAn6eAJ9TlJ2ulGtINTfHWNyayZrdkYs5FQCfTUQ8 zG3lwX8rUc92TtMkLEvhTCw= =clIB -----END PGP SIGNATURE----- --GPJrCs/72TxItFYR-- --===============0177434577239916621== 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 --===============0177434577239916621==--