Closed bfoz closed 1 year ago
Hello bfoz,
the problem is carriage return/line feed related. If you are using the gnu patch, you could convert the patch files with: dos2unix file.patch After that, the gnu patch binary should be succeeding
@bfoz did you apply this patch in Yocto build ?
@bfoz in 32.6 the nvidia Kernel modules live out of tree in the nvidia-oot
directory.
So you need to apply them in the kernel or in nvidia-oot, as it fits.
Also, the csi stream write functions are not there in 32.6 so there is a patch that does not apply (you can add the missing code if necessary).
Beware that the nvcsi registers are protected behind a firewall in the default mb2 so you need to add some extra rules and reflash (you can find this in the forums)
Hope it helps.
I can share what I've done if anyone is interested, but I saw an open ticket to support 36.2 so maybe this will come soon.
@bfoz I am working on 35.4.1; yes, they have milestones for 35.4.1 and 36.x, but I do not know when they will be available.
I am working with Jetson Orin Nano Devkit 8GB variation. I am building my custom image using Yocto-OpemEmbedded reference distribution. I have added the driver and device tree following Integrate the driver in your own BSP instructions. Later, I added my custom distro within the kernel recipe with the vc_mipi patches. It flashed without any error, but I could not see any traces of vc_mipi in the live image.
According to your last comment, I think I applied them in the kernel using the bb append file. Any idea am I doing it right ?
I was trying to apply the patches using buildroot.
I'm no longer working on the project that triggered this PR, so I haven't kept up with the latest changes.
Hello bfoz,
the problem is carriage return/line feed related. If you are using the gnu patch, you could convert the patch files with: dos2unix file.patch After that, the gnu patch binary should be succeeding
Can you please explain more about this ?
I'm trying to apply the kernel patches listed in Integrate the driver in your own BSP to a kernel that I'm building for a Jetson AGX devkit. The kernel source is from R32.6.1. Unfortunately, the patches from the
kernel_Xavier_32.6.1+
directory don't apply cleanly. Am I doing something wrong?Using this simple shell snippet:
NOTE: I used a similar for-loop (without
--dry-run
) to apply the patches fromkernel_common_32.3.1+
before running the above. Those patches, except the one for .gitignore, applied cleanly.The resulting output:
It appears that some of the problems are whitespace-related, despite passing
--ignore-whitespace
and--binary
. I'm not sure if that's a problem with the version ofpatch
that I'm using (GNU patch 2.7.6
) or if there's something odd about the patch files themselves.I've checked that
$build_dir
is correct given the paths in the patch files. I've also tried without--dry-run
in case that was the problem.Any other ideas?