imx6 / mainline linux / basic problems

Ian Molton imolton at ad-holdings.co.uk
Fri Feb 13 06:20:43 PST 2015


On 06/02/15 13:26, Jean-Michel Hautbois wrote:
> Hi Ian,

>> You mentioned that you have been testing this without gstreamer - what tool
>> are you using to do so?
>
> v4l2-ctl is the one.

I have found an old email of yours and managed to (I think) set up the device.

dmesg shows:

[79930.545110] mx6-m2m ipum2m at ipu1: m2mx6_open: Setup handler: a905a05c
[79930.545266] mx6-m2m ipum2m at ipu1: m2mx6_calc_seg_offsets_planar: Capture@[0,0]: y_off 00000000, u_off 000e1000, v_off 00000000
[79930.545286] mx6-m2m ipum2m at ipu1: m2mx6_calc_seg_offsets_planar: Capture@[0,1]: y_off 00000280, u_off 000e1000, v_off 00000000
[79930.545304] mx6-m2m ipum2m at ipu1: Default capture format: 1280x720 (2 640x720 segments), NV12
[79930.553805] mx6-m2m ipum2m at ipu1: m2mx6_calc_seg_offsets_packed: Output@[0,0]: phys 00000000
[79930.553831] mx6-m2m ipum2m at ipu1: m2mx6_calc_seg_offsets_packed: Output@[0,1]: phys 00000500
[79930.553847] mx6-m2m ipum2m at ipu1: Default output format: 1280x720 (2 640x720 segments), YUYV
[79930.562273] mx6-m2m ipum2m at ipu1: m2mx6_open: Created instance: a905a000, m2m_ctx: a905a800
[79930.563548] mx6-m2m ipum2m at ipu1: m2mx6_calc_seg_offsets_packed: Capture@[0,0]: phys 00000000
[79930.563569] mx6-m2m ipum2m at ipu1: Capture format: 320x240 (1 320x240 segments), YUYV
[79930.571305] mx6-m2m ipum2m at ipu1: m2mx6_calc_seg_offsets_planar: Output@[0,0]: y_off 00000000, u_off 001fa400, v_off 00000000
[79930.571332] mx6-m2m ipum2m at ipu1: Output format: 1920x1080 (1 1920x1080 segments), NV12
[79930.579341] mx6-m2m ipum2m at ipu1: m2mx6_release: Releasing instance a905a000

This seems encouraging, but I cant see how to throw data at it in order to see it actually do the conversion / see if it actually produces results.

If I can get this to do /something/, then Im fairly confident I can get gstreamer working with it, but I'm still lost in the vastness of video4linux2...

-Ian


More information about the gstreamer-devel mailing list