mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* flash image through CAN
@ 2012-02-08 14:15 christian.buettner
  2012-02-08 16:38 ` Marc Kleine-Budde
  0 siblings, 1 reply; 5+ messages in thread
From: christian.buettner @ 2012-02-08 14:15 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 707 bytes --]

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. 

best regards

Christian Büttner
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är: RAFI Beteiligungs-GmbH, Sitz Berg, Amtsgericht Ulm HRB 
550074
Geschäftsführer: Albert Wasmeier, Dipl.-Kfm. Gerhard Schenk
USt-Ident.-Nr.: DE 146 392 319, Steuer-Nr.: 77079/00291

[-- Attachment #1.2: Type: text/html, Size: 1211 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: flash image through CAN
  2012-02-08 14:15 flash image through CAN christian.buettner
@ 2012-02-08 16:38 ` Marc Kleine-Budde
  2012-02-09  8:50   ` Antwort: " christian.buettner
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Kleine-Budde @ 2012-02-08 16:38 UTC (permalink / raw)
  To: christian.buettner; +Cc: barebox


[-- Attachment #1.1: Type: text/plain, Size: 735 bytes --]

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   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Antwort: Re: flash image through CAN
  2012-02-08 16:38 ` Marc Kleine-Budde
@ 2012-02-09  8:50   ` christian.buettner
  2012-02-09  9:06     ` Marc Kleine-Budde
  0 siblings, 1 reply; 5+ messages in thread
From: christian.buettner @ 2012-02-09  8:50 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: barebox


[-- Attachment #1.1: Type: text/plain, Size: 1480 bytes --]

Hi Marc,

what is the effort to port the CAN stack to barebox?

Christian Büttner
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är: RAFI Beteiligungs-GmbH, Sitz Berg, Amtsgericht Ulm HRB 
550074
Geschäftsführer: Albert Wasmeier, Dipl.-Kfm. Gerhard Schenk
USt-Ident.-Nr.: DE 146 392 319, Steuer-Nr.: 77079/00291



Von:    Marc Kleine-Budde <mkl@pengutronix.de>
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,
> 
> 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   |



[-- Attachment #1.2: Type: text/html, Size: 2904 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/octet-stream, Size: 270 bytes --]

-----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-----

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Antwort: Re: flash image through CAN
  2012-02-09  8:50   ` Antwort: " christian.buettner
@ 2012-02-09  9:06     ` Marc Kleine-Budde
  2012-02-09  9:12       ` Robert Schwebel
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Kleine-Budde @ 2012-02-09  9:06 UTC (permalink / raw)
  To: christian.buettner; +Cc: Robert Schwebel, barebox


[-- Attachment #1.1: Type: text/plain, Size: 642 bytes --]

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

-- 
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   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Antwort: Re: flash image through CAN
  2012-02-09  9:06     ` Marc Kleine-Budde
@ 2012-02-09  9:12       ` Robert Schwebel
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Schwebel @ 2012-02-09  9:12 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: barebox, christian.buettner


[-- Attachment #1.1: Type: text/plain, Size: 879 bytes --]

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
-- 
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 |

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-09  9:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-08 14:15 flash image through CAN christian.buettner
2012-02-08 16:38 ` Marc Kleine-Budde
2012-02-09  8:50   ` Antwort: " christian.buettner
2012-02-09  9:06     ` Marc Kleine-Budde
2012-02-09  9:12       ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox