Nfeng
August 10, 2016, 2:10am
21
The first issue for cheese will be fixed in the coming R24.2 release.
As to the second issue, Cheese or v4l2src can be working with the webcam, other than the onboard camera ov5693, which is a raw sensor and desire proper isp processing.
Nfeng
August 17, 2016, 7:08am
22
I have downloaded and compiled L4T24.1 with minor compiler fixes only.
After reflashing Tegra X1 I see both nvhost_vi and ov5693 modules loaded:
~$ lsmod
Module Size Used by
bcmdhd 7453369 0
soc_camera 19779 0
rfcomm 65174 0
soc_mediabus 4805 1 soc_camera
videobuf_core 20066 1 soc_camera
cfg80211 449494 1 bcmdhd
bnep 14520 2
ov5693 27234 1
nvhost_vi 5592 0
bluedroid_pm 11244 0
Executing gstreamer pipeline with nvcamerasrc works fine generating video on the desktop. But that’s not we need. We need in future to attach some CSI device with parameters other than supported by nvcamerasrc. So for now we stick with the default camera OV5693.
Executing gstreamer pipeline with v4l2 generates strange warnings and after several seconds the device becomes irresponsible (extremely slow leading to irresponsiveness):
~# gst-launch-1.0 -e
v4l2src device=“/dev/video0”
! “video/x-raw, width=(int)640, height=(int)480, format=(string)I420”
! xvimagesink
[ 106.640099] video4linux video0: frame start syncpt timeout!
[ 106.645842] video4linux video0: TEGRA_VI_CSI_ERROR_STATUS 0x00000000
[ 108.649114] video4linux video0: MW_ACK_DONE syncpoint time out!
[ 108.649170] video4linux video0: frame start syncpt timeout!
[ 108.649174] video4linux video0: TEGRA_VI_CSI_ERROR_STATUS 0x00000000
[ 110.649652] video4linux video0: frame start syncpt timeout!
[ 110.655704] video4linux video0: TEGRA_VI_CSI_ERROR_STATUS 0x00000000
[ 110.669824] video4linux video0: MW_ACK_DONE syncpoint time out!
[ 112.669835] video4linux video0: MW_ACK_DONE syncpoint time out!
[ 112.739093] video4linux video0: frame start syncpt timeout!
[ 113.247170] Host read timeout at address 54080384
[ 113.254895] video4linux video0: TEGRA_VI_CSI_ERROR_STATUS 0xffffffff
[ 114.266664] Host read timeout at address 54081054
[ 115.239791] video4linux video0: MW_ACK_DONE syncpoint time out!
[ 116.259829] video4linux video0: frame start syncpt timeout!
[ 116.768685] Host read timeout at address 54080384
[ 116.772536] video4linux video0: TEGRA_VI_CSI_ERROR_STATUS 0xffffffff
[ 118.282023] video4linux video0: MW_ACK_DONE syncpoint time out!
[ 124.898566] Host read timeout at address 542400e0
[ 125.401699] video4linux video0: frame start syncpt timeout!
[ 125.904554] video4linux video0: TEGRA_VI_CSI_ERROR_STATUS 0xffffffff
[ 129.927031] Host write timeout at address 54241c20
[ 129.929165] video4linux video0: MW_ACK_DONE syncpoint time out!
[ 130.431682] video4linux video0: frame start syncpt timeout!
[ 130.934194] video4linux video0: TEGRA_VI_CSI_ERROR_STATUS 0xffffffff
[ 133.455969] Host read timeout at address 542400e0
[ 133.456068] video4linux video0: MW_ACK_DONE syncpoint time out!
[ 133.466573] Host write timeout at address 542400e0
[ 134.476442] Host write timeout at address 542400e0
Any attempt to rmmod nvhost_vi leads to kernel NULL pointer crash:
ubuntu@tegra-ubuntu:~$ sudo rmmod nvhost_vi
[ 123.121931] Unable to handle kernel NULL pointer dereference at virtual address 000000a8
[ 123.130154] pgd = ffffffc0fae5d000
[ 123.133553] [000000a8] *pgd=0000000000000000
[ 123.137830] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 123.143390] Enter nvdumper_crash_setup_regs
[ 123.147600] nvdumper: all registers are saved.
[ 123.147611] nvdumper: all registers are saved.
[ 123.147615] nvdumper: all registers are saved.
[ 123.160897] nvdumper: all registers are saved.
[ 123.165330] Modules linked in: bcmdhd soc_camera rfcomm soc_mediabus videobuf_core cfg80211 bnep ov5693 nvhost_vi(-) bluedrm
[ 123.177076] CPU: 0 PID: 1545 Comm: rmmod Not tainted 3.10.96-urcpi-1.0.3a+ #11
[ 123.184283] task: ffffffc0f50ae5c0 ti: ffffffc0e3450000 task.ti: ffffffc0e3450000
[ 123.191756] PC is at mutex_lock+0x24/0x60
[ 123.195756] LR is at mutex_lock+0x24/0x60
[ 123.199756] pc : [<ffffffc000a96618>] lr : [<ffffffc000a96618>] pstate: 60000145
[ 123.207134] sp : ffffffc0e3453b60
[ 123.210440] x29: ffffffc0e3453b60 x28: ffffffc0e3450000
[ 123.215759] x27: ffffffc0010f8000 x26: 000000000000006a
[ 123.221076] x25: ffffffc0fa88a858 x24: ffffffc0fafbc520
[ 123.226394] x23: ffffffc00130e098 x22: ffffffc00130e094
[ 123.231712] x21: ffffffc0fa492980 x20: ffffffc0fa492980
[ 123.237032] x19: 00000000000000a8 x18: a000540e53e8eec0
[ 123.242352] x17: 80880080002300c4 x16: ffffffc0fdc89740
[ 123.247669] x15: ffffffc0fdc89780 x14: ffffffc0fdc897c0
[ 123.252989] x13: ffffffc0fdc89800 x12: 0000000000000027
[ 123.258307] x11: 0000000000000011 x10: ffffffc0fdc898c0
[ 123.263626] x9 : ffffffc0fdc89b00 x8 : fffffffffc3fffff
[ 123.268947] x7 : 3f05a6f29a46fe03 x6 : ffffffc0012b9ea8
[ 123.274264] x5 : ffffffc0e3450000 x4 : 0000000000000000
[ 123.279582] x3 : 0000000000000000 x2 : 0000000000000140
[ 123.284901] x1 : 000000000000005f x0 : ffffffc000ef8b98
[ 123.290222]
[ 123.290222] PC: 0xffffffc000a96598:
[ 123.295175] 6598 97d8d4d0 17ffff91 910123a1 aa1503e0 97d8ef8c 17ffffb8 b9400260 7100041f
[ 123.303419] 65b8 54fff360 17fffff9 910123a1 aa1503e0 97d8ef84 17ffffb5 b9400260 7100041f
[ 123.311665] 65d8 54ffff41 17ffff92 a94153f3 a9425bf5 a94363f7 a8c67bfd d65f03c0 a9be7bfd
[ 123.319912] 65f8 910003fd f9000bf3 aa0003f3 52800002 52800be1 d0002300 912e6000 97d915b7
[ 123.328157] 6618 885f7e60 51000400 8801fe60 35ffffa1 d5033bbf 36f80060 aa1303e0 97ffff5a
[ 123.336404] 6638 910003e0 9272c400 f9400800 f9000e60 f9400bf3 a8c27bfd d65f03c0 a9be7bfd
[ 123.344650] 6658 910003fd a90153f3 aa0003f3 91001014 aa1403e0 940008b7 aa1303e0 52800021
[ 123.352895] 6678 b8008401 f9400661 eb00003f 54000060 f9400820 97d92b88 aa1403e0 940009b2
[ 123.361142]
[ 123.361142] LR: 0xffffffc000a96598:
[ 123.366095] 6598 97d8d4d0 17ffff91 910123a1 aa1503e0 97d8ef8c 17ffffb8 b9400260 7100041f
[ 123.374342] 65b8 54fff360 17fffff9 910123a1 aa1503e0 97d8ef84 17ffffb5 b9400260 7100041f
[ 123.382585] 65d8 54ffff41 17ffff92 a94153f3 a9425bf5 a94363f7 a8c67bfd d65f03c0 a9be7bfd
[ 123.390830] 65f8 910003fd f9000bf3 aa0003f3 52800002 52800be1 d0002300 912e6000 97d915b7
[ 123.399076] 6618 885f7e60 51000400 8801fe60 35ffffa1 d5033bbf 36f80060 aa1303e0 97ffff5a
[ 123.407325] 6638 910003e0 9272c400 f9400800 f9000e60 f9400bf3 a8c27bfd d65f03c0 a9be7bfd
[ 123.415570] 6658 910003fd a90153f3 aa0003f3 91001014 aa1403e0 940008b7 aa1303e0 52800021
[ 123.423815] 6678 b8008401 f9400661 eb00003f 54000060 f9400820 97d92b88 aa1403e0 940009b2
[ 123.432061]
[ 123.432061] SP: 0xffffffc0e3453ae0:
[ 123.437012] 3ae0 fa492980 ffffffc0 fa492980 ffffffc0 0130e094 ffffffc0 0130e098 ffffffc0
[ 123.445257] 3b00 fafbc520 ffffffc0 fa88a858 ffffffc0 0000006a 00000000 010f8000 ffffffc0
[ 123.453503] 3b20 e3450000 ffffffc0 e3453b60 ffffffc0 00a96618 ffffffc0 e3453b60 ffffffc0
[ 123.461749] 3b40 00a96618 ffffffc0 60000145 00000000 e3453b60 ffffffc0 00a96618 ffffffc0
[ 123.469997] 3b60 e3453b80 ffffffc0 002af054 ffffffc0 fe1fa0c0 ffffffc0 0008bd98 ffffffc0
[ 123.478244] 3b80 e3453bc0 ffffffc0 0041dae8 ffffffc0 fe1fa0c0 ffffffc0 fed50000 ffffffc0
[ 123.486488] 3ba0 fed50058 ffffffc0 e3453c60 ffffffc0 0000000a 00000000 fafbc520 ffffffc0
[ 123.494736] 3bc0 e3453bf0 ffffffc0 0041dba0 ffffffc0 01137420 ffffffc0 fe1fa0c0 ffffffc0
[ 123.502985]
[ 123.502985] X0: 0xffffffc000ef8b18:
[ 123.507937] 8b18 6f6c635f 6e5f6b63 736f6e61 7065656c 00000000 00000000 6e72656b 6b2f6c65
[ 123.516182] 8b38 65726874 632e6461 00000000 00000000 7268746b 64646165 00000000 00000000
[ 123.524427] 8b58 6e72656b 702f6c65 7869736f 7570632d 6d69742d 2e737265 00000063 00000000
[ 123.532673] 8b78 54523601 74615720 6f646863 69542067 756f656d 25203a74 64255b73 00000a5d
[ 123.540917] 8b98 6e72656b 6d2f6c65 78657475 0000632e 6e72656b 682f6c65 6d697472 632e7265
[ 123.549165] 8bb8 00000000 00000000 6f433401 20646c75 20746f6e 74697773 74206863 6968206f
[ 123.557409] 8bd8 72206867 6c6f7365 6f697475 6f6d206e 6f206564 5043206e 64252055 0000000a
[ 123.565654] 8bf8 72683601 656d6974 725f7372 6d757365 20292865 6c6c6163 77206465 20687469
[ 123.573903]
[ 123.573903] X5: 0xffffffc0e344ff80:
[ 123.578854] ff80 a9425bf5 a94363f7 a9446bf9 a94573fb a8cf7bfd d65f03c0 b00000e1 9101e021
[ 123.587101] ffa0 38604822 10000063 8b228862 d61f0040 f941ba60 97ffb2b7 17ffffd5 aa1303e0
[ 123.595345] ffc0 97fffe44 17ffffe9 79475661 79475e60 52801bc2 0a000020 0a020000 1ad82800
[ 123.603591] ffe0 3607f840 93407f00 b00000e1 8b000400 91026021 8b000c20 b9408fa8 39404017
[ 123.611837] 0000 00000008 00000000 ffffffff ffffffff f50ae5c0 ffffffc0 000bc344 ffffffc0
[ 123.620082] 0020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.628325] 0040 00000000 00000000 00000002 00000000 00000100 00000000 57ac6e9d 00000000
[ 123.636574] 0060 0000004c 0000730c f7fcfab8 00000424 005a8604 a00e4200 1e289d01 1d0d4222
[ 123.644822]
[ 123.644822] X6: 0xffffffc0012b9e28:
[ 123.649775] 9e28 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.658022] 9e48 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.666265] 9e68 00000000 00000000 00000000 00000000 01262cf0 ffffffc0 0000000f 00000000
[ 123.674513] 9e88 0000000f 00000000 00020002 00000000 01149420 ffffffc0 00000000 00000000
[ 123.682761] 9ea8 0000000f 00000000 00000000 00000000 0000000f 00000000 00000000 00000000
[ 123.691008] 9ec8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.699254] 9ee8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000122f
[ 123.707500] 9f08 00000021 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.715746]
[ 123.715746] X8: 0xfffffffffc3fff7f:
[ 123.720697] ff7c ******** ******** ******** ******** ******** ******** ******** ********
[ 123.728950] ff9c ******** ******** ******** ******** ******** ******** ******** ********
[ 123.737201] ffbc ******** ******** ******** ******** ******** ******** ******** ********
[ 123.745451] ffdc ******** ******** ******** ******** ******** ******** ******** ********
[ 123.753702] fffc ******** ******** ******** ******** ******** ******** ******** ********
[ 123.761957] 001c ******** ******** ******** ******** ******** ******** ******** ********
[ 123.770204] 003c ******** ******** ******** ******** ******** ******** ******** ********
[ 123.778457] 005c ******** ******** ******** ******** ******** ******** ******** ********
[ 123.786711] 007c ******** ******** ******** ******** ******** ******** ******** ********
[ 123.794962]
[ 123.794962] X9: 0xffffffc0fdc89a80:
[ 123.799914] 9a80 30302d36 762d3633 00006669 00000000 00000000 00000000 00000000 00000000
[ 123.808163] 9aa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.816407] 9ac0 f9d4a000 ffffffc0 fdc89b80 ffffffc0 0041dbb4 ffffffc0 fe1fa0c0 ffffffc0
[ 123.824657] 9ae0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.832907] 9b00 30302d36 762d3633 00616e61 00000000 00000000 00000000 00000000 00000000
[ 123.841157] 9b20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.849401] 9b40 30302d36 762d3633 00616e61 00000000 00000000 00000000 00000000 00000000
[ 123.857646] 9b60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.865898]
[ 123.865898] X10: 0xffffffc0fdc89840:
[ 123.870937] 9840 00100100 dead0000 00200200 dead0000 fdc898c0 ffffffc0 fa8c70c0 ffffffc0
[ 123.879184] 9860 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.887432] 9880 00100100 dead0000 00200200 dead0000 00000000 00000000 fa8c7240 ffffffc0
[ 123.895681] 98a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.903928] 98c0 00100100 dead0000 00200200 dead0000 fdc89900 ffffffc0 fa8c7180 ffffffc0
[ 123.912177] 98e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.920421] 9900 00100100 dead0000 00200200 dead0000 fdc89940 ffffffc0 fa8c7480 ffffffc0
[ 123.928672] 9920 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.936924]
[ 123.936924] X13: 0xffffffc0fdc89780:
[ 123.941963] 9780 00100100 dead0000 00200200 dead0000 fdc89800 ffffffc0 f9d49d40 ffffffc0
[ 123.950211] 97a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.958458] 97c0 00100100 dead0000 00200200 dead0000 fdc89840 ffffffc0 f9d49e00 ffffffc0
[ 123.966710] 97e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.974958] 9800 00100100 dead0000 00200200 dead0000 fdc89880 ffffffc0 f9d49ec0 ffffffc0
[ 123.983208] 9820 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 123.991455] 9840 00100100 dead0000 00200200 dead0000 fdc898c0 ffffffc0 fa8c70c0 ffffffc0
[ 123.999702] 9860 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.007949]
[ 124.007949] X14: 0xffffffc0fdc89740:
[ 124.012988] 9740 00100100 dead0000 00200200 dead0000 fdc897c0 ffffffc0 fafe2000 ffffffc0
[ 124.021238] 9760 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.029489] 9780 00100100 dead0000 00200200 dead0000 fdc89800 ffffffc0 f9d49d40 ffffffc0
[ 124.037737] 97a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.045987] 97c0 00100100 dead0000 00200200 dead0000 fdc89840 ffffffc0 f9d49e00 ffffffc0
[ 124.054239] 97e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.062483] 9800 00100100 dead0000 00200200 dead0000 fdc89880 ffffffc0 f9d49ec0 ffffffc0
[ 124.070733] 9820 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.078982]
[ 124.078982] X15: 0xffffffc0fdc89700:
[ 124.084021] 9700 00100100 dead0000 00200200 dead0000 fdc89780 ffffffc0 fab47000 ffffffc0
[ 124.092271] 9720 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.100515] 9740 00100100 dead0000 00200200 dead0000 fdc897c0 ffffffc0 fafe2000 ffffffc0
[ 124.108761] 9760 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.117010] 9780 00100100 dead0000 00200200 dead0000 fdc89800 ffffffc0 f9d49d40 ffffffc0
[ 124.125259] 97a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.133501] 97c0 00100100 dead0000 00200200 dead0000 fdc89840 ffffffc0 f9d49e00 ffffffc0
[ 124.141749] 97e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.149996]
[ 124.149996] X16: 0xffffffc0fdc896c0:
[ 124.155036] 96c0 00100100 dead0000 00200200 dead0000 fdc89740 ffffffc0 f9d49c80 ffffffc0
[ 124.163283] 96e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.171531] 9700 00100100 dead0000 00200200 dead0000 fdc89780 ffffffc0 fab47000 ffffffc0
[ 124.179779] 9720 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.188028] 9740 00100100 dead0000 00200200 dead0000 fdc897c0 ffffffc0 fafe2000 ffffffc0
[ 124.196276] 9760 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.204519] 9780 00100100 dead0000 00200200 dead0000 fdc89800 ffffffc0 f9d49d40 ffffffc0
[ 124.212765] 97a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.221015]
[ 124.221015] X20: 0xffffffc0fa492900:
[ 124.226054] 2900 00004580 00000e0a 1001010c 00005187 00000eac 00000508 00000000 000a000a
[ 124.234302] 2920 00ab5380 ffffffc0 ff15fc00 ffffffc0 00000e68 000041c6 00000000 00000000
[ 124.242551] 2940 fa492940 ffffffc0 fa492940 ffffffc0 fa492a20 ffffffc0 fa492a20 ffffffc0
[ 124.250798] 2960 fa492960 ffffffc0 fa492960 ffffffc0 fa4937e0 ffffffc0 001ab0d8 ffffffc0
[ 124.259045] 2980 00100088 00000008 00000000 00000000 00000000 00000000 ff988b00 ffffffc0
[ 124.267294] 29a0 b3ac2104 0000000a fa4929b8 ffffffc0 00000000 00000000 30302d36 762d3633
[ 124.275540] 29c0 00006669 0000049e 1000000c 00005598 000006ac 00000528 00000000 00170017
[ 124.283787] 29e0 00ab5380 ffffffc0 ff15fc00 ffffffc0 00000e40 00004566 00000000 00000000
[ 124.292036]
[ 124.292036] X21: 0xffffffc0fa492900:
[ 124.297074] 2900 00004580 00000e0a 1001010c 00005187 00000eac 00000508 00000000 000a000a
[ 124.305322] 2920 00ab5380 ffffffc0 ff15fc00 ffffffc0 00000e68 000041c6 00000000 00000000
[ 124.313569] 2940 fa492940 ffffffc0 fa492940 ffffffc0 fa492a20 ffffffc0 fa492a20 ffffffc0
[ 124.321816] 2960 fa492960 ffffffc0 fa492960 ffffffc0 fa4937e0 ffffffc0 001ab0d8 ffffffc0
[ 124.330062] 2980 00100088 00000008 00000000 00000000 00000000 00000000 ff988b00 ffffffc0
[ 124.338310] 29a0 b3ac2104 0000000a fa4929b8 ffffffc0 00000000 00000000 30302d36 762d3633
[ 124.346561] 29c0 00006669 0000049e 1000000c 00005598 000006ac 00000528 00000000 00170017
[ 124.354811] 29e0 00ab5380 ffffffc0 ff15fc00 ffffffc0 00000e40 00004566 00000000 00000000
[ 124.363059]
[ 124.363059] X22: 0xffffffc00130e014:
[ 124.368097] e014 ffffffc0 fe481800 ffffffc0 fe4818c0 ffffffc0 fe481980 ffffffc0 fe481a40
[ 124.376346] e034 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000 fe4815c0
[ 124.384594] e054 ffffffc0 fe479440 ffffffc0 fe479500 ffffffc0 fe481680 ffffffc0 000004eb
[ 124.392845] e074 000004eb f7b463f0 ffffffc0 f7b463f0 ffffffc0 fc8ac800 ffffffc0 00000001
[ 124.401094] e094 00002f4d ffc3e9a0 ffffffc0 ff0ea740 ffffffc0 fe479380 ffffffc0 fc8ac000
[ 124.409341] e0b4 ffffffc0 00000000 00000000 01118830 ffffffc0 00000000 00000000 00010001
[ 124.417593] e0d4 00000000 00000000 00000000 00000000 00000001 00200000 00000000 f6000000
[ 124.425842] e0f4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.434093]
[ 124.434093] X23: 0xffffffc00130e018:
[ 124.439132] e018 fe481800 ffffffc0 fe4818c0 ffffffc0 fe481980 ffffffc0 fe481a40 ffffffc0
[ 124.447382] e038 00000000 00000000 00000000 00000000 00000000 00000000 fe4815c0 ffffffc0
[ 124.455632] e058 fe479440 ffffffc0 fe479500 ffffffc0 fe481680 ffffffc0 000004eb 000004eb
[ 124.463882] e078 f7b463f0 ffffffc0 f7b463f0 ffffffc0 fc8ac800 ffffffc0 00000001 00002f4d
[ 124.472132] e098 ffc3e9a0 ffffffc0 ff0ea740 ffffffc0 fe479380 ffffffc0 fc8ac000 ffffffc0
[ 124.480382] e0b8 00000000 00000000 01118830 ffffffc0 00000000 00000000 00010001 00000000
[ 124.488633] e0d8 00000000 00000000 00000000 00000001 00200000 00000000 f6000000 00000000
[ 124.496881] e0f8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.505127]
[ 124.505127] X24: 0xffffffc0fafbc4a0:
[ 124.510166] c4a0 00000001 00000000 fafbc4a8 ffffffc0 fafbc4a8 ffffffc0 00000000 00000000
[ 124.518416] c4c0 00000000 00000000 00000000 00000000 ff22a010 ffffffc0 00000000 00000000
[ 124.526659] c4e0 fe1f0440 ffffffc0 011b1f40 ffffffc0 00000000 00000000 00000001 00000000
[ 124.534904] c500 fbafb418 ffffffc0 fafbc040 ffffffc0 fafbc510 ffffffc0 fafbc510 ffffffc0
[ 124.543155] c520 fafbc520 ffffffc0 fafbc520 ffffffc0 00100100 dead0000 00200200 dead0000
[ 124.551399] c540 006c4d24 ffffffc0 006c52f4 ffffffc0 00000000 00000000 fe1f8bd8 ffffffc0
[ 124.559646] c560 fe1f8bd8 ffffffc0 00000001 00000001 fafbc628 ffffffc0 fab4a818 ffffffc0
[ 124.567896] c580 07300000 ffffff80 00000001 00000000 fafbc590 ffffffc0 fafbc590 ffffffc0
[ 124.576146]
[ 124.576146] X25: 0xffffffc0fa88a7d8:
[ 124.581184] a7d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.589431] a7f8 00000000 00000000 f9d4a800 ffffffc0 e3453c60 ffffffc0 004d784c ffffffc0
[ 124.597678] a818 fc011df0 ffffffbf f9d4a858 ffffffc0 fe6c0000 ffffffc0 fe6c0028 ffffffc0
[ 124.605927] a838 fc00f0f0 ffffffbf 00b4c230 ffffffc0 00000000 00000000 f9d4a818 ffffffc0
[ 124.614178] a858 00100100 dead0000 00200200 dead0000 00000000 00000000 00000002 00000000
[ 124.622431] a878 fa88a918 ffffffc0 00020001 00000000 00000000 00000000 00000000 00010001
[ 124.630679] a898 00010000 00000000 f9d4ae20 ffffffc0 f501cc00 ffffffc0 fc00f1a0 ffffffbf
[ 124.638926] a8b8 00000000 00000000 00000000 00000000 00000051 00000001 00000000 00000000
[ 124.647176]
[ 124.647176] X27: 0xffffffc0010f7f80:
[ 124.652213] 7f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.660465] 7fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.668711] 7fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.676958] 7fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.685202] 8000 001e3108 ffffffc0 001e3334 ffffffc0 001e3680 ffffffc0 001e37b8 ffffffc0
[ 124.693452] 8020 001e39e4 ffffffc0 001babf0 ffffffc0 001badb4 ffffffc0 001baf78 ffffffc0
[ 124.701699] 8040 001bb10c ffffffc0 001bb29c ffffffc0 001bb42c ffffffc0 001bb59c ffffffc0
[ 124.709944] 8060 001bb724 ffffffc0 001bb8ac ffffffc0 001bba0c ffffffc0 001bbba8 ffffffc0
[ 124.718192]
[ 124.718192] X28: 0xffffffc0e344ff80:
[ 124.723231] ff80 a9425bf5 a94363f7 a9446bf9 a94573fb a8cf7bfd d65f03c0 b00000e1 9101e021
[ 124.731478] ffa0 38604822 10000063 8b228862 d61f0040 f941ba60 97ffb2b7 17ffffd5 aa1303e0
[ 124.739730] ffc0 97fffe44 17ffffe9 79475661 79475e60 52801bc2 0a000020 0a020000 1ad82800
[ 124.747979] ffe0 3607f840 93407f00 b00000e1 8b000400 91026021 8b000c20 b9408fa8 39404017
[ 124.756224] 0000 00000008 00000000 ffffffff ffffffff f50ae5c0 ffffffc0 000bc344 ffffffc0
[ 124.764472] 0020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 124.772723] 0040 00000000 00000000 00000002 00000000 00000100 00000000 57ac6e9d 00000000
[ 124.780972] 0060 0000004c 0000730c f7fcfab8 00000424 005a8604 a00e4200 1e289d01 1d0d4222
[ 124.789224]
[ 124.789224] X29: 0xffffffc0e3453ae0:
[ 124.794263] 3ae0 fa492980 ffffffc0 fa492980 ffffffc0 0130e094 ffffffc0 0130e098 ffffffc0
[ 124.802513] 3b00 fafbc520 ffffffc0 fa88a858 ffffffc0 0000006a 00000000 010f8000 ffffffc0
[ 124.810765] 3b20 e3450000 ffffffc0 e3453b60 ffffffc0 00a96618 ffffffc0 e3453b60 ffffffc0
[ 124.819010] 3b40 00a96618 ffffffc0 60000145 00000000 e3453b60 ffffffc0 00a96618 ffffffc0
[ 124.827261] 3b60 e3453b80 ffffffc0 002af054 ffffffc0 fe1fa0c0 ffffffc0 0008bd98 ffffffc0
[ 124.835511] 3b80 e3453bc0 ffffffc0 0041dae8 ffffffc0 fe1fa0c0 ffffffc0 fed50000 ffffffc0
[ 124.843760] 3ba0 fed50058 ffffffc0 e3453c60 ffffffc0 0000000a 00000000 fafbc520 ffffffc0
[ 124.852008] 3bc0 e3453bf0 ffffffc0 0041dba0 ffffffc0 01137420 ffffffc0 fe1fa0c0 ffffffc0
[ 124.860257]
[ 124.861744] Process rmmod (pid: 1545, stack limit = 0xffffffc0e3450058)
[ 124.868343] Stack: (0xffffffc0e3453b60 to 0xffffffc0e3454000)
[ 124.874076] 3b60: e3453b80 ffffffc0 002af054 ffffffc0 fe1fa0c0 ffffffc0 0008bd98 ffffffc0
[ 124.882236] 3b80: e3453bc0 ffffffc0 0041dae8 ffffffc0 fe1fa0c0 ffffffc0 fed50000 ffffffc0
[ 124.890397] 3ba0: fed50058 ffffffc0 e3453c60 ffffffc0 0000000a 00000000 fafbc520 ffffffc0
[ 124.898557] 3bc0: e3453bf0 ffffffc0 0041dba0 ffffffc0 01137420 ffffffc0 fe1fa0c0 ffffffc0
[ 124.906717] 3be0: fe6c0028 ffffffc0 fafbc520 ffffffc0 e3453c10 ffffffc0 0041dbc4 ffffffc0
[ 124.914877] 3c00: fdc89ac0 ffffffc0 fdc89b80 ffffffc0 e3453c20 ffffffc0 004d7de0 ffffffc0
[ 124.923036] 3c20: e3453c70 ffffffc0 004d813c ffffffc0 fe6c0028 ffffffc0 fc011e98 ffffffbf
[ 124.931197] 3c40: fbafa9c0 ffffffc0 fafbc4f8 ffffffc0 00000000 00000000 004d8128 ffffffc0
[ 124.939357] 3c60: fa88a800 ffffffc0 fdc89680 ffffffc0 e3453c90 ffffffc0 004d40fc ffffffc0
[ 124.947518] 3c80: fe6c0028 ffffffc0 fafbc4f8 ffffffc0 e3453cb0 ffffffc0 004d4164 ffffffc0
[ 124.955677] 3ca0: fe6c0088 ffffffc0 fe6c0028 ffffffc0 e3453cd0 ffffffc0 006ae654 ffffffc0
[ 124.963837] 3cc0: fafbc410 ffffffc0 fe6c0028 ffffffc0 e3453d20 ffffffc0 006c54f8 ffffffc0
[ 124.971997] 3ce0: fafbc038 ffffffc0 0112d988 ffffffc0 ff22a000 ffffffc0 ff22a010 ffffffc0
[ 124.980157] 3d00: 80000000 00000000 00000015 00000000 00000116 00000000 0112d988 ffffffc0
[ 124.988316] 3d20: e3453d40 ffffffc0 006c2e78 ffffffc0 fafbc038 ffffffc0 00000015 00000000
[ 124.996477] 3d40: e3453d60 ffffffc0 fc00776c ffffffbf fafbc018 ffffffc0 9ab6a132 00000000
[ 125.004636] 3d60: e3453d90 ffffffc0 004d67fc ffffffc0 ff22a010 ffffffc0 fc007eb8 ffffffbf
[ 125.012796] 3d80: ff22a070 ffffffc0 00000800 00000000 e3453db0 ffffffc0 004d40f4 ffffffc0
[ 125.020956] 3da0: ff22a010 ffffffc0 fc007eb8 ffffffbf e3453dd0 ffffffc0 004d48e8 ffffffc0
[ 125.029115] 3dc0: ff22a010 ffffffc0 fc007eb8 ffffffbf e3453e00 ffffffc0 004d3b8c ffffffc0
[ 125.037275] 3de0: fc007eb8 ffffffbf c4a619b8 0000007f 00000000 00000000 00000001 ffffffc0
[ 125.045436] 3e00: e3453e20 ffffffc0 004d5448 ffffffc0 fc007eb8 ffffffbf 0010bd04 ffffffc0
[ 125.053595] 3e20: e3453e40 ffffffc0 004d688c ffffffc0 fc007f68 ffffffbf 00000800 00000000
[ 125.061756] 3e40: e3453e50 ffffffc0 fc00781c ffffffbf e3453e60 ffffffc0 0010bd2c ffffffc0
[ 125.069915] 3e60: c4a61390 0000007f 000853c8 ffffffc0 5878f4f0 00000055 c4a619b8 0000007f
[ 125.078075] 3e80: ffffffff ffffffff 7bb5ea08 0000007f 60000000 00000000 6f68766e 765f7473
[ 125.086236] 3ea0: 00000069 00000000 000853c8 ffffffc0 c4a60360 0000007f 00085470 ffffffc0
[ 125.094397] 3ec0: 5878f4f0 00000055 c4a603b0 0000007f 5878f550 00000055 00000800 00000000
[ 125.102557] 3ee0: 00000a00 00000000 00002002 00000000 7bbcae58 0000007f c4a60339 0000007f
[ 125.110718] 3f00: 7bb08714 0000007f 919c999a ffffff8b 0000006a 00000000 99999999 19999999
[ 125.118878] 3f20: ffffffff 00000000 00000000 00000000 00000005 00000000 ffffffff ffffffff
[ 125.127038] 3f40: 7ba97a94 0000007f 7bbcc588 0000007f 7bb5ea00 0000007f 5878d2e0 00000055
[ 125.135199] 3f60: c4a610f0 0000007f 5878f4f0 00000055 c4a619b8 0000007f c4a61670 0000007f
[ 125.143360] 3f80: 5878e010 00000055 c4a61448 0000007f 00000800 00000000 00000000 00000000
[ 125.151520] 3fa0: 5878f4f0 00000055 00000800 00000000 c4a61678 0000007f c4a61390 0000007f
[ 125.159681] 3fc0: 587701a4 00000055 c4a61390 0000007f 7bb5ea08 0000007f 80000000 00000000
[ 125.167842] 3fe0: 5878f550 00000055 0000006a 00000000 0001bc00 c80302f0 09580401 10020801
[ 125.176001] Call trace:
[ 125.178443] [<ffffffc000a96618>] mutex_lock+0x24/0x60
[ 125.183486] [<ffffffc0002af054>] debugfs_remove_recursive+0x54/0x160
[ 125.189828] [<ffffffc00041dae8>] _regulator_put+0x50/0xe0
[ 125.195213] [<ffffffc00041dba0>] regulator_put+0x28/0x3c
[ 125.200512] [<ffffffc00041dbc4>] devm_regulator_release+0x10/0x18
[ 125.206594] [<ffffffc0004d7de0>] release_nodes+0x64/0x98
[ 125.211892] [<ffffffc0004d813c>] devres_release_all+0x4c/0x58
[ 125.217627] [<ffffffc0004d40fc>] __device_release_driver+0x84/0xc8
[ 125.223794] [<ffffffc0004d4164>] device_release_driver+0x24/0x38
[ 125.229790] [<ffffffc0006ae654>] v4l2_async_notifier_unregister+0xdc/0x1fc
[ 125.236651] [<ffffffc0006c54f8>] tegra_vi_graph_cleanup+0x18/0x80
[ 125.242731] [<ffffffc0006c2e78>] tegra_vi_media_controller_cleanup+0x14/0x30
[ 125.249767] [<ffffffbffc00776c>] $x+0x6c/0x104 [nvhost_vi]
[ 125.255241] [<ffffffc0004d67fc>] platform_drv_remove+0x20/0x40
[ 125.261061] [<ffffffc0004d40f4>] __device_release_driver+0x7c/0xc8
[ 125.267227] [<ffffffc0004d48e8>] driver_detach+0x8c/0xc0
[ 125.272527] [<ffffffc0004d3b8c>] bus_remove_driver+0x8c/0xb4
[ 125.278173] [<ffffffc0004d5448>] driver_unregister+0x4c/0x58
[ 125.283820] [<ffffffc0004d688c>] platform_driver_unregister+0x10/0x18
[ 125.290247] [<ffffffbffc00781c>] vi_exit+0x18/0x20 [nvhost_vi]
[ 125.296069] [<ffffffc00010bd2c>] SyS_delete_module+0x1bc/0x2d0
[ 125.301889] Code: 52800be1 d0002300 912e6000 97d915b7 (885f7e60)
[ 125.308508] ---[ end trace 6b0fa630ff1191ae ]---
6) Removing manualy nvhost_vi.ko from drivers and trying to rmmod ov5693 leads to NULL pointer error:
[ 39.671035] Unable to handle kernel NULL pointer dereference at virtual address 000000a8
[ 39.679123] pgd = ffffffc0d93b6000
[ 39.682551] [000000a8] *pgd=0000000000000000
[ 39.686830] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 39.692392] Enter nvdumper_crash_setup_regs
[ 39.696608] nvdumper: all registers are saved.
[ 39.696615] nvdumper: all registers are saved.
[ 39.696621] nvdumper: all registers are saved.
[ 39.709908] nvdumper: all registers are saved.
[ 39.714343] Modules linked in: bcmdhd soc_camera soc_mediabus videobuf_core cfg80211 rfcomm bnep ov5693(-) bluedroid_pm
[ 39.725212] CPU: 2 PID: 1578 Comm: rmmod Not tainted 3.10.96-urcpi-1.0.3a+ #11
[ 39.732419] task: ffffffc0fc48f100 ti: ffffffc0f8c5c000 task.ti: ffffffc0f8c5c000
[ 39.739892] PC is at mutex_lock+0x24/0x60
[ 39.743893] LR is at mutex_lock+0x24/0x60
[ 39.747893] pc : [<ffffffc000a96618>] lr : [<ffffffc000a96618>] pstate: 60000145
[ 39.755272] sp : ffffffc0f8c5fc70
[ 39.758579] x29: ffffffc0f8c5fc70 x28: ffffffc0f8c5c000
[ 39.763901] x27: ffffffc0010f8000 x26: 000000000000006a
[ 39.769222] x25: 0000000000000116 x24: 0000000000000015
[ 39.774543] x23: ffffffc00130e098 x22: ffffffc00130e094
[ 39.779862] x21: ffffffc0fa862540 x20: ffffffc0fa862540
[ 39.785180] x19: 00000000000000a8 x18: 0000007fe623bcb0
[ 39.790500] x17: 000000557f4622e0 x16: ffffffc00010bb70
[ 39.795819] x15: 0000007f84233588 x14: 0000007f840fea94
[ 39.801137] x13: ffffffffffffffff x12: 0000000000000002
[ 39.806456] x11: 0000000000000011 x10: 00000000ffffffff
[ 39.811775] x9 : ffffffc0f8c5faf0 x8 : 87ffffffffffffff
[ 39.817093] x7 : 3f05657db2a43c03 x6 : ffffffc0012b9ea8
[ 39.822411] x5 : ffffffc0f8c5c000 x4 : 0000000000000000
[ 39.827729] x3 : 0000000000000000 x2 : 0000000000000140
[ 39.833049] x1 : 000000000000005f x0 : ffffffc000ef8b98
[ 39.838368]
[ 39.838368] PC: 0xffffffc000a96598:
[ 39.843322] 6598 97d8d4d0 17ffff91 910123a1 aa1503e0 97d8ef8c 17ffffb8 b9400260 7100041f
[ 39.851575] 65b8 54fff360 17fffff9 910123a1 aa1503e0 97d8ef84 17ffffb5 b9400260 7100041f
[ 39.859826] 65d8 54ffff41 17ffff92 a94153f3 a9425bf5 a94363f7 a8c67bfd d65f03c0 a9be7bfd
[ 39.868078] 65f8 910003fd f9000bf3 aa0003f3 52800002 52800be1 d0002300 912e6000 97d915b7
[ 39.876328] 6618 885f7e60 51000400 8801fe60 35ffffa1 d5033bbf 36f80060 aa1303e0 97ffff5a
[ 39.884579] 6638 910003e0 9272c400 f9400800 f9000e60 f9400bf3 a8c27bfd d65f03c0 a9be7bfd
[ 39.892831] 6658 910003fd a90153f3 aa0003f3 91001014 aa1403e0 940008b7 aa1303e0 52800021
[ 39.901085] 6678 b8008401 f9400661 eb00003f 54000060 f9400820 97d92b88 aa1403e0 940009b2
[ 39.909337]
[ 39.909337] LR: 0xffffffc000a96598:
[ 39.914288] 6598 97d8d4d0 17ffff91 910123a1 aa1503e0 97d8ef8c 17ffffb8 b9400260 7100041f
[ 39.922540] 65b8 54fff360 17fffff9 910123a1 aa1503e0 97d8ef84 17ffffb5 b9400260 7100041f
[ 39.930792] 65d8 54ffff41 17ffff92 a94153f3 a9425bf5 a94363f7 a8c67bfd d65f03c0 a9be7bfd
[ 39.939041] 65f8 910003fd f9000bf3 aa0003f3 52800002 52800be1 d0002300 912e6000 97d915b7
[ 39.947290] 6618 885f7e60 51000400 8801fe60 35ffffa1 d5033bbf 36f80060 aa1303e0 97ffff5a
[ 39.955539] 6638 910003e0 9272c400 f9400800 f9000e60 f9400bf3 a8c27bfd d65f03c0 a9be7bfd
[ 39.963789] 6658 910003fd a90153f3 aa0003f3 91001014 aa1403e0 940008b7 aa1303e0 52800021
[ 39.972041] 6678 b8008401 f9400661 eb00003f 54000060 f9400820 97d92b88 aa1403e0 940009b2
[ 39.980297]
[ 39.980297] SP: 0xffffffc0f8c5fbf0:
[ 39.985250] fbf0 fa862540 ffffffc0 fa862540 ffffffc0 0130e094 ffffffc0 0130e098 ffffffc0
[ 39.993501] fc10 00000015 00000000 00000116 00000000 0000006a 00000000 010f8000 ffffffc0
[ 40.001752] fc30 f8c5c000 ffffffc0 f8c5fc70 ffffffc0 00a96618 ffffffc0 f8c5fc70 ffffffc0
[ 40.010000] fc50 00a96618 ffffffc0 60000145 00000000 f8c5fc70 ffffffc0 00a96618 ffffffc0
[ 40.018248] fc70 f8c5fc90 ffffffc0 002af054 ffffffc0 fe067840 ffffffc0 0008bd98 ffffffc0
[ 40.026499] fc90 f8c5fcd0 ffffffc0 0041dae8 ffffffc0 fe067840 ffffffc0 fed61000 ffffffc0
[ 40.034752] fcb0 fed61058 ffffffc0 f8c5fd70 ffffffc0 0000000a 00000000 00000015 00000000
[ 40.043004] fcd0 f8c5fd00 ffffffc0 0041dba0 ffffffc0 01137420 ffffffc0 fe067840 ffffffc0
[ 40.051256]
[ 40.051256] X0: 0xffffffc000ef8b18:
[ 40.056209] 8b18 6f6c635f 6e5f6b63 736f6e61 7065656c 00000000 00000000 6e72656b 6b2f6c65
[ 40.064462] 8b38 65726874 632e6461 00000000 00000000 7268746b 64646165 00000000 00000000
[ 40.072712] 8b58 6e72656b 702f6c65 7869736f 7570632d 6d69742d 2e737265 00000063 00000000
[ 40.080963] 8b78 54523601 74615720 6f646863 69542067 756f656d 25203a74 64255b73 00000a5d
[ 40.089213] 8b98 6e72656b 6d2f6c65 78657475 0000632e 6e72656b 682f6c65 6d697472 632e7265
[ 40.097462] 8bb8 00000000 00000000 6f433401 20646c75 20746f6e 74697773 74206863 6968206f
[ 40.105715] 8bd8 72206867 6c6f7365 6f697475 6f6d206e 6f206564 5043206e 64252055 0000000a
[ 40.113965] 8bf8 72683601 656d6974 725f7372 6d757365 20292865 6c6c6163 77206465 20687469
[ 40.122217]
[ 40.122217] X5: 0xffffffc0f8c5bf80:
[ 40.127170] bf80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.135418] bfa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.143669] bfc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.151917] bfe0 00000000 00000000 00000000 00000000 7483b003 00000001 6c9ca003 00000001
[ 40.160166] c000 00000000 00000000 ffffffff ffffffff fc48f100 ffffffc0 000bc344 ffffffc0
[ 40.168413] c020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.176663] c040 00000000 00000000 00000002 00000002 00000100 00000000 57ac6e9d 00000000
[ 40.184910] c060 04010401 00000000 00400000 00000102 00010000 00000040 00200000 00000102
[ 40.193161]
[ 40.193161] X6: 0xffffffc0012b9e28:
[ 40.198114] 9e28 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.206365] 9e48 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.214615] 9e68 00000000 00000000 00000000 00000000 01262cf0 ffffffc0 0000000f 00000000
[ 40.222865] 9e88 0000000f 00000000 00020002 00000000 01149420 ffffffc0 00000000 00000000
[ 40.231116] 9ea8 0000000f 00000000 00000000 00000000 0000000f 00000000 00000000 00000000
[ 40.239367] 9ec8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.247620] 9ee8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000010ff
[ 40.255873] 9f08 00000043 00000001 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.264126]
[ 40.264126] X9: 0xffffffc0f8c5fa70:
[ 40.269079] fa70 fa8acc30 ffffffc0 00a98d78 ffffffc0 f8c5fac0 ffffffc0 000de808 ffffffc0
[ 40.277331] fa90 f8c5faa0 ffffffc0 00081214 ffffffc0 f8c5fc70 ffffffc0 00084c30 ffffffc0
[ 40.285583] fab0 000000a8 00000000 fa862540 ffffffc0 f8c5fc70 ffffffc0 00a96618 ffffffc0
[ 40.293835] fad0 f8c5fb10 ffffffc0 000de808 ffffffc0 f8c5fb20 ffffffc0 f8c5fb50 ffffffc0
[ 40.302089] faf0 f8c5fb10 ffffffc0 000de80c ffffffc0 f8c5fb30 ffffffc0 0008bd98 ffffffc0
[ 40.310340] fb10 00000001 00000000 00122420 ffffffc0 fa862e30 ffffffc0 01108c80 ffffffc0
[ 40.318594] fb30 f8c5fb70 ffffffc0 000de808 ffffffc0 f8c5fb80 ffffffc0 f8c5fbb0 ffffffc0
[ 40.326842] fb50 00ef8b98 ffffffc0 0000005f 00000000 00000140 00000000 00000000 00000000
[ 40.335095]
[ 40.335095] X16: 0xffffffc00010baf0:
[ 40.340135] baf0 aa1503e0 94081d96 aa1403e0 97ffffcf aa1403e0 97fff75e b940ea81 f9407280
[ 40.348392] bb10 97ff0506 aa1303e0 94262ab7 d2800002 aa1403e1 90ffffe0 910b3000 94003508
[ 40.356643] bb30 aa1303e0 94262adc f9409681 aa1403e0 97ffffaa f940ca80 9401ff5e aa1403e0
[ 40.364892] bb50 97fff6ca f9409a81 aa1403e0 97ffffa3 a94153f3 f94013f5 a8c37bfd d65f03c0
[ 40.373143] bb70 a9b97bfd 910003fd a90153f3 a9025bf5 aa0003f5 aa0103f6 90008ac0 910fc000
[ 40.381391] bb90 b9400800 34000340 910003e0 9272c401 b9404820 11000400 b9004820 90008ac0
[ 40.389636] bbb0 910fc000 f9401013 b4000133 b0006f94 91362294 f9400262 aa1403e1 f9400660
[ 40.397881] bbd0 d63f0040 f8410e60 b5ffff60 910003e0 9272c400 b9404801 51000421 b9004801
[ 40.406136]
[ 40.406136] X20: 0xffffffc0fa8624c0:
[ 40.411175] 24c0 746e756f 00000000 00000000 00000000 00000000 00000000 00000000 000a000a
[ 40.419428] 24e0 00ab5380 ffffffc0 ff15fc00 ffffffc0 00000000 00000000 00000000 00000000
[ 40.427680] 2500 fa862500 ffffffc0 fa862500 ffffffc0 fa882a50 ffffffc0 fa884ca0 ffffffc0
[ 40.435928] 2520 fa862520 ffffffc0 fa862520 ffffffc0 fdbb4168 ffffffc0 001ab0d8 ffffffc0
[ 40.444178] 2540 00100088 00000008 00000000 00000000 00000000 00000000 ff988b00 ffffffc0
[ 40.452433] 2560 b3ac2104 0000000a fa862578 ffffffc0 00000000 00000000 30302d36 762d3633
[ 40.460683] 2580 00006669 5825ab10 00000000 5825ab10 5788be44 0025ab10 00000000 00170017
[ 40.468936] 25a0 00ab5380 ffffffc0 ff15fc00 ffffffc0 00000000 00000000 00000000 00000000
[ 40.477190]
[ 40.477190] X21: 0xffffffc0fa8624c0:
[ 40.482229] 24c0 746e756f 00000000 00000000 00000000 00000000 00000000 00000000 000a000a
[ 40.490479] 24e0 00ab5380 ffffffc0 ff15fc00 ffffffc0 00000000 00000000 00000000 00000000
[ 40.498735] 2500 fa862500 ffffffc0 fa862500 ffffffc0 fa882a50 ffffffc0 fa884ca0 ffffffc0
[ 40.506986] 2520 fa862520 ffffffc0 fa862520 ffffffc0 fdbb4168 ffffffc0 001ab0d8 ffffffc0
[ 40.515237] 2540 00100088 00000008 00000000 00000000 00000000 00000000 ff988b00 ffffffc0
[ 40.523491] 2560 b3ac2104 0000000a fa862578 ffffffc0 00000000 00000000 30302d36 762d3633
[ 40.531744] 2580 00006669 5825ab10 00000000 5825ab10 5788be44 0025ab10 00000000 00170017
[ 40.539989] 25a0 00ab5380 ffffffc0 ff15fc00 ffffffc0 00000000 00000000 00000000 00000000
[ 40.548242]
[ 40.548242] X22: 0xffffffc00130e014:
[ 40.553282] e014 ffffffc0 fe491800 ffffffc0 fe4918c0 ffffffc0 fe491980 ffffffc0 fe491a40
[ 40.561534] e034 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000 fe4915c0
[ 40.569786] e054 ffffffc0 fe489400 ffffffc0 fe4894c0 ffffffc0 fe491680 ffffffc0 000004eb
[ 40.578050] e074 000004eb f39973f0 ffffffc0 f39973f0 ffffffc0 fca7ac00 ffffffc0 00000001
[ 40.586304] e094 00002f47 ffc3e9a0 ffffffc0 ff0ea740 ffffffc0 fe489340 ffffffc0 fca7bc00
[ 40.594558] e0b4 ffffffc0 00020002 00000000 01118830 ffffffc0 00000000 00000000 00010001
[ 40.602804] e0d4 00000000 00000000 00000000 00000000 00000001 00200000 00000000 f6000000
[ 40.611055] e0f4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.619304]
[ 40.619304] X23: 0xffffffc00130e018:
[ 40.624343] e018 fe491800 ffffffc0 fe4918c0 ffffffc0 fe491980 ffffffc0 fe491a40 ffffffc0
[ 40.632596] e038 00000000 00000000 00000000 00000000 00000000 00000000 fe4915c0 ffffffc0
[ 40.640847] e058 fe489400 ffffffc0 fe4894c0 ffffffc0 fe491680 ffffffc0 000004eb 000004eb
[ 40.649098] e078 f39973f0 ffffffc0 f39973f0 ffffffc0 fca7ac00 ffffffc0 00000001 00002f47
[ 40.657346] e098 ffc3e9a0 ffffffc0 ff0ea740 ffffffc0 fe489340 ffffffc0 fca7bc00 ffffffc0
[ 40.665595] e0b8 00020002 00000000 01118830 ffffffc0 00000000 00000000 00010001 00000000
[ 40.673847] e0d8 00000000 00000000 00000000 00000001 00200000 00000000 f6000000 00000000
[ 40.682100] e0f8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.690351]
[ 40.690351] X27: 0xffffffc0010f7f80:
[ 40.695392] 7f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.703639] 7fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.711888] 7fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.720136] 7fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.728387] 8000 001e3108 ffffffc0 001e3334 ffffffc0 001e3680 ffffffc0 001e37b8 ffffffc0
[ 40.736637] 8020 001e39e4 ffffffc0 001babf0 ffffffc0 001badb4 ffffffc0 001baf78 ffffffc0
[ 40.744882] 8040 001bb10c ffffffc0 001bb29c ffffffc0 001bb42c ffffffc0 001bb59c ffffffc0
[ 40.753133] 8060 001bb724 ffffffc0 001bb8ac ffffffc0 001bba0c ffffffc0 001bbba8 ffffffc0
[ 40.761386]
[ 40.761386] X28: 0xffffffc0f8c5bf80:
[ 40.766425] bf80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.774681] bfa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.782930] bfc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.791180] bfe0 00000000 00000000 00000000 00000000 7483b003 00000001 6c9ca003 00000001
[ 40.799427] c000 00000000 00000000 ffffffff ffffffff fc48f100 ffffffc0 000bc344 ffffffc0
[ 40.807679] c020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.815932] c040 00000000 00000000 00000002 00000002 00000100 00000000 57ac6e9d 00000000
[ 40.824186] c060 04010401 00000000 00400000 00000102 00010000 00000040 00200000 00000102
[ 40.832433]
[ 40.832433] X29: 0xffffffc0f8c5fbf0:
[ 40.837472] fbf0 fa862540 ffffffc0 fa862540 ffffffc0 0130e094 ffffffc0 0130e098 ffffffc0
[ 40.845726] fc10 00000015 00000000 00000116 00000000 0000006a 00000000 010f8000 ffffffc0
[ 40.853979] fc30 f8c5c000 ffffffc0 f8c5fc70 ffffffc0 00a96618 ffffffc0 f8c5fc70 ffffffc0
[ 40.862226] fc50 00a96618 ffffffc0 60000145 00000000 f8c5fc70 ffffffc0 00a96618 ffffffc0
[ 40.870481] fc70 f8c5fc90 ffffffc0 002af054 ffffffc0 fe067840 ffffffc0 0008bd98 ffffffc0
[ 40.878734] fc90 f8c5fcd0 ffffffc0 0041dae8 ffffffc0 fe067840 ffffffc0 fed61000 ffffffc0
[ 40.886984] fcb0 fed61058 ffffffc0 f8c5fd70 ffffffc0 0000000a 00000000 00000015 00000000
[ 40.895236] fcd0 f8c5fd00 ffffffc0 0041dba0 ffffffc0 01137420 ffffffc0 fe067840 ffffffc0
[ 40.903487]
[ 40.904975] Process rmmod (pid: 1578, stack limit = 0xffffffc0f8c5c058)
[ 40.911574] Stack: (0xffffffc0f8c5fc70 to 0xffffffc0f8c60000)
[ 40.917308] fc60: f8c5fc90 ffffffc0 002af054 ffffffc0
[ 40.925469] fc80: fe067840 ffffffc0 0008bd98 ffffffc0 f8c5fcd0 ffffffc0 0041dae8 ffffffc0
[ 40.933631] fca0: fe067840 ffffffc0 fed61000 ffffffc0 fed61058 ffffffc0 f8c5fd70 ffffffc0
[ 40.941793] fcc0: 0000000a 00000000 00000015 00000000 f8c5fd00 ffffffc0 0041dba0 ffffffc0
[ 40.949953] fce0: 01137420 ffffffc0 fe067840 ffffffc0 fe6d0028 ffffffc0 00000015 00000000
[ 40.958113] fd00: f8c5fd20 ffffffc0 0041dbc4 ffffffc0 f9dcde80 ffffffc0 f9dcdf40 ffffffc0
[ 40.966273] fd20: f8c5fd30 ffffffc0 004d7de0 ffffffc0 f8c5fd80 ffffffc0 004d813c ffffffc0
[ 40.974433] fd40: fe6d0028 ffffffc0 fc00be98 ffffffbf fe6d0088 ffffffc0 00000800 00000000
[ 40.982593] fd60: 80000000 00000000 004d8128 ffffffc0 fbea4800 ffffffc0 f9dcda00 ffffffc0
[ 40.990753] fd80: f8c5fda0 ffffffc0 004d40fc ffffffc0 fe6d0028 ffffffc0 00000800 00000000
[ 40.998913] fda0: f8c5fdc0 ffffffc0 004d48e8 ffffffc0 fe6d0028 ffffffc0 fc00be98 ffffffbf
[ 41.007073] fdc0: f8c5fdf0 ffffffc0 004d3b8c ffffffc0 fc00be98 ffffffbf e623c9be 0000007f
[ 41.015234] fde0: 00000000 00000000 00000001 ffffffc0 f8c5fe10 ffffffc0 004d5448 ffffffc0
[ 41.023394] fe00: fc00be98 ffffffbf 00695b48 ffffffc0 f8c5fe30 ffffffc0 00695b50 ffffffc0
[ 41.031555] fe20: fc00be50 ffffffbf 00000800 00000000 f8c5fe50 ffffffc0 fc008eec ffffffbf
[ 41.039716] fe40: fc00c588 ffffffbf 00000015 00000000 f8c5fe60 ffffffc0 0010bd2c ffffffc0
[ 41.047878] fe60: e623bf50 0000007f 000853c8 ffffffc0 7f463090 00000055 e623c9be 0000007f
[ 41.056038] fe80: ffffffff ffffffff 841c5a08 0000007f 60000000 00000000 3635766f 00003339
[ 41.064199] fea0: 00000116 00000000 000853c8 ffffffc0 e623af20 0000007f 00085470 ffffffc0
[ 41.072360] fec0: 7f463090 00000055 e623af70 0000007f 7f4630f0 00000055 00000800 00000000
[ 41.080522] fee0: 00000a00 00000000 00002002 00000000 84231e58 0000007f e623aef9 0000007f
[ 41.088683] ff00: 8416f714 0000007f 919c999a ffffff8b 0000006a 00000000 99999999 19999999
[ 41.096844] ff20: ffffffff 00000000 00000000 00000000 00000005 00000000 ffffffff ffffffff
[ 41.105005] ff40: 840fea94 0000007f 84233588 0000007f 841c5a00 0000007f 7f4622e0 00000055
[ 41.113167] ff60: e623bcb0 0000007f 7f463090 00000055 e623c9be 0000007f e623c230 0000007f
[ 41.121328] ff80: 7f463010 00000055 e623c008 0000007f 00000800 00000000 00000000 00000000
[ 41.129490] ffa0: 7f463090 00000055 00000800 00000000 e623c238 0000007f e623bf50 0000007f
[ 41.137652] ffc0: 7f4451a4 00000055 e623bf50 0000007f 841c5a08 0000007f 80000000 00000000
[ 41.145813] ffe0: 7f4630f0 00000055 0000006a 00000000 00000000 00000000 00000000 00000000
[ 41.153972] Call trace:
[ 41.156416] [<ffffffc000a96618>] mutex_lock+0x24/0x60
[ 41.161460] [<ffffffc0002af054>] debugfs_remove_recursive+0x54/0x160
[ 41.167802] [<ffffffc00041dae8>] _regulator_put+0x50/0xe0
[ 41.173188] [<ffffffc00041dba0>] regulator_put+0x28/0x3c
[ 41.178488] [<ffffffc00041dbc4>] devm_regulator_release+0x10/0x18
[ 41.184571] [<ffffffc0004d7de0>] release_nodes+0x64/0x98
[ 41.189872] [<ffffffc0004d813c>] devres_release_all+0x4c/0x58
[ 41.195606] [<ffffffc0004d40fc>] __device_release_driver+0x84/0xc8
[ 41.201773] [<ffffffc0004d48e8>] driver_detach+0x8c/0xc0
[ 41.207075] [<ffffffc0004d3b8c>] bus_remove_driver+0x8c/0xb4
[ 41.212721] [<ffffffc0004d5448>] driver_unregister+0x4c/0x58
[ 41.218371] [<ffffffc000695b50>] i2c_del_driver+0x24/0x58
[ 41.223762] [<ffffffbffc008eec>] $x+0x18/0x20 [ov5693]
[ 41.228892] [<ffffffc00010bd2c>] SyS_delete_module+0x1bc/0x2d0
[ 41.234713] Code: 52800be1 d0002300 912e6000 97d915b7 (885f7e60)
[ 41.241078] ---[ end trace 668eba406076f87e ]---
*** What should I exactly do to make default OV5693 work via V4L2??? ***
Hi sergeyk789,
As to Cheese(although I can’t look into the tool implementation, it probably invokes gst v4l2src as well) or v4l2src, it’s mostly used for webcam and YUV sensor, but you couldn’t use it to view a raw stream outputs from a raw sensor(onbard ov5693).
Not like v4l2src, NVIDIA provides the gst nvcamerasrc, which has embedded NVIDIA ISP post-processing, so that you can either use it for raw sensor with ISP processing, or webcam and YUV sensor with ISP-bypassing.
Let me know if it’s clear for you.
javed
August 17, 2016, 10:53am
23
Thanks nVConan,
So one thing is clear that onboard camera ov5693 won’t work with cheese or other v4l2 base apps in the current V4L 24.1.
We have to use nvcamerasrc what has been provided by nvidia.
I did not get “embedded NVIDIA ISP post-processing” ?
Does it mean nvcamerasrc converts raw sensor format to RGB/BGR or in other formats ?
How do get onboard camera ov5693 work with opencv ?
I tried this thread but it did not work.
https://devtalk.nvidia.com/default/topic/925923/can-not-open-the-camera-on-tx1-via-opencv/
How can i get the camera data out from “gstreamer + nvcamerasrc” pipeline ?
So that i can actually work with video coming from onboard camera ov5693.
GENERIC “HOW TO” FOR CSI DEVICES
This how-to requires some knowledge, skills and definitely great courage :-) It is based on R21.4 and Tegra K1 but I guess it should be helpful anyway.
According to our experience to make any device (including OV sensors) work with Tegra the one should do following things:
Use I2C to configure your image source device to feed correct resolution and color format. Or any other way if I2C is not applicable.
Completely remove soc_camera_platform driver from kernel. (important!)
Provide correct device platform data (file mach_tegra.c or proper dts/dtsi files): clocks, lanes, disable DPD on CSI lanes if needed.
Update tegra_camera driver (vi2.c):
to disable DPD mode for CSI lanes if needed: disable DPD for both A and B if 4 lanes (important!).
add new supported formats V4L2_PIX_FMT_xxx if needed (tegra_camera/common.c):
update actions for previously added V4L2_PIX_FMT_xxx formats in source code (if needed)
improve vi2_capture_error_status to make it decode errors in text
make verbose error reporting to track CSI status in real time
Don’t forget to load drivers in proper order similar to the following (based on driver for tc358748 chip):
sudo rmmod tegra_camera
sudo rmmod tc358748
sudo rmmod ov5640
cd /lib/modules/uname -r
/kernel
sudo insmod drivers/media/v4l2-core/videobuf2-dma-contig.ko
sudo insmod drivers/media/i2c/soc_camera/tc358748.ko
sudo insmod drivers/media/platform/soc_camera/tegra_camera/tegra_camera.ko
Use the power (and notes above) to debug hw/CSI stream issues )
Good luck!
Here’s a C++ class that uses nvcamerasrc and appsink element to get the data from onboard camera in R24.1:
https://github.com/dusty-nv/jetson-inference/blob/master/camera/gstCamera.h
https://github.com/dusty-nv/jetson-inference/blob/master/camera/gstCamera.cpp
You may want to copy it along with gstUtility.h/cpp into your own project. See the CMakeLists.txt for compiler include/linker directives related to compiling with gstreamer, and see the CMakePreBuild.sh for installing any required gstreamer-1.0 development packages.
ayodeji
December 19, 2016, 9:58pm
26
Can the V4L2_Sensor_Driver_Programming_Guide_v4.0.pdf instructions be applied to the TK1
ctichenor:
An updated document is inside the L4T 24.1 documentation package, linked at http://developer.nvidia.com/embedded/dlc/l4t-documentation-24-1
When you extract the .tar file from the link and navigate to [extracted directory]/nvl4t_docs/Tegra Linux Driver Package Development Guide/baggage/ there is a PDF called “V4L2_Sensor_Driver_Programming_Guide_v4.0.pdf ”, which should answer many of these questions.
Apologies for the confusion, we are looking into making this document more visible.
Hi ayodeji
TK1 are using soc_camera instead of media controller framework so that you can’t reference to it.
For the TK1 you can reference to the driver locate …/kernel/drivers/media/i2c/soc_camera/ar0261_v4l2.c ,and the board file are locate …/kernel/arch/arm/mach-tegra/board-ardbeg-sensors.c
And you may need below kernel configs
disable CONFIG_SOC_CAMERA_PLATFORM
CONFIG_VIDEO_TEGRA=y
CONFIG_VIDEO_TEGRA_VI2=y