VC-MIPI-modules / vc_mipi_nvidia

Vision Components MIPI CSI-2 driver for NVIDIA Jetson Nano, Xavier NX, AGX Xavier, TX2 and Orin Nano, Orin NX
84 stars 34 forks source link

How does orin nano port vc mipi nvida #117

Closed lipingioiopeter closed 3 months ago

lipingioiopeter commented 3 months ago

IDE:jeston 36.0 JetPack6.0 core board:orin Nano4GB board:Jetson Orin Nano Developer Kit kernel source: Jetson Linux 36.3 | NVIDIA Developer rootfs source: Basic Flavor Root File System Root File System — NVIDIA Jetson Linux Developer Guide 1 documentation I am a beginner and recently used an imx477 camera in a project. While searching for information, I found someone using vc-mipi-nvidia to implement the camera driver. I according to the https://github.com/VC-MIPI-modules/vc_mipi_nvidia website guidance for migration, module migration found the following problems.:

  1. According to the tutorial, I will copy in the device tree to/hardware/nvidia/t23x/nv - public/overlay path, but his third department all the driver file copy to / kernel/nvidia/drivers/media/i2c path, In my actual kernel there is no such path but: Linux_for_Tegra/source/kernel/kernel - jammy - SRC/drivers/media/i2c, I also found a path Linux_for_Tegra/source/nvidia-oot/drivers/media/i2c, which path do I need to copy the file to? Or are neither of these paths correct?
  2. Do I need to change the Makefile and Kconfig if I copy the file to the appropriate location?