diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-05-18 10:55:32 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-05-18 10:55:32 +0200 |
commit | 06ee8db6422e02337242e43b8573359443db59ea (patch) | |
tree | 127df2e48f8b0b323e0958b603fb224491607dd9 | |
parent | 0de8d62ff5cb24d72206d9bee5ad42d517ee530e (diff) |
colibri_t20/t30: fix setsdupdateColibri_iMX6_LinuxImageV2.4Beta1_20150518Colibri_VF_LinuxImageV2.4Beta1_20150518Colibri_T30_LinuxImageV2.4Beta1_20150518Colibri_T20_LinuxImageV2.4Beta1_20150518Apalis_iMX6_LinuxImageV2.4Beta1_20150518Apalis_T30_LinuxImageV2.4Beta1_20150518
Fix setsdupdate by adding missing 'usb start' command.
While at it also add USB start to setethupdate as doing it twice won't
hurt (e.g. it returns immediately only 'usb reset' does a full rescan).
-rw-r--r-- | include/configs/colibri_t20.h | 2 | ||||
-rw-r--r-- | include/configs/colibri_t30.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index aa90a2f71f2..0ec5fc3d5de 100644 --- a/include/configs/colibri_t20.h +++ b/include/configs/colibri_t20.h @@ -193,7 +193,7 @@ "mtdparts=" MTDPARTS_DEFAULT "\0" \ NFS_BOOTCMD \ SD_BOOTCMD \ - "setethupdate=tftpboot ${kernel_addr_r} flash_eth.img\0" \ + "setethupdate=usb start && tftpboot ${kernel_addr_r} flash_eth.img\0" \ "setsdupdate=setenv interface mmc; setenv drive 0; mmc rescan; " \ "load ${interface} ${drive}:1 ${kernel_addr_r} " \ "flash_blk.img\0" \ diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h index b1e4187a709..9b060fef70d 100644 --- a/include/configs/colibri_t30.h +++ b/include/configs/colibri_t30.h @@ -149,14 +149,14 @@ "fdt_board=eval-v3\0" \ NFS_BOOTCMD \ SD_BOOTCMD \ - "setethupdate=tftpboot ${kernel_addr_r} flash_eth.img\0" \ + "setethupdate=usb start && tftpboot ${kernel_addr_r} flash_eth.img\0" \ "setsdupdate=setenv interface mmc; setenv drive 1; mmc rescan; load " \ "${interface} ${drive}:1 ${kernel_addr_r} flash_blk.img\0" \ "setup=setenv setupargs asix_mac=${ethaddr} " \ "consoleblank=0 no_console_suspend=1 console=tty1 " \ "console=${console},${baudrate}n8 debug_uartport=lsport,0 " \ "vmalloc=128M mem=1012M@2048M fbmem=12M@3060M\0" \ - "setusbupdate=setenv interface usb; setenv drive 0; " \ + "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ "load ${interface} ${drive}:1 ${kernel_addr_r} " \ "flash_blk.img\0" \ "setupdate=run setsdupdate || run setusbupdate || run setethupdate;" \ |