eLinux.org:Jetson/L4T/Camera BringUp
Get Prepared
- Please read through "Camera Development" section in https://developer.nvidia.com/embedded/dlc/l4t-documentation-28-1
FAQ
Tips for debugging
- if you saw below error message
tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
- please check below 4 items in your sensor device tree, these should follow the settings in your sensor datasheet
mode0 { cil_settletime = "0"; active_w = "1920"; active_h = "1080"; embedded_metadata_height = "1";
- if you saw below error message
video4linux video0: MW_ACK_DONE syncpoint time out!
- please check below
please review the configuration of "line_length" in sensor driver try to increase the delay between video lines data send via CSI review the sensor datasheet to check the settings of FPS range
- if you saw below message it could be the sensor output embedded data line but DT didn't declare embedded_metadata_height or it value is 0
arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x200011, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
Steps to enable more debug messages
- To enable trace for more information
echo 1 > /sys/kernel/debug/tracing/tracing_on echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable echo 1 > /sys/kernel/debug/tracing/events/freertos/enable echo 2 > /sys/kernel/debug/camrtc/log-level echo > /sys/kernel/debug/tracing/trace cat /sys/kernel/debug/tracing/trace
- To enable logs from user-space for more details
sudo su kill the process of argus_daemon or nvcamera-daemon export enableCamPclLogs=5 export enableCamScfLogs=5 /usr/sbin/argus_daemon option for argus /usr/sbin/nvcamera-daemon option for gst-launch launch camera from another console