summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-10-30 09:21:43 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-10-30 09:21:43 +0100
commitde00d9ecaab2a1c8aacf52a164053d729ba2ee06 (patch)
treea5a83384fe1035f2eba6ab83f07322d992952f3d
parent66e56ba1d0d662b22703c914b6e9e77bc06c3c26 (diff)
colibri_vf: introduce automatic ethernet update capability
Introduce Ethernet update capability via setethupdate which is automatically tried by setupdate as well should SD and USB update fail (e.g. neither an SD card nor an USB memory stick with our flash_blk.img script and accompanying artefacts is inserted.
-rw-r--r--include/configs/colibri_vf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 3d8da90bb7..7ff25c943d 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -193,13 +193,15 @@
"mtdparts=" MTDPARTS_DEFAULT "\0" \
NFS_BOOTCMD \
SD_BOOTCMD \
+ "setethupdate=tftpboot ${loadaddr} flash_eth.img && " \
+ "source ${loadaddr}\0" \
"setsdupdate=mmc rescan && setenv interface mmc && " \
"fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \
"source ${loadaddr}\0" \
"setup=setenv setupargs " \
"console=tty1 console=${console}" \
",${baudrate}n8 ${memargs} consoleblank=0\0" \
- "setupdate=run setsdupdate || run setusbupdate\0" \
+ "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \
"setusbupdate=usb start && setenv interface usb && " \
"fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \
"source ${loadaddr}\0" \