The camera driver open image error on jetpack4.4

Hello,
system:Jetpack4.4
AGX-xavier

I added the fpdlink ub954 driver to Xavier platform. When i open the camera .
an error occur; here is the error log

1.here is my v4l2-ctl --list-formats-ext show

nvidia@ubuntu:~$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

    [0]: 'UYVY' (UYVY 4:2:2)
            Size: Discrete 1280x719
                    Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 2560x719
                    Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 1280x1086
                    Interval: Discrete 0.017s (60.000 fps)
    [1]: 'NV16' (Y/CbCr 4:2:2)
            Size: Discrete 1280x719
                    Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 2560x719
                    Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 1280x1086
                    Interval: Discrete 0.017s (60.000 fps)
    [2]: 'UYVY' (UYVY 4:2:2)
            Size: Discrete 1280x719
                    Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 2560x719
                    Interval: Discrete 0.033s (30.000 fps)
            Size: Discrete 1280x1086
                    Interval: Discrete 0.017s (60.000 fps)

2.open camer command

v4l2-ctl -d /dev/video0 --set-fmt-video=width=2560,height=719,pixelformat=UYVY --stream-mmap --stream-count=10 --set-ctrl bypass_mode=0 --stream-to=./stream.yuv

[ 70.329643] ar0231 1-0048: Error updating control ranges -22
[ 70.406032] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[ 70.415032] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 134, err_data 131072
[ 70.481225] ar0231 1-0048: Error updating control ranges
[ 73.046088] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 73.046252] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 73.046416] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 73.049096] tegra-capture-ivc ivc-bc00000.rtcpu:ivccontrol@3: No callback found for msg id: 0x39
[ 73.049326] tegra-capture-ivc ivc-bc00000.rtcpu:ivccontrol@3: No callback found for msg id: 0x41
[ 73.049478] tegra-capture-ivc ivc-bc00000.rtcpu:ivccontrol@3: No callback found for msg id: 0x37
[ 73.049669] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 73.051528] ------------[ cut here ]------------
[ 73.051670] WARNING: CPU: 0 PID: 7411 at /home/ub/4_nx.32.4.3_4.4/Linux_for_Tegra/source/kernel/kernel-4.9/drivers/media/v4l2-core/videobuf2-core.c:1370 vb2_start_streaming+0xd4/0x158
[ 73.051964] Modules linked in: ar0231 fuse zram overlay spidev nvgpu bluedroid_pm ip_tables x_tables

[ 73.052031] CPU: 0 PID: 7411 Comm: v4l2-ctl Not tainted 4.9.140-tegra #2
[ 73.052036] Hardware name: Jetson-AGX (DT)
[ 73.052042] task: ffffffc3ba2dd400 task.stack: ffffffc3d70a8000
[ 73.052051] PC is at vb2_start_streaming+0xd4/0x158
[ 73.052058] LR is at vb2_start_streaming+0x6c/0x158
[ 73.052067] pc : [] lr : [] pstate: 20400045
[ 73.052071] sp : ffffffc3d70abb30
[ 73.052076] x29: ffffffc3d70abb30 x28: 0000000000000000
[ 73.052090] x27: ffffffc3e24d5000 x26: 0000000000000001
[ 73.052102] x25: ffffff8009fcdbf0 x24: 0000000000000012
[ 73.052121] x23: 0000000000000000 x22: ffffffc3d70abd10
[ 73.052133] x21: ffffffc3e9bb0768 x20: ffffffc3e9bb0780
[ 73.052145] x19: 00000000ffffffea x18: 00000000000036b5
[ 73.052160] x17: 0000007f9b1cff60 x16: 0000000000000000
[ 73.052172] x15: 0000000000000000 x14: 0000000000000000
[ 73.052183] x13: 0000000000000085 x12: 071c71c71c71c71c
[ 73.052195] x11: 000000000000000b x10: 0000000000000a10
[ 73.052208] x9 : ffffffc3d70ab3a0 x8 : ffffffc3ba2dde70
[ 73.052219] x7 : fefefeff646c606d x6 : 000000001279e7b8
[ 73.052231] x5 : 0000000000000000 x4 : 0000000000000001
[ 73.052243] x3 : 0000000000000000 x2 : 0000000000010000
[ 73.052255] x1 : 0000000000000000 x0 : ffffffc3bbaef5b8

[ 73.052270] —[ end trace 604e85a88c821b44 ]—
[ 73.052382] Call trace:
[ 73.052393] [] vb2_start_streaming+0xd4/0x158
[ 73.052402] [] vb2_core_streamon+0x16c/0x1a0
[ 73.052409] [] vb2_streamon+0x54/0x88
[ 73.052416] [] vb2_ioctl_streamon+0x54/0x60
[ 73.052425] [] v4l_streamon+0x3c/0x50
[ 73.052434] [] __video_do_ioctl+0x204/0x2c8
[ 73.052442] [] video_usercopy+0x2a0/0x6a0
[ 73.052450] [] video_ioctl2+0x3c/0x50
[ 73.052457] [] v4l2_ioctl+0x88/0x118
[ 73.052467] [] do_vfs_ioctl+0xb0/0x8d8
[ 73.052475] [] SyS_ioctl+0x8c/0xa8
[ 73.052484] [] el0_svc_naked+0x34/0x38

Have a check the trace log to get more information.

https://elinux.org/Jetson_TX2_Camera_BringUp

Hi Liu_zheng89,
Have you found any solution for the above problem…?

Thanks,
JSP

I use another version of the files(camera_common.c and sensor_common.c),and add my code;It work; but i do not know why ;here is my code

camera&sensor.zip (10.3 KB)

thanks