NVIDIA-AI-IOT / jetcard

An SD card image for web programming AI projects with NVIDIA Jetson Nano
MIT License
211 stars 81 forks source link

jetcard installation error for Jetpack 4.2.2 : nv-l4t-usb-device-mode.sh file not found. #17

Closed alankongfq closed 4 years ago

alankongfq commented 4 years ago

Hi there,

I tried creating the installation for jetcard from scratch by starting from flashing Jetpack 4.2.2 to my sd card and then trying to install jetcard into jetson. However, when running ./install.sh, i encountered the error that nv-l4t-usb-device-mode.sh is not found inside the directory "/opt/nvidia/l4t-usb-device-mode/". Instead I had only nv-l4t-usb-device-mode-config.sh instead. Can anyone help with this?

When I change the ./install.sh to include nv-l4t-usb-device-mode-config.sh, the bash does not execute all the way too.

tishafok commented 4 years ago

bump

enzozafra commented 4 years ago

bump,

enzozafra commented 4 years ago

Hi @alankongfq and @tishafok. I just figured this out. Try using the jetpack_4.2.2 branch! https://github.com/NVIDIA-AI-IOT/jetcard/tree/jetpack_4.2.2

datavici commented 4 years ago

The main install.sh does not appear to have been debugged. It has adds an extra slash but putting a trailing slash in the $DIR variable. Remove that and you should be solid.

datavici commented 4 years ago

Also, filename is wrong. anywhere it is nv-l4t-usb-device-mode.sh it should be changed to nv-l4t-usb-device-mode-start.sh

paragmehendale commented 4 years ago

I saw same issue with When I change the ./install.sh to include nv-l4t-usb-device-mode-start.sh, the bash does not execute all the way too.

alankongfq commented 4 years ago

I had since switch to Jetpack 4.3 and 4.4 for my development. @EnzoZafra solution works by cloning from the branch instead of the master. As for debugging install.sh, I havent done any deep dive into investigating this and dont wish to mess up what was predefined in the shell scripts.

As such I am closing this issue as the solution provided @EnzoZafra has done what was asked for.