本站消息

站长简介/公众号

  出租广告位,需要合作请联系站长

+关注
已关注

分类  

暂无分类

标签  

暂无标签

日期归档  

2024-11(1)

Nvidia Agx Xavier平台MIPI CSI-DHPY驱动调试

发布于2021-08-29 16:15     阅读(1341)     评论(0)     点赞(16)     收藏(3)


1. 前言

这边使用Toshiba TC358748X 的DVP转MIPI的芯片,

通过排线连接到nvidia xavier平台,

通过移植官方通用驱动,调试过程需要一些问题

2. 硬件连接

3. 视频采集

(1)gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080, framerate=(fraction)30/1’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=(string)NV12’ ! omxh264enc ! qtmux ! filesink location=test.mp4 -ev

  1. message:
  2. Setting pipeline to PAUSED …
  3. Pipeline is live and does not need PREROLL …
  4. Setting pipeline to PLAYING …
  5. ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
  6. Additional debug info:
  7. gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
  8. streaming stopped, reason not-negotiated (-4)
  9. EOS on shutdown enabled – waiting for EOS after Error
  10. Waiting for EOS…
  11. New clock: GstSystemClock
  12. /GstPipeline:pipeline0/GstQTMux:qtmux0.GstPad:src: caps = video/quicktime, variant=(string)apple
  13. /GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/quicktime, variant=(string)apple

