From 317038b24be1861dbd9d5e3483772cf2440009ef Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Wed, 28 Dec 2016 23:02:59 +0100 Subject: 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 Acked-by: Max Krummenacher --- recipes-images/images/files/library/tegra/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3