Skip to contentSkip to conversation

barebox can update itself by tftp?

DISCUSSION 154554381 3 participants 3 messages Jul 28, 2011 – Jul 29, 2011

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · On Thu, Jul 28, 2011 at 11:43:30PM +0800, 154554381 wrote:

can barebox update self by tftp ?
for example
tftp barebox.bin /dev/self0

This should work, you might have to erase /dev/self0 first though. You can even test without writing to flash by adding a partitioning to /dev/ram, tftp into a partition and then go $startaddressofpartition.

Best regards
Uwe

Signature · 7 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to 154554381
Quoted 3 lines · On Thu, Jul 28, 2011 at 11:43:30PM +0800, 154554381 wrote:

can barebox update self by tftp ?
for example
tftp barebox.bin /dev/self0

That's exactly the purpose of this device. Like Uwe said, if /dev/self0 is on flash you have to erase it first.

Sascha

Signature · 9 lines
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 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox