alliedvision / linux_nvidia_jetson

Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems.
105 stars 41 forks source link

setup.sh failed to download gcc #19

Open guillebot opened 3 years ago

guillebot commented 3 years ago
guille@monster:~/linux_nvidia_jetson/avt_build$ ./setup.sh work_dir nano
>> [i]...Running script for preparing Linux4Tegra setup...
>> [d]...dedicated for L4T: R32.5.1 and Jetson TX2/XAVIER...
/home/guille/linux_nvidia_jetson/avt_build/resources/gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz: No such file or directory
>> [F]...Failed to download gcc toolchain from url https://developer.nvidia.com/embedded/dlc/l4t-gcc-7-3-1-toolchain-64-bit...
>> Failed...
>> [i]...Script execution...
>> Failed...

It works downloading manually to resources/gcc

guillebot commented 3 years ago

Same on Jetson Xavier NX (previous was on TX2)

tecnox@nx:~/linux_nvidia_jetson-l4t-32.5.1-2.0.0/avt_build$ ./setup.sh work_dir nx
>> [i]...Running script for preparing Linux4Tegra setup...
>> [d]...dedicated for L4T: R32.5.1 and Jetson TX2/XAVIER...
--2021-07-02 16:21:25--  https://developer.nvidia.com/embedded/l4t/r32_release_v5.1/r32_release_v5.1/t186/tegra186_linux_r32.5.1_aarch64.tbz2
Resolving developer.nvidia.com (developer.nvidia.com)... 192.229.139.117
Connecting to developer.nvidia.com (developer.nvidia.com)|192.229.139.117|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://developer.download.nvidia.com/embedded/L4T/r32_Release_v5.1/r32_Release_v5.1/T186/Tegra186_Linux_R32.5.1_aarch64.tbz2?L8rGKOXMNT-xhIHksVm9d5QIWhr24q4A5FOkQKC4uIEzAhS9MtOyrSL9jSQxW3bX1wgvgbj6OZgHnSuNqqEyqKhg4qsmznRwsB89dvGcM4sg6fz0Wpd2h44r2Eaey8_sbxO-Kx1VjOS9BQCFWCtla63EPIJVekAaEA9GoIPFGZhd3mmM18EksVgKyHbuqXMnQdjKRvJ4 [following]
--2021-07-02 16:21:28--  https://developer.download.nvidia.com/embedded/L4T/r32_Release_v5.1/r32_Release_v5.1/T186/Tegra186_Linux_R32.5.1_aarch64.tbz2?L8rGKOXMNT-xhIHksVm9d5QIWhr24q4A5FOkQKC4uIEzAhS9MtOyrSL9jSQxW3bX1wgvgbj6OZgHnSuNqqEyqKhg4qsmznRwsB89dvGcM4sg6fz0Wpd2h44r2Eaey8_sbxO-Kx1VjOS9BQCFWCtla63EPIJVekAaEA9GoIPFGZhd3mmM18EksVgKyHbuqXMnQdjKRvJ4
Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 152.199.52.179
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.199.52.179|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 350546301 (334M) [application/octet-stream]
Saving to: ‘/home/tecnox/linux_nvidia_jetson-l4t-32.5.1-2.0.0/avt_build/resources/driverPackage/tegra186_linux_r32.5.1_aarch64.tbz2’

/home/tecnox/linux_nvidia_jetson-l4t-32.5 100%[====================================================================================>] 334,31M  3,58MB/s    in 91s

2021-07-02 16:23:00 (3,69 MB/s) - ‘/home/tecnox/linux_nvidia_jetson-l4t-32.5.1-2.0.0/avt_build/resources/driverPackage/tegra186_linux_r32.5.1_aarch64.tbz2’ saved [350546301/350546301]

/home/tecnox/linux_nvidia_jetson-l4t-32.5.1-2.0.0/avt_build/resources/gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz: No such file or directory
>> [F]...Failed to download gcc toolchain from url https://developer.nvidia.com/embedded/dlc/l4t-gcc-7-3-1-toolchain-64-bit...
>> Failed...
>> [i]...Script execution...
>> Failed...
tecnox@nx:~/linux_nvidia_jetson-l4t-32.5.1-2.0.0/avt_build$ wget https://github.com/alliedvision/linux_nvidia_jetson/releases/download/l4t-32.5.1-2.0.0/AlliedVision_NVidia_xavier_L4T_32.5.1_4.9.201-g180da76c98e2.tar.gz
--2021-07-02 16:23:41--  https://github.com/alliedvision/linux_nvidia_jetson/releases/download/l4t-32.5.1-2.0.0/AlliedVision_NVidia_xavier_L4T_32.5.1_4.9.201-g180da76c98e2.tar.gz
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/213576886/72950000-d9a9-11eb-8fb7-751beac1b1c0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210702%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210702T192342Z&X-Amz-Expires=300&X-Amz-Signature=a6fc8046683723f527038761de77446c5cd7f7e9beebbc0af7da4d91b63dbc69&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=213576886&response-content-disposition=attachment%3B%20filename%3DAlliedVision_NVidia_xavier_L4T_32.5.1_4.9.201-g180da76c98e2.tar.gz&response-content-type=application%2Foctet-stream [following]
--2021-07-02 16:23:42--  https://github-releases.githubusercontent.com/213576886/72950000-d9a9-11eb-8fb7-751beac1b1c0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210702%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210702T192342Z&X-Amz-Expires=300&X-Amz-Signature=a6fc8046683723f527038761de77446c5cd7f7e9beebbc0af7da4d91b63dbc69&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=213576886&response-content-disposition=attachment%3B%20filename%3DAlliedVision_NVidia_xavier_L4T_32.5.1_4.9.201-g180da76c98e2.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.109.154, 185.199.108.154, 185.199.110.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.109.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61247618 (58M) [application/octet-stream]
Saving to: ‘AlliedVision_NVidia_xavier_L4T_32.5.1_4.9.201-g180da76c98e2.tar.gz’

                        AlliedVision_NVidia_xav  55%[=========================================================>                                              ]  32,59M  3,14MB/s    eta 17s                           AlliedVision_NVidia_xavi  56%[========================================================>                                              ]  32,79M  3,16MB/s    eta 17s  
lukazso commented 3 years ago

Same issue encountered here.

bjarnekvae commented 2 years ago

It fails because the folder "gcc" in under resources folder does not exist,

try "mkdir resources/gcc" and then rerun the setup script