Re: i.MX6 CODA960 encoder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Philipp,

2014-11-28 16:23 GMT+01:00 Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>:
> Am Donnerstag, den 27.11.2014, 16:10 -0200 schrieb Fabio Estevam:
>> On Thu, Nov 27, 2014 at 3:54 PM, Jean-Michel Hautbois
>> <jean-michel.hautbois@xxxxxxxxxxx> wrote:
>>
>> > I don't have the same behaviour, but I may have missed a patch.
>> > I have taken linux-next and rebased my work on it. I have some issues,
>> > but nothing to be worried about, no link with coda.
>> > I get the following :
>> > $> v4l2-ctl -d0 --set-fmt-video-out=width=1280,height=720,pixelfor
>> > $> v4l2-ctl -d0 --stream-mmap --stream-out-mmap --stream-to x.raw
>> > [  173.705701] coda 2040000.vpu: CODA PIC_RUN timeout
>>
>> I have this same error with linux-next when I try to decode a file.
>>
>> Philipp,
>>
>> Do you know if linux-next contains all required coda patches?
>>
>> Could this be caused by the fact that we are using an unsupported VPU
>> firmware version?
>
> I missed that the commit a04a0b6fed4f ("ARM: dts: imx6qdl: Enable
> CODA960 VPU") lost the switching of the interrupts between
> http://www.spinics.net/lists/arm-kernel/msg338645.html
> and
> http://www.spinics.net/lists/arm-kernel/msg376571.html .
>
> Of course the JPEG interrupt will never fire when encoding H.264, which
> causes the timeout. Patch in another mail.

OK, I applied the patch you mentionned, and it works ! :)
Now, I will try to make it working with gstreamer...

JM
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux