On TX2 with L4T 28.2 installed via JetPack 3.2,
/lib/modules/4.4.38-tegra/ includes:
lrwxrwxrwx 1 root root 87 Apr 14 11:35 source -> /usr/parker/linux4tegra/branches/28.2_testing/Linux_for_Tegra/sources/kernel/kernel-4.4
Pretty sure this shouldn’t be there, but what should this link actually point to? /usr/src? Something else?
This simply means the source from which the original installed system built the modules was at that location. This isn’t an error.
If you were wanting to make this “correct” you’d end up installing the full source on your Jetson and placing it at that location fully configured to match the config at the time of compile. This isn’t all that useful though because packages designed to be built against this and which may want to rebuild themselves don’t exist…those packages only exist for the mainline kernels provided by official Ubuntu repositories.
If you want to build source for the kernel directly on the Jetson then this is ok to have…but the automatic software systems still won’t use it. It consumes about 2GB of disk space.
roach374,
May I ask what’ve you done to your rootfs? I don’t see the source directory under my 4.4.38-tegra.
Did you use the script to sync kernel source?