From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from hl140.dinaserver.com ([82.98.160.94]:53595 "EHLO hl140.dinaserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752218AbbG2G0V (ORCPT ); Wed, 29 Jul 2015 02:26:21 -0400 Received: from [192.168.2.27] (5.Red-212-170-183.staticIP.rima-tde.net [212.170.183.5]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by hl140.dinaserver.com (Postfix) with ESMTPSA id 36C034BB1BCE for ; Wed, 29 Jul 2015 08:26:15 +0200 (CEST) Message-ID: <55B87201.1070801@by.com.es> Date: Wed, 29 Jul 2015 08:26:09 +0200 From: Javier Martin MIME-Version: 1.0 To: linux-media Subject: coda: Problems with encoding in i.MX6DL. Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Hello, I am running kernel 4.1 in a var-dvk-solo-linux evaluation board from Variscite. This is what I get at system start-up: coda 2040000.vpu: Firmware code revision: 34588 coda 2040000.vpu: Initialized CODA960. coda 2040000.vpu: Unsupported firmware version: 2.1.8 coda 2040000.vpu: codec registered as /dev/video[0-1] Apparently, the firmware is being loaded properly although it complains about that version not being supported. After queuing some YUV420 buffers with a simple application I perform a VIDIOC_STREAMON in both the CAPTURE and the OUTPUT interfaces but I get the following error: coda 2040000.vpu: coda is not initialized. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 91 at drivers/media/v4l2-core/videobuf2-core.c:1792 vb2_start_streaming+0xe0/0x15c() Modules linked in: CPU: 0 PID: 91 Comm: wmip_bsp_tests Tainted: G W 4.1.0-00004-g192a113-dirty #96 Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r6:c0815888 r5:00000000 r4:c08d3764 r3:00000000 [] (show_stack) from [] (dump_stack+0x8c/0x9c) [] (dump_stack) from [] (warn_slowpath_common+0x88/0xb8) r5:00000700 r4:00000000 [] (warn_slowpath_common) from [] (warn_slowpath_null+0x24/0x2c) r8:edc35000 r7:00000000 r6:ee1ee408 r5:ee1ee4d8 r4:fffffff2 [] (warn_slowpath_null) from [] (vb2_start_streaming+0xe0/0x15c) [] (vb2_start_streaming) from [] (vb2_internal_streamon+0x118/0x164) r7:00000000 r6:edc1614c r5:ee1ee400 r4:ee1ee408 [] (vb2_internal_streamon) from [] (vb2_streamon+0x38/0x58) r5:ee1ee400 r4:00000001 [] (vb2_streamon) from [] (v4l2_m2m_streamon+0x38/0x54) [] (v4l2_m2m_streamon) from [] (v4l2_m2m_ioctl_streamon+0x18/0x1c) r5:ee82f068 r4:40045612 [] (v4l2_m2m_ioctl_streamon) from [] (v4l_streamon+0x20/0x24) [] (v4l_streamon) from [] (__video_do_ioctl+0x264/0x2cc) [] (__video_do_ioctl) from [] (video_usercopy+0x190/0x48c) r10:ee1ebe20 r9:00000001 r8:be916b74 r7:00000000 r6:00000000 r5:c04775ac r4:40045612 [] (video_usercopy) from [] (video_ioctl2+0x18/0x1c) r10:eea7dd88 r9:be916b74 r8:ee82fcf0 r7:40045612 r6:be916b74 r5:edc35000 r4:ee82f068 [] (video_ioctl2) from [] (v4l2_ioctl+0xac/0xc8) [] (v4l2_ioctl) from [] (do_vfs_ioctl+0x430/0x624) r8:00000003 r7:be916b74 r6:00000003 r5:edc35000 r4:edc35000 r3:c04739a0 [] (do_vfs_ioctl) from [] (SyS_ioctl+0x3c/0x64) r10:00000000 r9:ee1ea000 r8:00000003 r7:be916b74 r6:40045612 r5:edc35000 r4:edc35000 [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x3c) r8:c000f8c4 r7:00000036 r6:00008aa8 r5:00000000 r4:00000000 r3:be916b74 ---[ end trace 2b0ba71bfb12fec4 ]--- As anyone seen the same issue? Could be related to the "Unsupported firmware version" complaint? Do you know where to get the 2.1.5 firmware for the i.MX6D? Regards, Javier.