(2)./yavta /dev/video0 -c1 -n1 -s1920x1080 -fUYVY -Fcam.raw

  1. dmesg log:
  2. [ 2991.490743] tegra194-vi5 15c10000.vi: unexpected response from camera processor
  3. [ 2991.491039] video4linux video0: vi capture release failed
  4. [ 2991.491166] tegra194-vi5 15c10000.vi: unexpected response from camera processor
  5. [ 2991.491458] Unable to handle kernel NULL pointer dereference at virtual address 00000000
  6. [ 2991.491643] Mem abort info:
  7. [ 2991.491707] ESR = 0x96000005
  8. [ 2991.491777] Exception class = DABT (current EL), IL = 32 bits
  9. [ 2991.491887] SET = 0, FnV = 0
  10. [ 2991.491950] EA = 0, S1PTW = 0
  11. [ 2991.492018] Data abort info:
  12. [ 2991.492083] ISV = 0, ISS = 0x00000005
  13. [ 2991.492165] CM = 0, WnR = 0
  14. [ 2991.492230] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc7963b1000
  15. [ 2991.492353] [0000000000000000] *pgd=0000000000000000, *pud=0000000000000000
  16. [ 2991.492531] Internal error: Oops: 96000005 [#1] PREEMPT SMP
  17. [ 2991.492647] Modules linked in: bnep fuse zram overlay tpm_tis_spi tpm_tis_core tpm tc358746 spidev nvgpu bluedroid_pm ip_tables x_tables
  18. [ 2991.493579] CPU: 0 PID: 9265 Comm: yavta Not tainted 4.9.140-tegra #34
  19. [ 2991.494890] Hardware name: Jetson-AGX (DT)
  20. [ 2991.499024] task: ffffffc759d51c00 task.stack: ffffffc74b1c8000
  21. [ 2991.505244] PC is at vi_capture_request_unpin+0x40/0xb8
  22. [ 2991.510052] LR is at vi_capture_request_unpin+0x34/0xb8
  23. [ 2991.515287] pc : [] lr : [] pstate: 20400045
  24. [ 2991.522895] sp : ffffffc74b1cba30
  25. [ 2991.526044] x29: ffffffc74b1cba30 x28: 0000000000000000
  26. [ 2991.532102] x27: ffffffc7bcece800 x26: 0000000000000001
  27. [ 2991.537494] x25: ffffff8009f9d358 x24: 0000000000000013
  28. [ 2991.543094] x23: ffffffc74b1db800 x22: 0000000000000000
  29. [ 2991.548349] x21: ffffffc74b1dba68 x20: ffffffc74b06b200
  30. [ 2991.553358] x19: 0000000000000000 x18: 00000000000035cf
  31. [ 2991.558864] x17: 0000007faff70748 x16: 0000000000000000
  32. [ 2991.564795] x15: 0000000000000000 x14: 000000000000005f
  33. [ 2991.570481] x13: 0000000000000132 x12: 0000000000000400
  34. [ 2991.576014] x11: 0000000000000400 x10: 0000000000000a20
  35. [ 2991.582035] x9 : ffffffc74b1cb840 x8 : fffffffffffffffe
  36. [ 2991.587827] x7 : ffffffc74b06bf00 x6 : ffffffc74b06b3c0
  37. [ 2991.593078] x5 : ffffffc759d51c00 x4 : ffffffc7ffce50e0
  38. [ 2991.598418] x3 : 0000000001da0e40 x2 : ffffffc74b06be40
  39. [ 2991.603750] x1 : 0000000000000000 x0 : 0000000000000000
  40. [ 2991.610757] Process yavta (pid: 9265, stack limit = 0xffffffc74b1c8000)
  41. [ 2991.617127] Call trace:
  42. [ 2991.619278] [] vi_capture_request_unpin+0x40/0xb8
  43. [ 2991.625372] [] vi_capture_shutdown+0xac/0x118
  44. [ 2991.630972] [] vi_channel_close_ex+0x2c/0x88
  45. [ 2991.636573] [] vi5_channel_stop_streaming+0x64/0xa8
  46. [ 2991.642504] [] tegra_channel_stop_streaming+0x34/0x48
  47. [ 2991.648904] [] __vb2_queue_cancel+0x34/0x188
  48. [ 2991.654512] [] vb2_core_streamoff+0x54/0xb8
  49. [ 2991.659588] [] vb2_streamoff+0x54/0x88
  50. [ 2991.664922] [] vb2_ioctl_streamoff+0x54/0x60
  51. [ 2991.670502] [] v4l_streamoff+0x3c/0x50
  52. [ 2991.675687] [] __video_do_ioctl+0x204/0x2c8
  53. [ 2991.681284] [] video_usercopy+0x2a0/0x6a0
  54. [ 2991.686884] [] video_ioctl2+0x3c/0x50
  55. [ 2991.691854] [] v4l2_ioctl+0x88/0x118
  56. [ 2991.697034] [] do_vfs_ioctl+0xb0/0x8d8
  57. [ 2991.702615] [] SyS_ioctl+0x8c/0xa8
  58. [ 2991.707259] [] el0_svc_naked+0x34/0x38
  59. [ 2991.713045] [ end trace 529ecb45319e6e44 ]

重复执行如下命令:

gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080, framerate=(fraction)30/1’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=(string)NV12’ ! omxh264enc ! qtmux ! filesink location=test.mp4 -ev

有时会报以下log

  1. Setting pipeline to PAUSED …
  2. Pipeline is live and does not need PREROLL …
  3. Setting pipeline to PLAYING …
  4. ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
  5. Additional debug info:
  6. gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
  7. streaming stopped, reason not-negotiated (-4)
  8. EOS on shutdown enabled – waiting for EOS after Error
  9. Waiting for EOS…
  10. /GstPipeline:pipeline0/GstQTMux:qtmux0.GstPad:src: caps = video/quicktime, variant=(string)apple
  11. /GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/quicktime, variant=(string)apple
  12. New clock: GstSystemClock
  13. /GstPipeline:pipeline0/GstQTMux:qtmux0.GstPad:src: caps = video/quicktime, variant=(string)apple, streamheader=(buffer)< 000002446d6f6f760000006c6d76686400000000dc25b31adc25b31a00000708000000000001000001000000000000000000000000010000000000000000000000000000000100000000000000000000000000004000000000000000000000000000000000000000000000000000000000000002000001937472616b0000005c746b686400000007dc25b31adc25b31a000000010000000000000000000000000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000400000000000000000000000000000f26d646961000000206d64686400000000dc25b31adc25b31a000000000000000055c400000000002168646c7200000000000000000000000000000000000000000000000000000000a96d696e660000002168646c720000000064686c72616c6973000000000000000000000000000000002464696e660000001c6472656600000000000000010000000c616c6973000000010000005c7374626c000000107374736400000000000000000000001073747473000000000000000000000010737473630000000000000000000000147374737a000000000000000000000000000000107374636f00000000000000000000003d75647461000000356d657461000000000000002168646c72000000006d686c726d6469720000000000000000000000000000000008696c73740000003d75647461000000356d657461000000000000002168646c72000000006d686c726d6469720000000000000000000000000000000008696c7374 >
  14. /GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/quicktime, variant=(string)apple, streamheader=(buffer)< 000002446d6f6f760000006c6d76686400000000dc25b31adc25b31a00000708000000000001000001000000000000000000000000010000000000000000000000000000000100000000000000000000000000004000000000000000000000000000000000000000000000000000000000000002000001937472616b0000005c746b686400000007dc25b31adc25b31a000000010000000000000000000000000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000400000000000000000000000000000f26d646961000000206d64686400000000dc25b31adc25b31a000000000000000055c400000000002168646c7200000000000000000000000000000000000000000000000000000000a96d696e660000002168646c720000000064686c72616c6973000000000000000000000000000000002464696e660000001c6472656600000000000000010000000c616c6973000000010000005c7374626c000000107374736400000000000000000000001073747473000000000000000000000010737473630000000000000000000000147374737a000000000000000000000000000000107374636f00000000000000000000003d75647461000000356d657461000000000000002168646c72000000006d686c726d6469720000000000000000000000000000000008696c73740000003d75647461000000356d657461000000000000002168646c72000000006d686c726d6469720000000000000000000000000000000008696c7374 >
  15. Got EOS from element “pipeline0”.
  16. EOS received - stopping pipeline…
  17. Execution ended after 0:00:00.003681628
  18. Setting pipeline to PAUSED …
  19. Setting pipeline to READY …
  20. Setting pipeline to NULL …
  21. Freeing pipeline …

4. 查询trace信息

首先需要执行 v4l2采集命令

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=UYVY–set-ctrl --stream-mmap --stream-count=1000

再查询trace信息

sudo cat /sys/kernel/debug/tracing/trace

trace如下:

  1. # tracer: nop
  2. #
  3. # entries-in-buffer/entries-written: 141/141 #P:4
  4. #
  5. # _-----=> irqs-off
  6. # / _----=> need-resched
  7. # | / _---=> hardirq/softirq
  8. # || / _--=> preempt-depth
  9. # ||| / delay
  10. # TASK-PID CPU# |||| TIMESTAMP FUNCTION
  11. # | | | |||| | |
  12. kworker/0:2-1179 [000] .... 110.641032: rtos_queue_peek_from_isr_failed: tstamp:3846786024 queue:0x0bcbcf78
  13. kworker/0:2-1179 [000] .... 110.809018: rtos_queue_peek_from_isr_failed: tstamp:3851786022 queue:0x0bcbcf78
  14. kworker/0:2-1179 [000] .... 110.977037: rtos_queue_peek_from_isr_failed: tstamp:3856786032 queue:0x0bcbcf78
  15. kworker/0:2-1179 [000] .... 111.089013: rtos_queue_peek_from_isr_failed: tstamp:3861786022 queue:0x0bcbcf78
  16. kworker/0:2-1179 [000] .... 111.257047: rtos_queue_peek_from_isr_failed: tstamp:3866786022 queue:0x0bcbcf78
  17. kworker/0:2-1179 [000] .... 111.425017: rtos_queue_peek_from_isr_failed: tstamp:3871786022 queue:0x0bcbcf78
  18. kworker/0:2-1179 [000] .... 111.593018: rtos_queue_peek_from_isr_failed: tstamp:3876786027 queue:0x0bcbcf78
  19. kworker/0:2-1179 [000] .... 111.761126: rtos_queue_peek_from_isr_failed: tstamp:3881786019 queue:0x0bcbcf78
  20. kworker/0:2-1179 [000] .... 111.929021: rtos_queue_peek_from_isr_failed: tstamp:3886786019 queue:0x0bcbcf78
  21. kworker/0:2-1179 [000] .... 112.097019: rtos_queue_peek_from_isr_failed: tstamp:3891786022 queue:0x0bcbcf78
  22. kworker/0:2-1179 [000] .... 112.209019: rtos_queue_peek_from_isr_failed: tstamp:3896786022 queue:0x0bcbcf78
  23. kworker/0:2-1179 [000] .... 112.377033: rtos_queue_peek_from_isr_failed: tstamp:3901786028 queue:0x0bcbcf78
  24. kworker/0:2-1179 [000] .... 112.545071: rtos_queue_peek_from_isr_failed: tstamp:3906786022 queue:0x0bcbcf78
  25. kworker/0:2-1179 [000] .... 112.713008: rtos_queue_peek_from_isr_failed: tstamp:3911786019 queue:0x0bcbcf78
  26. kworker/0:2-1179 [000] .... 112.881006: rtos_queue_peek_from_isr_failed: tstamp:3916786022 queue:0x0bcbcf78
  27. kworker/0:2-1179 [000] .... 113.049016: rtos_queue_peek_from_isr_failed: tstamp:3921786019 queue:0x0bcbcf78
  28. kworker/0:2-1179 [000] .... 113.217046: rtos_queue_peek_from_isr_failed: tstamp:3926786023 queue:0x0bcbcf78
  29. kworker/0:2-1179 [000] .... 113.329008: rtos_queue_peek_from_isr_failed: tstamp:3931786023 queue:0x0bcbcf78
  30. kworker/0:2-1179 [000] .... 113.497006: rtos_queue_peek_from_isr_failed: tstamp:3936786019 queue:0x0bcbcf78
  31. kworker/0:2-1179 [000] .... 113.665033: rtos_queue_peek_from_isr_failed: tstamp:3941786019 queue:0x0bcbcf78
  32. kworker/0:2-1179 [000] .... 113.833004: rtos_queue_peek_from_isr_failed: tstamp:3946786024 queue:0x0bcbcf78
  33. kworker/0:2-1179 [000] .... 114.000999: rtos_queue_peek_from_isr_failed: tstamp:3951786019 queue:0x0bcbcf78
  34. kworker/0:2-1179 [000] .... 114.169002: rtos_queue_peek_from_isr_failed: tstamp:3956786031 queue:0x0bcbcf78
  35. kworker/0:2-1179 [000] .... 114.336999: rtos_queue_peek_from_isr_failed: tstamp:3961786021 queue:0x0bcbcf78
  36. kworker/0:2-1179 [000] .... 114.448998: rtos_queue_peek_from_isr_failed: tstamp:3966786021 queue:0x0bcbcf78
  37. kworker/0:2-1179 [000] .... 114.616991: rtos_queue_peek_from_isr_failed: tstamp:3971786021 queue:0x0bcbcf78
  38. kworker/0:2-1179 [000] .... 114.785005: rtos_queue_peek_from_isr_failed: tstamp:3976786019 queue:0x0bcbcf78
  39. kworker/0:2-1179 [000] .... 114.952990: rtos_queue_peek_from_isr_failed: tstamp:3981786018 queue:0x0bcbcf78
  40. kworker/0:2-1179 [000] .... 115.120999: rtos_queue_peek_from_isr_failed: tstamp:3986786021 queue:0x0bcbcf78
  41. kworker/0:2-1179 [000] .... 115.288990: rtos_queue_peek_from_isr_failed: tstamp:3991786021 queue:0x0bcbcf78
  42. kworker/0:2-1179 [000] .... 115.457012: rtos_queue_peek_from_isr_failed: tstamp:3996786019 queue:0x0bcbcf78
  43. kworker/0:2-1179 [000] .... 115.457016: rtos_queue_peek_from_isr_failed: tstamp:3998233154 queue:0x0bcbcf78
  44. kworker/0:3-1690 [000] .... 139.036594: rtos_queue_peek_from_isr_failed: tstamp:4733887531 queue:0x0bcbcf78
  45. kworker/0:3-1690 [000] .... 139.036602: rtcpu_start: tstamp:4733890170
  46. kworker/0:3-1690 [000] .... 139.036604: rtos_queue_send_from_isr_failed: tstamp:4734008458 queue:0x0bcb41f8
  47. kworker/0:3-1690 [000] .... 139.036606: rtos_queue_send_from_isr_failed: tstamp:4734008680 queue:0x0bcb8a60
  48. kworker/0:3-1690 [000] .... 139.036607: rtos_queue_send_from_isr_failed: tstamp:4734008900 queue:0x0bcba5e0
  49. kworker/0:3-1690 [000] .... 139.036609: rtos_queue_send_from_isr_failed: tstamp:4734009122 queue:0x0bcbb3a0
  50. kworker/0:3-1690 [000] .... 139.036610: rtos_queue_send_from_isr_failed: tstamp:4734009345 queue:0x0bcbc160
  51. kworker/0:3-1690 [000] .... 139.036613: rtcpu_string: tstamp:4734009968 id:0x04010000 str:"Configuring VI GoS.
  52. "
  53. kworker/0:3-1690 [000] .... 139.036666: rtcpu_string: tstamp:4734010236 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
  54. "
  55. kworker/0:3-1690 [000] .... 139.036679: rtcpu_string: tstamp:4734010564 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
  56. "
  57. kworker/0:3-1690 [000] .... 139.036689: rtcpu_string: tstamp:4734010930 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
  58. "
  59. kworker/0:3-1690 [000] .... 139.036699: rtcpu_string: tstamp:4734011272 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
  60. "
  61. kworker/0:3-1690 [000] .... 139.036709: rtcpu_string: tstamp:4734011578 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
  62. "
  63. kworker/0:3-1690 [000] .... 139.036718: rtcpu_string: tstamp:4734011884 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
  64. "
  65. kworker/0:3-1690 [000] .... 139.036727: rtcpu_string: tstamp:4734019964 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol versi"
  66. kworker/0:3-1690 [000] .... 139.036729: rtcpu_string: tstamp:4734020153 id:0x04010000 str:"on 2.2
  67. "
  68. kworker/0:3-1690 [000] .... 139.036740: rtos_queue_send_from_isr_failed: tstamp:4734049104 queue:0x0bcb41f8
  69. kworker/0:3-1690 [000] .... 139.036741: rtos_queue_send_from_isr_failed: tstamp:4734049362 queue:0x0bcb8a60
  70. kworker/0:3-1690 [000] .... 139.036743: rtos_queue_send_from_isr_failed: tstamp:4734049586 queue:0x0bcba5e0
  71. kworker/0:3-1690 [000] .... 139.036744: rtos_queue_send_from_isr_failed: tstamp:4734049806 queue:0x0bcbb3a0
  72. kworker/0:3-1690 [000] .... 139.036745: rtos_queue_send_from_isr_failed: tstamp:4734050023 queue:0x0bcbc160
  73. kworker/0:3-1690 [000] .... 139.036747: rtcpu_string: tstamp:4734051203 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000
  74. "
  75. kworker/0:3-1690 [000] .... 139.036756: rtos_queue_send_from_isr_failed: tstamp:4734272466 queue:0x0bcb41f8
  76. kworker/0:3-1690 [000] .... 139.036758: rtos_queue_send_from_isr_failed: tstamp:4734272617 queue:0x0bcb8a60
  77. kworker/0:3-1690 [000] .... 139.036759: rtos_queue_send_from_isr_failed: tstamp:4734272768 queue:0x0bcba5e0
  78. kworker/0:3-1690 [000] .... 139.036761: rtos_queue_send_from_isr_failed: tstamp:4734272915 queue:0x0bcbb3a0
  79. kworker/0:3-1690 [000] .... 139.036762: rtos_queue_send_from_isr_failed: tstamp:4734273060 queue:0x0bcbc160
  80. kworker/0:3-1690 [000] .... 139.036764: rtcpu_nvcsi_intr: tstamp:4734276115 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000089
  81. kworker/0:3-1690 [000] .... 139.036766: rtcpu_nvcsi_intr: tstamp:4734276115 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000088
  82. kworker/0:3-1690 [000] .... 139.036768: rtcpu_vinotify_event: tstamp:4734519030 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5460788928 data:0x10000000
  83. kworker/0:3-1690 [000] .... 139.036770: rtcpu_vinotify_event: tstamp:4734519171 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5460792768 data:0x31000001
  84. kworker/0:3-1690 [000] .... 139.036771: rtcpu_vinotify_event: tstamp:4734519332 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5460793760 data:0x07020001
  85. kworker/0:3-1690 [000] .... 139.036773: rtcpu_vinotify_event: tstamp:4734519467 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5460851232 data:0x10000000
  86. kworker/0:3-1690 [000] .... 139.036774: rtcpu_vinotify_event: tstamp:4734519624 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5460855072 data:0x31000002
  87. kworker/0:3-1690 [000] .... 139.036775: rtcpu_nvcsi_intr: tstamp:4734938558 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000004
  88. kworker/0:3-1690 [000] .... 139.036777: rtcpu_nvcsi_intr: tstamp:4734938558 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:1 st:0 vc:0 status:0x00000004
  89. kworker/0:3-1690 [000] .... 139.204559: rtos_queue_peek_from_isr_failed: tstamp:4738887885 queue:0x0bcbcf78
  90. kworker/0:3-1690 [000] .... 139.204567: rtcpu_nvcsi_intr: tstamp:4739331311 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000110
  91. kworker/0:3-1690 [000] .... 139.204569: rtcpu_nvcsi_intr: tstamp:4739331311 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000110
  92. kworker/0:3-1690 [000] .... 139.316534: rtos_queue_peek_from_isr_failed: tstamp:4743887889 queue:0x0bcbcf78
  93. kworker/0:3-1690 [000] .... 139.484509: rtos_queue_peek_from_isr_failed: tstamp:4748887890 queue:0x0bcbcf78
  94. kworker/0:3-1690 [000] .... 139.652500: rtos_queue_peek_from_isr_failed: tstamp:4753887889 queue:0x0bcbcf78
  95. kworker/0:3-1690 [000] .... 139.820483: rtos_queue_peek_from_isr_failed: tstamp:4758887889 queue:0x0bcbcf78
  96. kworker/0:3-1690 [000] .... 139.988469: rtos_queue_peek_from_isr_failed: tstamp:4763887889 queue:0x0bcbcf78
  97. kworker/0:3-1690 [000] .... 140.156463: rtos_queue_peek_from_isr_failed: tstamp:4768887889 queue:0x0bcbcf78
  98. kworker/0:3-1690 [000] .... 140.324437: rtos_queue_peek_from_isr_failed: tstamp:4773887890 queue:0x0bcbcf78
  99. kworker/0:3-1690 [000] .... 140.436431: rtos_queue_peek_from_isr_failed: tstamp:4778887889 queue:0x0bcbcf78
  100. kworker/0:3-1690 [000] .... 140.604418: rtos_queue_peek_from_isr_failed: tstamp:4783887889 queue:0x0bcbcf78
  101. kworker/0:3-1690 [000] .... 140.772410: rtos_queue_peek_from_isr_failed: tstamp:4788887893 queue:0x0bcbcf78
  102. kworker/0:3-1690 [000] .... 140.940387: rtos_queue_peek_from_isr_failed: tstamp:4793887889 queue:0x0bcbcf78
  103. kworker/0:3-1690 [000] .... 141.108387: rtos_queue_peek_from_isr_failed: tstamp:4798887889 queue:0x0bcbcf78
  104. kworker/0:3-1690 [000] .... 141.276362: rtos_queue_peek_from_isr_failed: tstamp:4803887889 queue:0x0bcbcf78
  105. kworker/0:3-1690 [000] .... 141.444351: rtos_queue_peek_from_isr_failed: tstamp:4808887890 queue:0x0bcbcf78
  106. kworker/0:3-1690 [000] .... 141.556340: rtos_queue_peek_from_isr_failed: tstamp:4813887890 queue:0x0bcbcf78
  107. kworker/0:3-1690 [000] .... 141.724332: rtos_queue_peek_from_isr_failed: tstamp:4818887892 queue:0x0bcbcf78
  108. kworker/0:3-1690 [000] .... 141.780315: rtos_queue_send_from_isr_failed: tstamp:4819351719 queue:0x0bcb41f8
  109. kworker/0:3-1690 [000] .... 141.780320: rtos_queue_send_from_isr_failed: tstamp:4819351875 queue:0x0bcb8a60
  110. kworker/0:3-1690 [000] .... 141.780322: rtos_queue_send_from_isr_failed: tstamp:4819352028 queue:0x0bcba5e0
  111. kworker/0:3-1690 [000] .... 141.780351: rtos_queue_send_from_isr_failed: tstamp:4819352175 queue:0x0bcbb3a0
  112. kworker/0:3-1690 [000] .... 141.780352: rtos_queue_send_from_isr_failed: tstamp:4819352321 queue:0x0bcbc160
  113. kworker/0:3-1690 [000] .... 141.780354: rtos_queue_send_from_isr_failed: tstamp:4819400490 queue:0x0bcb41f8
  114. kworker/0:3-1690 [000] .... 141.780355: rtos_queue_send_from_isr_failed: tstamp:4819400639 queue:0x0bcb8a60
  115. kworker/0:3-1690 [000] .... 141.780356: rtos_queue_send_from_isr_failed: tstamp:4819400790 queue:0x0bcba5e0
  116. kworker/0:3-1690 [000] .... 141.780358: rtos_queue_send_from_isr_failed: tstamp:4819400936 queue:0x0bcbb3a0
  117. kworker/0:3-1690 [000] .... 141.780359: rtos_queue_send_from_isr_failed: tstamp:4819401083 queue:0x0bcbc160
  118. kworker/0:3-1690 [000] .... 141.780362: rtcpu_string: tstamp:4819407322 id:0x04010000 str:"Configuring VI GoS.
  119. "
  120. kworker/0:3-1690 [000] .... 141.780393: rtcpu_string: tstamp:4819407518 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
  121. "
  122. kworker/0:3-1690 [000] .... 141.780407: rtcpu_nvcsi_intr: tstamp:4819407569 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000110
  123. kworker/0:3-1690 [000] .... 141.780408: rtcpu_nvcsi_intr: tstamp:4819407569 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000110
  124. kworker/0:3-1690 [000] .... 141.780410: rtcpu_string: tstamp:4819408296 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
  125. "
  126. kworker/0:3-1690 [000] .... 141.780420: rtcpu_string: tstamp:4819408574 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
  127. "
  128. kworker/0:3-1690 [000] .... 141.780431: rtcpu_string: tstamp:4819408807 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
  129. "
  130. kworker/0:3-1690 [000] .... 141.780441: rtcpu_string: tstamp:4819409038 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
  131. "
  132. kworker/0:3-1690 [000] .... 141.780450: rtcpu_string: tstamp:4819409269 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
  133. "
  134. kworker/0:3-1690 [000] .... 141.892310: rtos_queue_peek_from_isr_failed: tstamp:4823887890 queue:0x0bcbcf78
  135. kworker/0:3-1690 [000] .... 142.060299: rtos_queue_peek_from_isr_failed: tstamp:4828887890 queue:0x0bcbcf78
  136. kworker/0:3-1690 [000] .... 142.228272: rtos_queue_peek_from_isr_failed: tstamp:4833887890 queue:0x0bcbcf78
  137. kworker/0:3-1690 [000] .... 142.396254: rtos_queue_peek_from_isr_failed: tstamp:4838887890 queue:0x0bcbcf78
  138. kworker/0:3-1690 [000] .... 142.564242: rtos_queue_peek_from_isr_failed: tstamp:4843887890 queue:0x0bcbcf78
  139. kworker/0:3-1690 [000] .... 142.676236: rtos_queue_peek_from_isr_failed: tstamp:4848887890 queue:0x0bcbcf78
  140. kworker/0:3-1690 [000] .... 142.844218: rtos_queue_peek_from_isr_failed: tstamp:4853887886 queue:0x0bcbcf78
  141. kworker/0:3-1690 [000] .... 143.012205: rtos_queue_peek_from_isr_failed: tstamp:4858887890 queue:0x0bcbcf78
  142. kworker/0:3-1690 [000] .... 143.180190: rtos_queue_peek_from_isr_failed: tstamp:4863887890 queue:0x0bcbcf78
  143. kworker/0:3-1690 [000] .... 143.348177: rtos_queue_peek_from_isr_failed: tstamp:4868887890 queue:0x0bcbcf78
  144. kworker/0:3-1690 [000] .... 143.516175: rtos_queue_peek_from_isr_failed: tstamp:4873887890 queue:0x0bcbcf78
  145. kworker/0:3-1690 [000] .... 143.684162: rtos_queue_peek_from_isr_failed: tstamp:4878887890 queue:0x0bcbcf78
  146. kworker/0:3-1690 [000] .... 143.796142: rtos_queue_peek_from_isr_failed: tstamp:4883887893 queue:0x0bcbcf78
  147. kworker/0:3-1690 [000] .... 143.964138: rtos_queue_peek_from_isr_failed: tstamp:4888887890 queue:0x0bcbcf78
  148. kworker/0:3-1690 [000] .... 144.132113: rtos_queue_peek_from_isr_failed: tstamp:4893887893 queue:0x0bcbcf78
  149. kworker/0:0-4 [000] .... 144.300145: rtos_queue_peek_from_isr_failed: tstamp:4898887890 queue:0x0bcbcf78
  150. kworker/0:3-1690 [000] .... 144.468088: rtos_queue_peek_from_isr_failed: tstamp:4903887890 queue:0x0bcbcf78
  151. kworker/0:3-1690 [000] .... 144.636077: rtos_queue_peek_from_isr_failed: tstamp:4908887890 queue:0x0bcbcf78
  152. kworker/0:3-1690 [000] .... 144.804061: rtos_queue_peek_from_isr_failed: tstamp:4913887892 queue:0x0bcbcf78
  153. kworker/0:3-1690 [000] .... 145.084064: rtos_queue_peek_from_isr_failed: tstamp:4923887885 queue:0x0bcbcf78
  154. kworker/0:3-1690 [000] .... 145.252031: rtos_queue_peek_from_isr_failed: tstamp:4928887890 queue:0x0bcbcf78
  155. kworker/0:3-1690 [000] .... 145.420015: rtos_queue_peek_from_isr_failed: tstamp:4933887890 queue:0x0bcbcf78
  156. kworker/0:3-1690 [000] .... 145.588021: rtos_queue_peek_from_isr_failed: tstamp:4938887890 queue:0x0bcbcf78
  157. kworker/0:3-1690 [000] .... 145.755996: rtos_queue_peek_from_isr_failed: tstamp:4943887889 queue:0x0bcbcf78
  158. kworker/0:3-1690 [000] .... 145.923986: rtos_queue_peek_from_isr_failed: tstamp:4948887890 queue:0x0bcbcf78
  159. kworker/0:3-1690 [000] .... 146.035972: rtos_queue_peek_from_isr_failed: tstamp:4953887890 queue:0x0bcbcf78
  160. kworker/0:3-1690 [000] .... 146.203992: rtos_queue_peek_from_isr_failed: tstamp:4958887889 queue:0x0bcbcf78
  161. kworker/0:3-1690 [000] .... 146.371944: rtos_queue_peek_from_isr_failed: tstamp:4963887892 queue:0x0bcbcf78
  162. kworker/0:3-1690 [000] .... 146.539932: rtos_queue_peek_from_isr_failed: tstamp:4968887890 queue:0x0bcbcf78
  163. kworker/0:3-1690 [000] .... 146.707919: rtos_queue_peek_from_isr_failed: tstamp:4973887890 queue:0x0bcbcf78
  164. kworker/0:3-1690 [000] .... 146.875907: rtos_queue_peek_from_isr_failed: tstamp:4978887890 queue:0x0bcbcf78
  165. kworker/0:3-1690 [000] .... 147.043894: rtos_queue_peek_from_isr_failed: tstamp:4983887890 queue:0x0bcbcf78
  166. kworker/0:3-1690 [000] .... 147.155886: rtos_queue_peek_from_isr_failed: tstamp:4988887889 queue:0x0bcbcf78
  167. kworker/0:3-1690 [000] .... 147.323873: rtos_queue_peek_from_isr_failed: tstamp:4993887890 queue:0x0bcbcf78
  168. kworker/0:3-1690 [000] .... 147.379872: rtos_queue_peek_from_isr_failed: tstamp:4995329052 queue:0x0bcbcf78

5.分析track信息

 kworker/0:3-1690  [000] ....   139.036764: rtcpu_nvcsi_intr: tstamp:4734276115 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000089

REG NVCSI_PHY_0_CILB_INTR_0_STATUS_CILA_0 of the TRM 从这里可以看出是lane control error

可能原因: 可能是CSI信号或时序不符合MIPI规范

6. 示波器查询CSI信号

(1)Toshiba MIPI out , 不连接xavier主控接口

(2) Toshiba MIPI out, 连接xavier主控接口

看着CSI信号时序是正常的

7. 重新测试如下命令

/yavta /dev/video0 -c1 -n1 -s1920x1080 -fUYVY -Fcam.raw

  1. kworker/0:1-8829 [000] .... 497.697231: rtos_queue_send_from_isr_failed: tstamp:15945062280 queue:0x0bcba5e0
  2. kworker/0:1-8829 [000] .... 497.697231: rtos_queue_send_from_isr_failed: tstamp:15945062429 queue:0x0bcbb3a0
  3. kworker/0:1-8829 [000] .... 497.697232: rtos_queue_send_from_isr_failed: tstamp:15945062574 queue:0x0bcbc160
  4. kworker/0:1-8829 [000] .... 497.697233: rtcpu_vinotify_event: tstamp:15945168587 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:15944880240 data:0x00000000
  5. kworker/0:1-8829 [000] .... 497.697235: rtcpu_vinotify_event: tstamp:15945168728 tag:FS channel:0x00 frame:0 vi_tstamp:15944921925 data:0x00000010
  6. kworker/0:1-8829 [000] .... 497.697236: rtcpu_vinotify_event: tstamp:15945168889 tag:CHANSEL_NOMATCH channel:0x01 frame:0 vi_tstamp:15944921958 data:0x000003c9
  7. kworker/0:1-8829 [000] .... 497.697236: rtcpu_vinotify_event: tstamp:15945169025 tag:FE channel:0x00 frame:0 vi_tstamp:15944974726 data:0x00000020
  8. kworker/0:1-8829 [000] .... 497.697236: rtcpu_vinotify_event: tstamp:15945169181 tag:FS channel:0x00 frame:0 vi_tstamp:15945016413 data:0x00000010
  9. kworker/0:1-8829 [000] .... 497.697237: rtcpu_vinotify_event: tstamp:15945169313 tag:CHANSEL_NOMATCH channel:0x01 frame:0 vi_tstamp:15945016447 data:0x000003c9
  10. kworker/0:1-8829 [000] .... 497.697237: rtcpu_vinotify_event: tstamp:15945169518 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:16320873504 data:0x10000000
  11. kworker/0:1-8829 [000] .... 497.697237: rtcpu_vinotify_event: tstamp:15945169656 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:16320902880 data:0x31000477
  12. kworker/0:1-8829 [000] .... 497.697238: rtcpu_vinotify_event: tstamp:15945169815 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:16320911520 data:0x07020477
  13. kworker/0:1-8829 [000] .... 497.697238: rtcpu_vinotify_event: tstamp:15945169951 tag:FE channel:0x00 frame:0 vi_tstamp:15945069214 data:0x00000020
  14. kworker/0:1-8829 [000] .... 497.697238: rtcpu_vinotify_event: tstamp:15945170105 tag:FS channel:0x00 frame:0 vi_tstamp:15945110901 data:0x00000010
  15. kworker/0:1-8829 [000] .... 497.697239: rtcpu_vinotify_event: tstamp:15945170249 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:15945110903 data:0x00000000
  16. kworker/0:1-8829 [000] .... 497.697239: rtcpu_vinotify_event: tstamp:15945170409 tag:CHANSEL_PXL_SOF channel:0x23 frame:0 vi_tstamp:15945110935 data:0x00000001
  17. kworker/0:1-8829 [000] .... 497.697239: rtcpu_vinotify_event: tstamp:15945170544 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:16322326816 data:0x08020477
  18. kworker/0:1-8829 [000] .... 497.697240: rtcpu_vinotify_event: tstamp:15945170699 tag:FE channel:0x00 frame:0 vi_tstamp:15945163703 data:0x00000020
  19. kworker/0:1-8829 [000] .... 497.697240: rtcpu_vinotify_event: tstamp:15945170839 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:0 vi_tstamp:15945163703 data:0x01000000
  20. kworker/0:1-8829 [000] .... 497.697240: rtcpu_vinotify_error: tstamp:15945208268 tag:CHANSEL_NOMATCH channel:0x01 frame:0 vi_tstamp:15945205423 data:0x000003c9
  21. kworker/0:1-8829 [000] .... 497.697241: rtcpu_vinotify_error: tstamp:15945302752 tag:CHANSEL_NOMATCH channel:0x01 frame:0 vi_tstamp:15945299911 data:0x000003c9
  22. kworker/0:1-8829 [000] .... 497.697241: rtos_queue_send_from_isr_failed: tstamp:15945329337 queue:0x0bcb41f8
  23. kworker/0:1-8829 [000] .... 497.697241: rtos_queue_send_from_isr_failed: tstamp:15945329509 queue:0x0bcb8a60
  24. kworker/0:1-8829 [000] .... 497.697242: rtos_queue_send_from_isr_failed: tstamp:15945329662 queue:0x0bcba5e0
  25. kworker/0:1-8829 [000] .... 497.697242: rtos_queue_send_from_isr_failed: tstamp:15945329811 queue:0x0bcbb3a0
  26. kworker/0:1-8829 [000] .... 497.697242: rtos_queue_send_from_isr_failed: tstamp:15945329956 queue:0x0bcbc160
  27. kworker/0:1-8829 [000] .... 497.753116: rtcpu_vinotify_event: tstamp:15945540828 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:16324023040 data:0x01020477
  28. kworker/0:1-8829 [000] .... 497.753119: rtcpu_vinotify_event: tstamp:15945541048 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:15945163705 data:0x00000000
  29. kworker/0:1-8829 [000] .... 497.753119: rtcpu_vinotify_event: tstamp:15945541302 tag:FS channel:0x00 frame:0 vi_tstamp:15945205389 data:0x00000010
  30. kworker/0:1-8829 [000] .... 497.753119: rtcpu_vinotify_event: tstamp:15945541512 tag:CHANSEL_NOMATCH channel:0x01 frame:0 vi_tstamp:15945205423 data:0x000003c9
  31. kworker/0:1-8829 [000] .... 497.753120: rtcpu_vinotify_event: tstamp:15945541760 tag:FE channel:0x00 frame:0 vi_tstamp:15945258191 data:0x00000020
  32. kworker/0:1-8829 [000] .... 497.753120: rtcpu_vinotify_event: tstamp:15945541971 tag:FS channel:0x00 frame:0 vi_tstamp:15945299878 data:0x00000010
  33. kworker/0:1-8829 [000] .... 497.753120: rtcpu_vinotify_event: tstamp:15945542218 tag:CHANSEL_NOMATCH channel:0x01 frame:0 vi_tstamp:15945299911 data:0x000003c9
  34. kworker/0:1-8829 [000] .... 497.753122: rtos_queue_send_from_isr_failed: tstamp:15945550837 queue:0x0bcb41f8
  35. kworker/0:1-8829 [000] .... 497.753122: rtos_queue_send_from_isr_failed: tstamp:15945551061 queue:0x0bcb8a60
  36. kworker/0:1-8829 [000] .... 497.753122: rtos_queue_send_from_isr_failed: tstamp:15945551284 queue:0x0bcba5e0
  37. kworker/0:1-8829 [000] .... 497.753123: rtos_queue_send_from_isr_failed: tstamp:15945551503 queue:0x0bcbb3a0
  38. kworker/0:1-8829 [000] .... 497.753123: rtos_queue_send_from_isr_failed: tstamp:15945551721 queue:0x0bcbc160

The dmesg log:

  1. [ 497.201427] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
  2. [ 497.210498] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
  3. [ 497.219558] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
  4. [ 497.228630] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
  5. [ 497.234682] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
  6. [ 497.243747] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072

分析如下:

  1. 跟踪显示短帧,表明输出大小不符合预期。
  2. tag:CHANSEL_SHORT_FRAME

8. 修改dtsi

  1. tc358746@0e {
  2. compatible = "toshiba,tc358746"; /* I2C device address */
  3. reg = <0x0e>; /* shifted by 2 */
  4. physical_w = "3.680"; /* Physical dimensions of sensor */
  5. physical_h = "2.760";
  6. devnode = "video0"; /* V4L2 device node location */
  7. sensor_model = "TC358746";
  8. post_crop_frame_drop = "0";
  9. use_decibel_gain = "true";
  10. delay_gain = "true";
  11. use_sensor_mode_id = "true";
  12. mode0 { /*TC358748_MODE_1920x1080_30FPS */
  13. mclk_khz = "37125";
  14. num_lanes = "2";
  15. tegra_sinterface = "serial_a";
  16. phy_mode = "DPHY";
  17. discontinuous_clk = "no";
  18. dpcm_enable = "false";
  19. cil_settletime = "0";
  20. // dynamic_pixel_bit_depth = "16";
  21. csi_pixel_bit_depth = "16";
  22. mode_type = "yuv";
  23. pixel_phase = "yuyv";
  24. // pixel_t = "yuv_yuyv16";
  25. active_w = "1920";
  26. active_h = "1080";
  27. readout_orientation = "0";
  28. line_length = "2200";
  29. inherent_gain = "1";
  30. mclk_multiplier = "1";
  31. pix_clk_hz = "74250000";
  32. gain_factor = "10";
  33. min_gain_val = "0"; /* 0dB */
  34. max_gain_val = "480"; /* 48dB */
  35. step_gain_val = "3"; /* 0.3 */
  36. default_gain = "0";
  37. min_hdr_ratio = "1";
  38. max_hdr_ratio = "1";
  39. framerate_factor = "1000000";
  40. min_framerate = "3000000"; /* 1.5 */
  41. max_framerate = "30000000"; /* 30 */
  42. step_framerate = "1";
  43. default_framerate= "30000000";
  44. exposure_factor = "1000000";
  45. min_exp_time = "30"; /* us */
  46. max_exp_time = "660000"; /* us */
  47. step_exp_time = "1";
  48. default_exp_time = "33334";/* us */
  49. embedded_metadata_height = "0";
  50. };

dmesg : 仍然报错

  1. kworker/0:0-4 [000] .... 752.407504: rtcpu_nvcsi_intr: tstamp:23903625561 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000100
  2. kworker/0:0-4 [000] .... 752.407504: rtcpu_nvcsi_intr: tstamp:23903625561 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:1 st:0 vc:0 status:0x00000100
  3. kworker/0:0-4 [000] .... 752.407505: rtcpu_nvcsi_intr: tstamp:23903626189 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000100
  4. kworker/0:0-4 [000] .... 752.407505: rtcpu_nvcsi_intr: tstamp:23903627593 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000100
  5. kworker/0:0-4 [000] .... 752.407506: rtcpu_nvcsi_intr: tstamp:23903627593 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:1 st:0 vc:0 status:0x00000100
  6. kworker/0:0-4 [000] .... 752.407506: rtcpu_nvcsi_intr: tstamp:23903628228 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000100
  7. kworker/0:0-4 [000] .... 752.407506: rtcpu_nvcsi_intr: tstamp:23903629674 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000100
  8. [ 844.056229] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 32, err_data 160
  9. [ 844.106326] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 32, err_data 160
  10. [ 844.356363] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 32, err_data 160
  11. [ 844.522829] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 32, err_data 160
  12. [ 844.556171] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 32, err_data 160

9. 修改clock

尝试修改 nvcsi/vi clocks

  1. sudo su
  2. echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
  3. echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
  4. echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
  5. cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
  6. cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/isp/rate
  7. cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate

这里通过提升VI 、ISP、NVCSI的clock;

可修复上面问题;

图像可正常采集



所属网站分类: 技术文章 > 博客

作者:搜嘎皮卡

链接:http://www.phpheidong.com/blog/article/139262/18ed0e60eab3d0dc073d/

来源:php黑洞网

任何形式的转载都请注明出处,如有侵权 一经发现 必将追究其法律责任

16 0
收藏该文
已收藏

评论内容:(最多支持255个字符)