Git permissions problem in jetson_35.1 Linux_for_Tegra/sources/kernel/nvidia

sudo ./source_sync.sh -t jetson_35.1

produces mostly success, except for 1 repo:
Directory for kernel/nvidia, /home/user/jetson/setupOrin/Linux_for_Tegra/sources/kernel/nvidia, already exists!
git@stash: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch origin
Couldn’t find tag jetson_35.1
/home/user/jetson/setupOrin/Linux_for_Tegra/sources/kernel/nvidia source sync to tag jetson_35.1 failed!

Dear @hcook

I have moved this post to the Jetson Orin section.

Thank you.
NVAPI Forum Moderator

1 Like

There are some issues at server to be resolved, please use the source package instead for now.

The problem is the order of operations in source_sync.sh
Because the line k:kernel/nvidia/drivers/net/ethernet/nvidia/nvethernet/nvethernetrm:nv-tegra.nvidia.com/kernel/nvethernetrm.git: will create the directory kernel/nvidia
k:kernel/nvidia:nv-tegra.nvidia.com/linux-nvidia.git: will fail.

Switching the order of the operations solves the problem.

--- Linux_for_Tegra/source_sync.sh~	2022-08-11 05:37:31.876958435 +0200
+++ Linux_for_Tegra/source_sync.sh	2022-08-17 09:35:28.711696967 +0200
@@ -59,9 +59,9 @@
 # NOTE: *Add only kernel repos here. Add new repos separately below. Keep related repos together*
 SOURCE_INFO="
 k:kernel/kernel-5.10:nv-tegra.nvidia.com/linux-5.10.git:
-k:kernel/nvidia/drivers/net/ethernet/nvidia/nvethernet/nvethernetrm:nv-tegra.nvidia.com/kernel/nvethernetrm.git:
 k:kernel/nvgpu:nv-tegra.nvidia.com/linux-nvgpu.git:
 k:kernel/nvidia:nv-tegra.nvidia.com/linux-nvidia.git:
+k:kernel/nvidia/drivers/net/ethernet/nvidia/nvethernet/nvethernetrm:nv-tegra.nvidia.com/kernel/nvethernetrm.git:
 k:hardware/nvidia/platform/tegra/common:nv-tegra.nvidia.com/device/hardware/nvidia/platform/tegra/common.git:
 k:hardware/nvidia/soc/t19x:nv-tegra.nvidia.com/device/hardware/nvidia/soc/t19x.git:
 k:hardware/nvidia/platform/t19x/common:nv-tegra.nvidia.com/device/hardware/nvidia/platform/t19x/common.git:

Thanks for pointing this out, our team has fixed it and trying to sync to get update.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.