I am having difficulty flashing Uboot to T30 using Linux. I put the module into recovery mode and tried using the command sudo ./update.sh -d under the Colibri T30 LinuxImageV2.6 folder. I get the following message after executing the instruction.
Colibri T30 rootfs detected
./tegrarcm: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
Seems the dependencies for ‘tegrarcm’ are missing(libusb-1.0.so.0: cannot open shared object file: No such file or directory), install the missing dependencies on your development machine.
but if I try to install the lib via apt-get it says that it is already installed.
sudo apt-get install libusb-1.0-0-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libusb-1.0-0-dev is already the newest version (2:1.0.20-1).
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
Same ‘not found’ error. I found the file (libusb-1.0.so.0) under /home/chemtrac/T30/Colibri_T30_LinuxImageV2.6/rootfs/lib. Is there some way to add the path?
As Bhuvan already mentioned you must install the 32bit libraries from your Distro.
libusb must provide the 1.0 API.
So likely for the current issue with tegrarcm you would need on Ubuntu libusb-1.0-0:i386 and on Fedora libusbx.i686.
A more complete list what also might come handy in further steps:
Thanks for the help. I was able to get past the ‘not found’ issue with libusb, but now I’m getting a Resource temporarily unavailable error (see below).
chemtrac@webserver:~/T30/Colibri_T30_LinuxImageV2.6$ sudo ./update.sh -d /dev/ttyUSB0
Colibri T30 rootfs detected
bct file: ../colibri-t30_bin/colibri_t30_12MHz_NT5CC256M16CP-DI_400MHz.bct
booloader file: ../colibri-t30_bin/u-boot-dtb-tegra.bin
load addr 0x80108000
entry addr 0x80108000
./tegrarcm: could not open USB device: Resource temporarily unavailable