diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-10-11 16:34:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-12 21:32:45 +0200 |
commit | bbdb7f4e3dd65ea1917cc9cb4a86296209fc87a5 (patch) | |
tree | fc933fcfc12a7181a10e8123ab07be03c17bfc2f /defaultenv/bin/update | |
parent | de1823f74ec6312ab35180667a6f19aaa03f0d5e (diff) | |
download | barebox-bbdb7f4e3dd65ea1917cc9cb4a86296209fc87a5.tar.gz barebox-bbdb7f4e3dd65ea1917cc9cb4a86296209fc87a5.tar.xz |
defaultenv: add update_barebox to update barebox easly via tftp or xmodem
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv/bin/update')
-rw-r--r-- | defaultenv/bin/update | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/defaultenv/bin/update b/defaultenv/bin/update index 032f3409f5..3601177308 100644 --- a/defaultenv/bin/update +++ b/defaultenv/bin/update @@ -30,6 +30,11 @@ if [ x${type} = xkernel ]; then elif [ x${type} = xrootfs ]; then image=$rootfsimage type=root +elif [ x${type} = xbarebox ]; then + image=$bareboximage + if [ x${image} = x ]; then + imamge=barebox.bin + fi else . /env/bin/_update_help exit 1 |