Jetson-linux-build

When I follow the official kernel compilation tool and instructions at GitHub - jetsonhacks/jetson-linux-build at v1.1

After my Orin executed the “./getKernelSources.sh” command to download the kernel source compressed package, the following error occurred:
“tar: public_sources.tbz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: kernel_src.tbz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
rm: cannot remove ‘kernel_src.tbz2’: No such file or directory
./scripts/getKernelSources.sh: line 120: cd: kernel/kernel-5.10: No such file or directory
/usr/src
bash: scripts/config: No such file or directory”
How can it be repaired?

Hi,
For building kernel, please check developer guide:
Kernel — Jetson Linux<br/>Developer Guide 34.1 documentation

The quick method is to download source code package:
Jetson Linux 35.1 | NVIDIA Developer

Driver Package (BSP) Sources

And build it with nvbuild.sh

Also, make sure you have enough disk space available. At the location where you run the getKernelSources.sh script run “df -H .” (one reason for a download to fail is lack of space).

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