Unfortunateley I was not able to get the driver to run . I have a Nvidia Xaveier NX developerr kit. I flashed it with the latest JetPack_4.4_DP_Linux_DP_JETSON_XAVIER_NX_DEVKIT. So quite a clean starting point to patch the kernel.
I was able to follow the complete patch and installation process without any visible error message besides the last intruction about moving the kernel modules from tmp to /lib/modules/ seems to be not exactly correct. The original image contains already a folder called 4.9.140-tegra . note tegra with lower case t. if i follow exactly your mv command sudo mv /tmp/4.9.140/* /lib/modules/4.9.140-Tegra/ I get ⊠no directory error message. if i remove the â*â the command works and it results in two folders in /lib/modules/ first â4.9.140-Tegraâ and second â4.9.140-tegraâ. But boot hangs at some point and display blinks. There is quit at the begiining of boot process a â failedâ error message telling something similar to âkernel modules could not be startedâ. I also tried to remove the original kernel modul folder and moved the new one into a folder named exactly like the folder from original image. All variants I tried seems to be not able to start kernel modules. If I replace the patched image with the original one I can boot again (at least if the modules are in the folder 4.9.140-tegra with lower case t). Unfortunately I do not have any idear to bring it to work at moment. I hope someone can give me a hint in the right direction.
Iâm quite sure the problem is with the kernel modules but do not find the right way to do it. Pherhaps someone who was successfull can copy paste me the exact path of the resulting folder in /lib/modules/. Should it be 4.9.140-tegra with lower case t like the original image or should it be 4.9.140-Tegra like in the instructions with upper case T?
Like @m.kirsch, wasnât successful in getting the driver to run, I have the same problem with the kernel modules.
I already contact the RidgeRun team by email to try to solve the problem.
Today, my team found a situation copying the kernel modules since the uname -r command returns 4.9.140-tegra before updating the kernel files.
But after rebooting, the uname -r command returns 4.9.140. So we renamed the folder to the correct one (without the tegra prefix) and now everything is working.
So, updating the instruction to sudo mv /tmp/4.9.140/* /lib/modules/$(uname -r)/ would not be enough.
We had to copy the files, not moving, since the kernel/ folder was not empty.
Thank you for all your valuable feedback about the IMX477 driver guide. We really appreciate it.
It seems the solution found by @Fredde on the modules copy works as expected.
I have updated the guide to ease the driver installation for future interested users.
I noticed that the Jetpack in the instructions is the Developer Preview (DP). Has anyone been successful at patching the GA or released Jetpack 4.4. I get errors running âquiltâ. Some files are patched and others seem to be missing.
canât find file to patch at input line 3077
1 out of 1 hunk ignored
canât find file to patch at input line 3092
16 out of 16 hunks ignored
We are currently modifying the repository structure in order to place the sources of Xavier NX and Nano in different directories. We will let you know once the changes are done on today afternoon.
The JetPack version shouldnât be a problem since the patch are applied on the 32.4.3 sources required for both JP 4.4 DP and JP 4.4.
Hi, Firstly thanks for giving this a go for Jetson Nano and NX. I first had Nano then when I found out you actually support nx went and bought that however now I think the patch process is broken for both :(
There seem to be some files missing. Here is what I get when I try quilt push to patch:
Applying patch patches/4.4.3_l4t32.4.3_rbpv3_imx477_support.patch
patching file hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-camera-jakku-rbpcv3-imx477.dtsi
patching file hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-camera-rbpcv3-imx477.dtsi
patching file hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3509-0000-a00.dtsi
patching file kernel/nvidia/drivers/media/i2c/Kconfig
patching file kernel/nvidia/drivers/media/i2c/Makefile
patching file kernel/nvidia/drivers/media/i2c/imx477.c
patching file kernel/nvidia/drivers/media/i2c/imx477_mode_tbls.h
patching file kernel/nvidia/include/media/imx477.h
patching file hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-camera-rbpcv3-dual-imx477.dtsi
patching file hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-camera-rbpcv3-imx477.dtsi
patching file hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-porg-camera-rbpcv3-dual-imx477.dtsi
patching file hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-porg-camera-rbpcv3-imx477.dtsi
canât find file to patch at input line 3077
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
We updated the instructions and the repository in order to have one folder for nano and one for NX to make the process easier and avoid some of the issues reported when applying the patch.
The âCopy the generated kernel and dtbâ part of this instruction is specific to Jetson NX. If you have a Jetson Nano you should copy a different dtb file.
We have updated the driver install instructions in order to provide an easiest way to add the IMX477 support.
From now on you are able to install the driver via debian packages with only a few commands.
This new instructions are only available for the Xavier NX, but we will update the guide with similar steps for the Jetson Nano as soon as possible.
Please, check the new section and let us know how it works for you.