diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-12-28 23:02:59 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2017-01-11 20:18:10 +0100 |
commit | 317038b24be1861dbd9d5e3483772cf2440009ef (patch) | |
tree | e051ab859e862a0c5fbabf2a48e23b31d594df39 /recipes-images/images | |
parent | f06f9b397b0db891d902eefa54761b37e7d00ec6 (diff) |
apalis/colibri_t20/t30/tk1: fix ./update.sh -d resp. tegrarcm issue
Occasionally especially on Colibri T20 running our ./update.sh -d
script calling tegrarcm failed as follows:
[user@host Colibri_T20_LinuxImageV2.7]$ ./update.sh -d -r 512 -v V1_2
Colibri T20 rootfs detected
bct file: ../colibri-t20_bin/colibri_t20-512-v12-nand.bct
bootloader file: ../colibri-t20_bin/u-boot-dtb-tegra.bin
load addr 0x80108000
entry addr 0x80108000
device id: 0x7820
uid: 0x0428104041a16557
RCM version: 2.1
downloading miniloader to target at address 0x40008000 (132976 bytes)...
miniloader downloaded successfully
./tegrarcm: retreiving platform info: Resource temporarily unavailable
Upon which usually a second attempt actually worked.
Fix this inconvenience by increasing the RCM communication USB timeout
to 5000ms.
Note that this requires a newer tegrarcm which is now provided from
the meta-toradex-tegra layer.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-images/images')
-rwxr-xr-x | recipes-images/images/files/library/tegra/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-images/images/files/library/tegra/update.sh b/recipes-images/images/files/library/tegra/update.sh index a425847..0576cd2 100755 --- a/recipes-images/images/files/library/tegra/update.sh +++ b/recipes-images/images/files/library/tegra/update.sh @@ -271,7 +271,7 @@ if [ "$UBOOT_RECOVERY" -eq 1 ] ; then fi cd ${LOCPATH} - sudo ./tegrarcm --bct=../${BINARIES}/${BCT} --bootloader=../${BINARIES}/${U_BOOT_BINARY} --loadaddr=0x80108000 + sudo ./tegrarcm --bct=../${BINARIES}/${BCT} --bootloader=../${BINARIES}/${U_BOOT_BINARY} --loadaddr=0x80108000 --usb-timeout=5000 exit fi |