I have some basic questions to start off regarding my integration of Framegrabber camera link card to my Jetson AGX Industrial Xavier device on my customized carrier board.
We are fixing this card to our mPCIe slot and it is detecting when we give “lspci” command.
My questions are:
What are the next steps to enable/add the drivers for this card in my kernel modules?
Should I modify my existing dtsi files by adding a new node to enable to card?
Please point my to the correct steps to be followed. Thanks.
Thanks for the response.
We have mailed the vendor for the driver packages for our Frame Grabber camlink card. My understanding was third party driver are provided for this card from the vendor and we need only install and or make part of our kernel/device tree ( DTB) package.
I have below queries, please answer them for me to understand and how to implement this better:
I thought the drivers for this card already exist and provided by the vendor himself? yes or no
My understanding was that, we need to just add a device tree node for this card in the camera related dtsi file and the card should work straight away? yes or no
Install PIXCI® driver. One or more precompiled PIXCI® drivers are provided with XCAP. If one of these drivers match the current kernel, use XCAP’s:
Close (if open)
Install PIXCI® Driver
Install Precompiled Driver
Alternately, the PIXCI® driver can be compiled so as to match the current kernel. Use XCAP’s:
After the installation is done, how to package this frame grabber driver as part of my kernel image/DTB build which I will be flashing on to the other boards, so that the frame grabber should work automatically aftet the kernel image flash?
Please provide the specific steps to follow. Thanks.
just for my complete/through understanding, I am asking this question.
I thought flash command was used basically to flash the image from host PC to the target jetson device, but as per this below command, it means the other way round.
We are copying( cloning) the image from the jetson device to the host pc. please confirm, if my understanding is correct. Thanks.
Copy system.img from the file system partition you want to flash from. Enter the command:
I got the XCAP Frame Grabber Image processing tool installed on my Jetson device.
The same tool provided option to install the PIXCI@Frame grabber drivers also but the driver installation failed. As my kernel-tegra version is 5.10.120.-rt70-tegra where as the tool provide lower version of kernel version.
Can we build there driver source files on my REALTIME kernel and build a image and flash it.
If Yes, Please let me know the procedure for the same. Thanks.
Thanks for the updates.
I am facing new issue now when trying to build my third party Camlink framegrabber driver source file on my target kernel. The make file used for compiling framegrabber driver is searching for a ‘build’ folder inside the folder “/rootfs/lib/modules/5.10.120-rt70-tegra”
and hence is throwing error.
I see that the build and source folder are broken on my target PC, where as they are present on my host PC as show below:
, but I am getting some ld and other errors as attached in the log file. Please let me know, what might be the issues. Thanks.
Makefile modules.order Module.symvers pixci_aarch64.ko pixcilnx_aarch64_5.10.104-tegra.a pixci.mod pixcipub.c pixcipub.h
root@trident-B660M-AORUS-PRO-AX-DDR4:/home/trident/Downloads/r35_4_1/Linux_for_Tegra/source/public/kernel/kernel-5.10/drivers/xcap/drivers/aarch64/src_5.10.104-tegra# make ARCH=arm64 -C /home/trident/Downloads/r35_4_1/Linux_for_Tegra/source/public/build_13dec2/ M=$PWD
make: Entering directory ‘/home/trident/Downloads/r35_4_1/Linux_for_Tegra/source/public/build_13dec2’
arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum