From de00d9ecaab2a1c8aacf52a164053d729ba2ee06 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Fri, 30 Oct 2015 09:21:43 +0100 Subject: 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. --- include/configs/colibri_vf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 3d8da90bb73..7ff25c943dc 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" \ -- cgit v1.2.3