Unable to pull the source code of tag jeton_38.4 from Git.
root@wpces:/home/wpces/Downloads/Linux_for_Tegra/source# ping gitlab.com
PING gitlab.com (xx.xx.xx.xx) 56(84) bytes of data.
64 bytes from xx.xx.xx.xx: icmp_seq=1 ttl=128 time=177 ms
64 bytes from xx.xx.xx.xx: icmp_seq=2 ttl=128 time=165 ms
64 bytes from xx.xx.xx.xx: icmp_seq=3 ttl=128 time=176 ms
^C
--- gitlab.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 164.968/172.537/176.606/5.357 ms
root@wpces:/home/wpces/Downloads/Linux_for_Tegra/source# ./source_sync.sh -k -t jetson_38.4
Detecting available git server...
Testing server: gitlab.com/nvidia/nv-tegra...
Testing server: nv-tegra.nvidia.com...
Using git server: nv-tegra.nvidia.com
Using user provided tag jetson_38.4 for source sync
Tag is set to jetson_38.4
Fetching tag jetson_38.4 for dtc-src/1.4.5 ...
Checking out tag jetson_38.4 for dtc-src/1.4.5 ...
Failed to checkout tag jetson_38.4 for dtc-src/1.4.5
Fetching tag jetson_38.4 for hardware/nvidia/t23x/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/t23x/nv-public ...
Failed to checkout tag jetson_38.4 for hardware/nvidia/t23x/nv-public
Fetching tag jetson_38.4 for hardware/nvidia/t264/nv-public ...
Do I have to manually download and unzip it from the official website?I donāt want to do that.
sudo tar -xpf ../../Tegra_Linux_Sample-Root-Filesystem_R38.4.0_aarch64.tbz2
cd ..
sudo ./apply_binaries.sh --openrm
tar -xpf ./public_sources.tbz2
cd Linux_for_Tegra/source
Then extract all the tarballs in the source folder
for f in *; do
case "$f" in
*.tbz2|*.tar.bz2) tar -xjf "$f" ;;
*.tar.gz|*.tgz) tar -xzf "$f" ;;
*.tar.xz) tar -xJf "$f" ;;
*.tar) tar -xf "$f" ;;
esac
done
Youāre really doing an excellent job! Has there been any improvement in the 100G network with this version? By switching to threaded mode, I was only able to reach over 40G with TCP in the previous version (r38.2.1), and UDP was only a few Mbps.
It can now be automatically pulled except for the kernel.It got blocked.
Fetching tag jetson_38.4 for hardware/nvidia/t23x/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/t23x/nv-public ...
Successfully synced hardware/nvidia/t23x/nv-public to /home/wpces/Downloads/Linux_for_Tegra/source/hardware/nvidia/t23x/nv-public with tag jetson_38.4
Fetching tag jetson_38.4 for hardware/nvidia/t264/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/t264/nv-public ...
Successfully synced hardware/nvidia/t264/nv-public to /home/wpces/Downloads/Linux_for_Tegra/source/hardware/nvidia/t264/nv-public with tag jetson_38.4
Fetching tag jetson_38.4 for hardware/nvidia/tegra/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/tegra/nv-public ...
Successfully synced hardware/nvidia/tegra/nv-public to /home/wpces/Downloads/Linux_for_Tegra/source/hardware/nvidia/tegra/nv-public with tag jetson_38.4
Fetching tag jetson_38.4 for hwpm ...
Checking out tag jetson_38.4 for hwpm ...
Successfully synced hwpm to /home/wpces/Downloads/Linux_for_Tegra/source/hwpm with tag jetson_38.4
Fetching tag jetson_38.4 for kernel-devicetree ...
Checking out tag jetson_38.4 for kernel-devicetree ...
Successfully synced kernel-devicetree to /home/wpces/Downloads/Linux_for_Tegra/source/kernel-devicetree with tag jetson_38.4
Cloning kernel/kernel-noble repository ...
Could you confirm whether syncing sources is slower but still works without issues, right?
This is because of nv-tegra git server. If you are seeing issues because of slowness of nv-tegra, you could use the new git server to sync - nv-tegra Ā· GitLab
I just tried again, but I canāt pull the kernel down. Itās not slow, it just doesnāt move at all. Thereās only a control folder and a .git folder. Other device tree sources that are smaller can be pulled down
root@wpces:/home/wpces/Downloads/Linux_for_Tegra/source/kernel/kernel-noble# ll
total 12
drwxr-xr-x 3 root root 4096 Jan 19 10:01 ./
drwxrwxrwx 3 root root 4096 Jan 19 10:01 ../
drwxr-xr-x 7 root root 4096 Jan 19 10:01 .git/
root@wpces:/home/wpces/Downloads/Linux_for_Tegra/source/kernel/kernel-noble#
Last week I looked at the 7.1 source_sync.sh and itās been updated and now defaults to the most recent Jetpack. I just ran following to pull sources. I think gitlab requires a person to logged into it; but I donāt know how that would work as I doubt gitlab.com is checking my web browsers cookies from within source_sync.sh. So nv-tegra wins below.
cd ~/nvidia/nvidia_sdk/JetPack_7.1_Linux_JETSON_AGX_THOR_TARGETS/Linux_for_Tegra/source
./source_sync.sh -k -o
Detecting available git server...
Testing server: gitlab.com/nvidia/nv-tegra...
Testing server: nv-tegra.nvidia.com...
Using git server: nv-tegra.nvidia.com
No user provided tag.. getting latest tag from reference repository
Using latest tag jetson_38.4 for source sync
Tag is set to jetson_38.4
I once cd into a git pull from nv-tegra and it was empty. so to be safe I ran I think then it was jetson_36.4.3 and all the source appeared.
Alright, whitesscott,but this part of the code in the Git repository should be public, so I feel like logging into an account shouldnāt be necessary.
Sorry, I tried the new script, but it directly exits without cloning the code from the repository.
new:
root@tj-software:~/wpces/source# ./source_sync.sh -k -t jetson_38.4
Detecting available git server...
Testing server: https://gitlab.com/nvidia/nv-tegra...
Using git server: https://gitlab.com/nvidia/nv-tegra
Using user provided tag jetson_38.4 for source sync
Tag is set to jetson_38.4
root@tj-software:~/wpces/source#
old:
root@tj-software:~/wpces/old# ./source_sync.sh -k -t jetson_38.4
Detecting available git server...
Testing server: gitlab.com/nvidia/nv-tegra...
Testing server: nv-tegra.nvidia.com...
Using git server: nv-tegra.nvidia.com
Using user provided tag jetson_38.4 for source sync
Tag is set to jetson_38.4
Cloning dtc-src/1.4.5 repository ...
Fetching tag jetson_38.4 for dtc-src/1.4.5 ...
Checking out tag jetson_38.4 for dtc-src/1.4.5 ...
Successfully synced dtc-src/1.4.5 to /root/wpces/old/dtc-src/1.4.5 with tag jetson_38.4
Cloning hardware/nvidia/t23x/nv-public repository ...
Fetching tag jetson_38.4 for hardware/nvidia/t23x/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/t23x/nv-public ...
Successfully synced hardware/nvidia/t23x/nv-public to /root/wpces/old/hardware/nvidia/t23x/nv-public with tag jetson_38.4
Cloning hardware/nvidia/t264/nv-public repository ...
Fetching tag jetson_38.4 for hardware/nvidia/t264/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/t264/nv-public ...
Successfully synced hardware/nvidia/t264/nv-public to /root/wpces/old/hardware/nvidia/t264/nv-public with tag jetson_38.4
Cloning hardware/nvidia/tegra/nv-public repository ...
Fetching tag jetson_38.4 for hardware/nvidia/tegra/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/tegra/nv-public ...
Successfully synced hardware/nvidia/tegra/nv-public to /root/wpces/old/hardware/nvidia/tegra/nv-public with tag jetson_38.4
Cloning hwpm repository ...
Fetching tag jetson_38.4 for hwpm ...
Checking out tag jetson_38.4 for hwpm ...
Successfully synced hwpm to /root/wpces/old/hwpm with tag jetson_38.4
Cloning kernel-devicetree repository ...
Fetching tag jetson_38.4 for kernel-devicetree ...
Checking out tag jetson_38.4 for kernel-devicetree ...
Successfully synced kernel-devicetree to /root/wpces/old/kernel-devicetree with tag jetson_38.4
Cloning kernel/kernel-noble repository ...
^C
root@tj-software:~/wpces/old# ls
I think a router in front of, or the server itself is down.
The connection has timed out
The server at nv-tegra.nvidia.com is taking too long to respond.```
traceroute to nv-tegra.nvidia.com (35.82.181.43), 30 hops max, 60 byte packets
1 Archer_BE550 (192.168.1.1) 0.415 ms 0.417 ms 0.397 ms
2 10.112.239.146 (10.112.239.146) 20.008 ms 10.112.239.147 (10.112.239.147) 19.950 ms 19.933 ms
3 po-56-rur202.pittsburg.ca.sfba.comcast.net (68.85.103.213) 19.881 ms po-56-rur201.pittsburg.ca.sfba.comcast.net (68.85.103.197) 19.822 ms po-56-rur202.pittsburg.ca.sfba.comcast.net (68.85.103.213) 19.848 ms
4 po-200-xar01.pittsburg.ca.sfba.comcast.net (68.86.143.1) 19.790 ms 20.284 ms po-200-xar02.pittsburg.ca.sfba.comcast.net (68.87.192.69) 19.838 ms
5 po-2-xar02.pittsburg.ca.sfba.comcast.net (162.151.86.14) 19.807 ms 19.792 ms 19.775 ms
6 be-398-ar01.hayward.ca.sfba.comcast.net (162.151.87.225) 22.060 ms 20.164 ms 20.135 ms
7 be-398-ar01.hayward.ca.sfba.comcast.net (162.151.87.225) 20.144 ms 12.319 ms 12.325 ms
8 * * *
9 * * *
10 * * *
...
I tried the parameter without -k and found that, just like in the old script in version 7.1, the device tree can be pulled down, but the kernel source cannot. After waiting for 5 to 6 minutes, the kernel source directory is still empty except for the .git file.
root@tj-software:~/wpces/source# ./source_sync.sh -t jetson_38.4
Detecting available git server...
Testing server: https://gitlab.com/nvidia/nv-tegra...
Using git server: https://gitlab.com/nvidia/nv-tegra
Using user provided tag jetson_38.4 for source sync
Tag is set to jetson_38.4
Cloning dtc-src/1.4.5 repository ...
Fetching tag jetson_38.4 for dtc-src/1.4.5 ...
Checking out tag jetson_38.4 for dtc-src/1.4.5 ...
Successfully synced dtc-src/1.4.5 to /root/wpces/source/dtc-src/1.4.5 with tag jetson_38.4
Cloning hardware/nvidia/t23x/nv-public repository ...
Fetching tag jetson_38.4 for hardware/nvidia/t23x/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/t23x/nv-public ...
Successfully synced hardware/nvidia/t23x/nv-public to /root/wpces/source/hardware/nvidia/t23x/nv-public with tag jetson_38.4
Cloning hardware/nvidia/t264/nv-public repository ...
Fetching tag jetson_38.4 for hardware/nvidia/t264/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/t264/nv-public ...
Successfully synced hardware/nvidia/t264/nv-public to /root/wpces/source/hardware/nvidia/t264/nv-public with tag jetson_38.4
Cloning hardware/nvidia/tegra/nv-public repository ...
Fetching tag jetson_38.4 for hardware/nvidia/tegra/nv-public ...
Checking out tag jetson_38.4 for hardware/nvidia/tegra/nv-public ...
Successfully synced hardware/nvidia/tegra/nv-public to /root/wpces/source/hardware/nvidia/tegra/nv-public with tag jetson_38.4
Cloning hwpm repository ...
Fetching tag jetson_38.4 for hwpm ...
Checking out tag jetson_38.4 for hwpm ...
Successfully synced hwpm to /root/wpces/source/hwpm with tag jetson_38.4
Cloning kernel-devicetree repository ...
Fetching tag jetson_38.4 for kernel-devicetree ...
Checking out tag jetson_38.4 for kernel-devicetree ...
Successfully synced kernel-devicetree to /root/wpces/source/kernel-devicetree with tag jetson_38.4
Cloning kernel/kernel-noble repository ...