Hardware/ARMEBS/3/AutoUpdate
From UIT
(Difference between revisions)
(Created page with "{{private}} {{TOC right}} = Automatic updates = ARMEBS3 board with u-boot intsalled can be updated using an USB drive, containing a special file. This USB drive must be forma...") |
Marc.pignat (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{public}} |
{{TOC right}} | {{TOC right}} | ||
Line 17: | Line 17: | ||
== examples == | == examples == | ||
here are some examples: u-boot/trunk/auto_update | here are some examples: u-boot/trunk/auto_update | ||
+ | |||
+ | [[Category:Hardware]] [[Category:ARMEBS]] |
Latest revision as of 14:41, 26 June 2015
|
Automatic updates
ARMEBS3 board with u-boot intsalled can be updated using an USB drive, containing a special file. This USB drive must be formated in FAT16 and it must be not partitioned. This functionnality has been added to u-boot (implemented in this file : u-boot/trunk/board/armebs3/auto_update.c auto_update.c)
When the button 0 is pressed, the file autorun_script.img is searched for on the USB drive and executed.
autorun_script.img
This file is containing a script (in the u-boot interface langage), protected by a CRC.
autorun_script.img can be generated using this command (and an existing autorun_script file)
#!shell u /opt/armebs3/u-boot ./tools/mkimage -A ARM -T script -C none -d autorun_script autorun_script.img
examples
here are some examples: u-boot/trunk/auto_update