Hardware/ARMEBS/3/AutoUpdate
From UIT
|
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