From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:40849 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753307AbaG3Mc7 (ORCPT ); Wed, 30 Jul 2014 08:32:59 -0400 Message-ID: <1406723567.9111.4.camel@paszta.hi.pengutronix.de> Subject: Re: [PATCH v3 06/32] [media] coda: Add encoder/decoder support for CODA960 From: Philipp Zabel To: Shawn Guo Cc: Philipp Zabel , Robert Schwebel , Mauro Carvalho Chehab , Linux Media Mailing List , Kamil Debski , Fabio Estevam , Hans Verkuil , Nicolas Dufresne , Sascha Hauer Date: Wed, 30 Jul 2014 14:32:47 +0200 In-Reply-To: <20140730121628.GA22243@dragon> References: <1405071403-1859-1-git-send-email-p.zabel@pengutronix.de> <1405071403-1859-7-git-send-email-p.zabel@pengutronix.de> <20140721160128.27eb7428.m.chehab@samsung.com> <20140721191944.GK13730@pengutronix.de> <1406033433.4496.16.camel@paszta.hi.pengutronix.de> <20140729153050.GE6827@dragon> <20140730121628.GA22243@dragon> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Am Mittwoch, den 30.07.2014, 20:16 +0800 schrieb Shawn Guo: > On Tue, Jul 29, 2014 at 07:06:25PM +0200, Philipp Zabel wrote: > > > I followed the step to generate the firmware v4l-coda960-imx6q, and > > > tested it on next-20140725 with patch 'ARM: dts: imx6qdl: Enable CODA960 > > > VPU' applied on top of it. But I got the error of 'Wrong firmwarel' as > > > below. > > > > > > [ 2.582837] coda 2040000.vpu: requesting firmware 'v4l-coda960-imx6q.bin' for CODA960 > > > [ 2.593344] coda 2040000.vpu: Firmware code revision: 0 > > > [ 2.598649] coda 2040000.vpu: Wrong firmware. Hw: CODA960, Fw: (0x0000), Version: 0.0.0 > > > > I just tried with the same kernel, and the above download, converted > > with the program in the referenced mail, and I get this: > > > > coda 2040000.vpu: Firmware code revision: 36350 > > coda 2040000.vpu: Initialized CODA960. > > coda 2040000.vpu: Unsupported firmware version: 2.1.9 > > coda 2040000.vpu: codec registered as /dev/video0 > > Okay, the reason I'm running into the issue is that I'm using the FSL > U-Boot which turns off VDDPU at initialization. In that case you need to also apply the "Generic Device Tree based power domain look-up" and "i.MX6 PU power domain support series". I'll have to check the current state of that. regards Philipp