Other Parts Discussed in Thread: AM5718, AM5728
Tool/software: Linux
Hi,
I am using TMDSEVM572x camera module with AM572x Evaluation Module. I am not using LCD module and directly placing camera module to P16 header EVM.
I did the pinmux configuration accordingly.
I am able to load the i2c driver. Please find the log.
The result of following commands are-
lsmod mt9t11x
mt9t11x 14769 1
v4l2-ctl --list-devices
wbcap (platform:omapwb-cap):
/dev/video11
omapwb-m2m (platform:omapwb-m2m):
/dev/video10
vip (platform:vip):
/dev/video1
vpe (platform:vpe):
/dev/video0
dmesg |grep mt9t11x
[ 8.891174] mt9t11x 4-003c: input-clock-freq: 32000000
[ 8.896338] mt9t11x 4-003c: pixel-clock-freq: 96000000
[ 8.902394] mt9t11x 4-003c: GPIO lookup for consumer reset
[ 8.902402] mt9t11x 4-003c: using device tree for GPIO lookup
[ 8.902465] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
[ 8.902484] mt9t11x 4-003c: GPIO lookup for consumer powerdown
[ 8.902492] mt9t11x 4-003c: using device tree for GPIO lookup
[ 8.902515] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
[ 8.902531] mt9t11x 4-003c: GPIO lookup for consumer oscen
[ 8.902539] mt9t11x 4-003c: using device tree for GPIO lookup
[ 8.902562] of_get_named_gpiod_flags: parsed 'oscen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
[ 8.902577] mt9t11x 4-003c: GPIO lookup for consumer bufen
[ 8.902583] mt9t11x 4-003c: using device tree for GPIO lookup
[ 8.902600] of_get_named_gpiod_flags: parsed 'bufen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
[ 8.902613] mt9t11x 4-003c: GPIO lookup for consumer camen
[ 8.902618] mt9t11x 4-003c: using device tree for GPIO lookup
[ 8.902635] of_get_named_gpiod_flags: parsed 'camen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
[ 8.957907] mt9t11x 4-003c: mt9t111 chip ID 2680
[ 8.964024] mt9t11x 4-003c: mt9t11x sensor driver registered !!
[ 11.537880] vip2-s0: Port A: Using subdev mt9t11x for capture
gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw,format=(string)YUY2, width=(int)640, height=(int)480' ! vpe num-input-buffers=8 ! queue ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not read from resource.
Additional debug info:
../../../gst-plugins-good-1.6.3/sys/v4l2/gstv4l2bufferpool.c(1055): gst_v4l2_buffer_pool_poll (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
poll error 1: Remote I/O error (121)
Execution ended after 0:00:05.083971472
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
(gst-launch-1.0:1084): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object->refcount > 0' failed
Setting pipeline to NULL ...
Freeing pipeline ...
After that i got error as "Controller timed out"
dmesg
2:1.0/0003:0461:4D81.0003/input/input2
[ 15.219167] hid-generic 0003:0461:4D81.0003: input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-xhci-hcd.1.auto-1.2/input0
[ 16.076309] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 16.084226] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.708104] rtc-ds1307 2-006f: write secs=56, mins=25, hours=11, mday=11, mon=4, year=117, wday=4
[ 20.708120] rtc-ds1307 2-006f: write: d6 25 11 0d 11 05 17
[ 20.708799] rtc-ds1307 2-006f: read: d6 25 11 2d 11 05 17
[ 20.708815] rtc-ds1307 2-006f: read secs=56, mins=25, hours=11, mday=11, mon=4, year=117, wday=4
[ 24.044977] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 24.057772] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 24.084723] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
[ 24.098515] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[ 303.844385] EXT4-fs (mmcblk0p2): error count since last fsck: 1
[ 303.850337] EXT4-fs (mmcblk0p2): initial error at time 1493976321: __ext4_get_inode_loc:4094: inode 43501: block 164490
[ 303.861222] EXT4-fs (mmcblk0p2): last error at time 1493976321: __ext4_get_inode_loc:4094: inode 43501: block 164490
[ 304.406568] omap_i2c 4807c000.i2c: Arbitration lost
[ 305.824434] omap_i2c 4807c000.i2c: controller timed out
[ 306.874437] omap_i2c 4807c000.i2c: controller timed out
[ 307.924466] omap_i2c 4807c000.i2c: controller timed out
[ 308.974465] omap_i2c 4807c000.i2c: controller timed out
Please guide me what i need to do more.log_camera.zip
Thanks.