Camera Driver Question - TX1

I’m working on a new mipi camera driver (see thread https://devtalk.nvidia.com/default/topic/902509/camera-driver-question-tx1/ which I’m having trouble accessing at the moment for some reason) and running into a few issues.

I received two patches (from nvidia) for the soc_camera stack:
0001-media-tegra_camera-fix-syncpoint-time-out-issue[5].patch
0002-media-tegra_camera-init-mipi-bias-pad[5].patch

which I’ve applied to the kernel and rebuilt. Now, instead of a stream of syncpoint errors I see a single one listed in dmesg output (though my guess is that is normal behavior for the first attempted frame capture). However a frame capture takes a very long time (approximately three seconds) to return an image and the data comes back as an all black image (pixels are indentically zero valued).

One thing I wanted to try this week was to test the patched kernel with the camera module that came with the TX1. Does the kernel configuration that ships with the tx1 devkit have the appropriate camera driver module built/enabled or is that something we should alter in the configuration when building the kernel? It looks like may be a “Sunny” module

You can use the OV5693 camera that ships with the devkit either through nvgstcapture or gstreamer pipeline. For example pipelines, see Jetson TX1 Multimedia Guide (http://developer.download.nvidia.com/embedded/L4T/r23_Release_v1.0/L4T_Tegra_X1_Multimedia_User_Guide.pdf — look for pipelines with the nvcamerasrc element) or here: https://devtalk.nvidia.com/default/topic/904169/live-camera-h264enc-does-not-work/post/4761149/#4761149