Re: [PATCH v3 06/32] [media] coda: Add encoder/decoder support for CODA960

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

 



Hi Shawn,

On Tue, Jul 29, 2014 at 5:30 PM, Shawn Guo <shawn.guo@xxxxxxxxxx> wrote:
> Hi Philipp,
>
> On Tue, Jul 22, 2014 at 02:50:33PM +0200, Philipp Zabel wrote:
>> The firmware-imx packages referenced in the Freescale meta-fsl-arm
>> repository on github.com contain VPU firmware files. Their use is
>> restricted by an EULA. For example:
>> http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-3.0.35-4.0.0.bin
>>
>> This contains the files vpu_fw_imx6q.bin and vpu_fw_imx6d.bin, which can
>> be converted into v4l-coda960-imx6q.bin and v4l-coda960-imx6dl.bin,
>> respectively, by dropping the headers and reordering the rest.
>> I described this for i.MX53 earlier here:
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/181101.html
>
> 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

    md5sum of /lib/firmware/v4l-coda960-imx6q.bin:
    af4971a37c7a3a50c99f7dfd36104c63

Note that I so far tested the kernel driver with the older firmware
version 2.1.5:

    coda 2040000.vpu: Firmware code revision: 32515
    coda 2040000.vpu: Initialized CODA960.
    coda 2040000.vpu: Firmware version: 2.1.5

    md5sum of /lib/firmware/v4l-coda960-imx6q.bin:
    f58119103d94adcd5c2d5070d65ebd26

I was under the impression that I had obtained this version from the
very same URI previously, but I am not 100% sure about that.
Also there is yet another version available from
http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-3.10.17-1.0.0.bin,
which currently contains firmware version 3.1.1:

    coda 2040000.vpu: Firmware code revision: 46056
    coda 2040000.vpu: Initialized CODA960.
    coda 2040000.vpu: Unsupported firmware version: 3.1.1

    md5sum of /lib/firmware/v4l-coda960-imx6q.bin:
    2a087c2e4043c3c3a4104765a33b12aa

regards
Philipp
--
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