Advertisement
senchuss

yavta test 1280x720 raw10

Mar 21st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.31 KB | None | 0 0
  1. target $ cd /home/ubuntu
  2. target $ wget http://git.ideasonboard.org/yavta.git/snapshot/dd0a2c963b09e52094b1694b52c928aaa336e9c7.tar.gz
  3. target $ tar -xzf dd0a2c963b09e52094b1694b52c928aaa336e9c7.tar.gz
  4. target $ rm -f dd0a2c963b09e52094b1694b52c928aaa336e9c7.tar.gz
  5. target $ cd yavta-dd0a2c9
  6. target $ make
  7. target $ ./yavta -l /dev/video0
  8. Device /dev/video0 opened.
  9. Device `vi-output-2, imx224 6-0036' on `platform:vi:2' (driver 'tegra-video') is a video capture (without mplanes) device.
  10. --- Camera Controls (class 0x009a0001) ---
  11. control 0x009a2000 `Frame Length' min 750 max 1100 step 1 default 750 current 750.
  12. control 0x009a2003 `Group Hold' min 0 max 1 step 1 default 0 current 0.
  13. 0: 0 (*)
  14. 1: 1
  15. control 0x009a2004 `HDR enable' min 0 max 1 step 1 default 0 current 0.
  16. 0: 0 (*)
  17. 1: 1
  18. control 0x009a2009 `Bypass Mode' min 0 max 1 step 1 default 0 current 0.
  19. 0: 0 (*)
  20. 1: 1
  21. control 0x009a200a `Gain' min 0 max 100 step 1 default 50 current 50.
  22. 6 controls found.
  23. Video format: SRGGB10 (30314752) 1280x720 (stride 2560) field none buffer size 1843200
  24.  
  25. target $ ./yavta -c10 -n10 -s1280x720 -fSRGGB10 -F/home/ubuntu/ytest_720_b10.raw /dev/video0
  26. Device /dev/video0 opened.
  27. Device `vi-output-2, imx224 6-0036' on `platform:vi:2' (driver 'tegra-video') is a video capture (without mplanes) device.
  28. Video format set: SRGGB10 (30314752) 1280x720 (stride 2560) field none buffer size 1843200
  29. Video format: SRGGB10 (30314752) 1280x720 (stride 2560) field none buffer size 1843200
  30. 10 buffers requested.
  31. length: 1843200 offset: 0 timestamp type/source: mono/EoF
  32. Buffer 0/0 mapped at address 0x7f880e8000.
  33. length: 1843200 offset: 1843200 timestamp type/source: mono/EoF
  34. Buffer 1/0 mapped at address 0x7f87f26000.
  35. length: 1843200 offset: 3686400 timestamp type/source: mono/EoF
  36. Buffer 2/0 mapped at address 0x7f87d64000.
  37. length: 1843200 offset: 5529600 timestamp type/source: mono/EoF
  38. Buffer 3/0 mapped at address 0x7f87ba2000.
  39. length: 1843200 offset: 7372800 timestamp type/source: mono/EoF
  40. Buffer 4/0 mapped at address 0x7f879e0000.
  41. length: 1843200 offset: 9216000 timestamp type/source: mono/EoF
  42. Buffer 5/0 mapped at address 0x7f8781e000.
  43. length: 1843200 offset: 11059200 timestamp type/source: mono/EoF
  44. Buffer 6/0 mapped at address 0x7f8765c000.
  45. length: 1843200 offset: 12902400 timestamp type/source: mono/EoF
  46. Buffer 7/0 mapped at address 0x7f8749a000.
  47. length: 1843200 offset: 14745600 timestamp type/source: mono/EoF
  48. Buffer 8/0 mapped at address 0x7f872d8000.
  49. length: 1843200 offset: 16588800 timestamp type/source: mono/EoF
  50. Buffer 9/0 mapped at address 0x7f87116000.
  51. 0 (0) [E] none 0 1843200 B 584.228708 584.296817 20.201 fps ts mono/EoF
  52. 1 (1) [E] none 1 1843200 B 584.262605 584.328841 29.501 fps ts mono/EoF
  53. 2 (2) [-] none 2 1843200 B 584.295964 584.362269 29.977 fps ts mono/EoF
  54. 3 (3) [-] none 3 1843200 B 584.328745 584.395687 30.505 fps ts mono/EoF
  55. 4 (4) [-] none 4 1843200 B 584.362127 584.429047 29.956 fps ts mono/EoF
  56. 5 (5) [-] none 5 1843200 B 584.395500 584.462276 29.964 fps ts mono/EoF
  57. 6 (6) [-] none 6 1843200 B 584.428887 584.495686 29.952 fps ts mono/EoF
  58. 7 (7) [-] none 7 1843200 B 584.462134 584.528884 30.078 fps ts mono/EoF
  59. ^C
  60. === HERE IS YAVTA HAS NO ANSWER. Need to press Ctr-C
  61.  
  62. target $ dmesg
  63. [ 584.151758] [IMX224]:[imx224_power_on]
  64. [ 584.151769] [IMX224]:[imx224_do_reset]
  65. [ 584.151776] [IMX224]:[imx224_gpio_set]. GPIO=0x94(148). VALUE=0
  66. [ 584.152503] [IMX224]:[imx224_gpio_set]. GPIO=0x94(148). VALUE=1
  67. [ 584.153521] [IMX224]:[imx224_set_fmt]. Call 'imx224_print_fmt_debug'
  68. [ 584.153531] [IMX224]:[imx224_print_fmt_debug]. format->which=0 (0=TRY,1=ACTIVE)
  69. [ 584.153535] [IMX224]:[imx224_print_fmt_debug]. format->pad=0
  70. [ 584.153540] [IMX224]:[imx224_print_fmt_debug]. format->format.width=1280
  71. [ 584.153544] [IMX224]:[imx224_print_fmt_debug]. format->format.height=720
  72. [ 584.153549] [IMX224]:[imx224_print_fmt_debug]. format->format.code=0x300f(12303) 'V4L2_MBUS_FMT_SRGGB10_1X10 (Raw Bayer R-G-G-B 10bit)'
  73. [ 584.153555] [IMX224]:[imx224_print_fmt_debug]. format->format.field=0x0(0) 'V4L2_FIELD_ANY'
  74. [ 584.153559] [IMX224]:[imx224_print_fmt_debug]. format->format.colorspace=0x0(0) 'V4L2_COLORSPACE_DEFAULT'
  75. [ 584.153564] [IMX224]:[imx224_print_fmt_debug]. format->format.ycbcr_enc=0x0(0) 'V4L2_YCBCR_ENC_DEFAULT'
  76. [ 584.153569] [IMX224]:[imx224_print_fmt_debug]. format->format.quantization=0x0(0) 'V4L2_QUANTIZATION_DEFAULT'
  77. [ 584.153573] [IMX224]:[imx224_print_fmt_debug]. format->format.xfer_func=0x0(0) 'V4L2_XFER_FUNC_DEFAULT'
  78. [ 584.153577] [IMX224]:[imx224_print_fmt_debug]. format->format.maxframerate=0x0(0)
  79. [ 584.153581] [IMX224]:[imx224_set_fmt]:format->which=V4L2_SUBDEV_FORMAT_TRY. Call 'camera_common_try_fmt'
  80. [ 584.153589] [IMX224]:[imx224_set_fmt]: After 'camera_common_try_fmt': ret=0
  81. [ 584.153593] [IMX224]:[imx224_set_fmt]. Call 'imx224_print_fmt_debug'
  82. [ 584.153597] [IMX224]:[imx224_print_fmt_debug]. format->which=1 (0=TRY,1=ACTIVE)
  83. [ 584.153600] [IMX224]:[imx224_print_fmt_debug]. format->pad=0
  84. [ 584.153604] [IMX224]:[imx224_print_fmt_debug]. format->format.width=1280
  85. [ 584.153608] [IMX224]:[imx224_print_fmt_debug]. format->format.height=720
  86. [ 584.153613] [IMX224]:[imx224_print_fmt_debug]. format->format.code=0x300f(12303) 'V4L2_MBUS_FMT_SRGGB10_1X10 (Raw Bayer R-G-G-B 10bit)'
  87. [ 584.153617] [IMX224]:[imx224_print_fmt_debug]. format->format.field=0x1(1) 'V4L2_FIELD_NONE'
  88. [ 584.153622] [IMX224]:[imx224_print_fmt_debug]. format->format.colorspace=0x8(8) 'V4L2_COLORSPACE_SRGB'
  89. [ 584.153626] [IMX224]:[imx224_print_fmt_debug]. format->format.ycbcr_enc=0x0(0) 'V4L2_YCBCR_ENC_DEFAULT'
  90. [ 584.153631] [IMX224]:[imx224_print_fmt_debug]. format->format.quantization=0x0(0) 'V4L2_QUANTIZATION_DEFAULT'
  91. [ 584.153635] [IMX224]:[imx224_print_fmt_debug]. format->format.xfer_func=0x0(0) 'V4L2_XFER_FUNC_DEFAULT'
  92. [ 584.153639] [IMX224]:[imx224_print_fmt_debug]. format->format.maxframerate=0x0(0)
  93. [ 584.153643] [IMX224]:[imx224_set_fmt]:format->which=V4L2_SUBDEV_FORMAT_ACTIVE. Call 'camera_common_s_fmt'
  94. [ 584.153648] [IMX224]:[imx224_set_fmt]: After 'camera_common_s_fmt': ret=0
  95. [ 584.153714] [IMX224]:[imx224_get_fmt]. Ask format. Call 'imx224_print_fmt_debug'
  96. [ 584.153721] [IMX224]:[imx224_print_fmt_debug]. format->which=0 (0=TRY,1=ACTIVE)
  97. [ 584.153725] [IMX224]:[imx224_print_fmt_debug]. format->pad=0
  98. [ 584.153728] [IMX224]:[imx224_print_fmt_debug]. format->format.width=0
  99. [ 584.153732] [IMX224]:[imx224_print_fmt_debug]. format->format.height=0
  100. [ 584.153737] [IMX224]:[imx224_print_fmt_debug]. format->format.code=0x0(0) '[ZERO(unlisted)]]'
  101. [ 584.153741] [IMX224]:[imx224_print_fmt_debug]. format->format.field=0x0(0) 'V4L2_FIELD_ANY'
  102. [ 584.153746] [IMX224]:[imx224_print_fmt_debug]. format->format.colorspace=0x0(0) 'V4L2_COLORSPACE_DEFAULT'
  103. [ 584.153750] [IMX224]:[imx224_print_fmt_debug]. format->format.ycbcr_enc=0x0(0) 'V4L2_YCBCR_ENC_DEFAULT'
  104. [ 584.153755] [IMX224]:[imx224_print_fmt_debug]. format->format.quantization=0x0(0) 'V4L2_QUANTIZATION_DEFAULT'
  105. [ 584.153759] [IMX224]:[imx224_print_fmt_debug]. format->format.xfer_func=0x0(0) 'V4L2_XFER_FUNC_DEFAULT'
  106. [ 584.153763] [IMX224]:[imx224_print_fmt_debug]. format->format.maxframerate=0x0(0)
  107. [ 584.153767] [IMX224]:[imx224_get_fmt]. After call 'camera_common_g_fmt': res=0)
  108. [ 584.180115] [IMX224]:[imx224_s_stream]. enable=1
  109. [ 584.180125] [IMX224]:[imx224_s_stream]. Call 'imx224_write_table' with mode=0
  110. [ 584.190933] [IMX224]:[imx224_s_stream]. Setup gain
  111. [ 584.190947] [IMX224]:[imx224_set_gain]. val=0x32(50)
  112. [ 584.190953] [IMX224]:[imx224_set_gain]:priv->group_hold_prev=FALSE. Call imx224_set_group_hold
  113. [ 584.190957] [IMX224]:[imx224_set_group_hold]:: BEGIN
  114. [ 584.190961] [IMX224]:[imx224_set_group_hold]:: END
  115. [ 584.190966] [IMX224]:[imx224_set_gain]: gain=0x0032(50). Call imx224_get_gain_regs
  116. [ 584.190971] [IMX224]:[imx224_get_gain_regs]: gain=0x0032(50)
  117. [ 584.190974] [IMX224]:[imx224_set_gain]: Call imx224_write_reg
  118. [ 584.191331] [IMX224]:[imx224_s_stream]. Call 'imx224_write_table' with 'IMX224_MODE_START_STREAM'
  119. [ 584.201052] tegra_mipi_cal 700e3000.mipical: Mipi cal timeout,val:78c1, lanes:400000
  120. [ 594.838937] [IMX224]:[imx224_s_stream]. enable=0
  121. [ 594.839050] [IMX224]:[imx224_s_stream]. enable=0. Call 'imx224_write_table' with 'IMX224_MODE_STOP_STREAM'
  122. [ 594.846090] [IMX224]:[imx224_s_stream]. enable=0. After 'imx224_write_table' result=0
  123. [ 594.863208] [IMX224]:[imx224_power_off]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement