[Buildroot] [PATCH v2 1/8] package/freescale-imx/firmware-imx: bump version to 8.10

Romain Naour romain.naour at gmail.com
Sat Jan 16 22:45:27 UTC 2021


Hi Stephane,

Le 16/01/2021 à 22:31, Stephane Viau (OSS) a écrit :
> 
>> Hi Stephane,
> 
> Hi Romain, 
> 
>> Le 05/01/2021 à 16:24, Stephane Viau a écrit :
>>> - Same version as NXP release 5.4.70-2.3.0
>>> - EULA/COPYING: update to LA_OPT_NXP_Software_License v17
>>>
>>> Signed-off-by: Stephane Viau <stephane.viau at oss.nxp.com>
>>> Reviewed-by: Gary Bisson <gary.bisson at boundarydevices.com>
>>
>> Still not related to this version bump but the sdma firmwares for imx[6,7,8] are
>> provided by two packages: firmware-imx and linux-firmware
>>
>> $ sha256sum ./firmware-imx-8.10/firmware/sdma/sdma-imx6q.bin
>> 7790c161b7e013a9dbcbffb17cc5d4cb63d952949a505647e4679f02d04c4784
>> ./firmware-imx-8.10/firmware/sdma/sdma-imx6q.bin
>>
>> $ sha256sum  ./linux-firmware-20201022/imx/sdma/sdma-imx6q.bin
>> 7790c161b7e013a9dbcbffb17cc5d4cb63d952949a505647e4679f02d04c4784
>> ./linux-firmware-20201022/imx/sdma/sdma-imx6q.bin
>>
>> We have two options: BR2_PACKAGE_FIRMWARE_IMX_SDMA_FW_NAME and
>> BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA
> 
> I don't know the whole history behind the presence of both options but
> what I know is that some effort has been put in over the last 6 months or so to
> clean up the package/freescale-imx/firmware-imx, including the logic behind "when
> to fetch the sdma firmware?" (BR2_PACKAGE_FIRMWARE_IMX_NEEDS_SDMA_FW).

BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA has been added back in 2017:

https://git.buildroot.net/buildroot/commit/?id=b87eec6555dd716d051285d7314d55143578dd63

But indeed, the firmware-imx package install sdma firmware since the package has
been added back in 2012:

https://git.buildroot.net/buildroot/commit/?id=22001201ded95850f0f9388f26333c077230b6c6

> 
>>
>> The only difference is that firmware-imx provide firmware for old imx cpus.
>>
>> $ ls linux-firmware-20201022/imx/sdma/sdma-imx
>> sdma-imx6q.bin  sdma-imx7d.bin
>>
>> $ ls firmware-imx-8.10/firmware/sdma/sdma-imx
>> sdma-imx25-to1.bin  sdma-imx31-to1.bin  sdma-imx31-to2.bin  sdma-imx35-to1.bin
>> sdma-imx35-to2.bin  sdma-imx51-to3.bin  sdma-imx53-to1.bin  sdma-imx6q.bin
>> sdma-imx7d.bin
>>
>> Maybe we can keep one of firmware provider.
> 
> If a choice must be made, I'd pick the former option rather than the latter...
> but that's just my opinion.

Fabio, do you have an opinion ?

It seems BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA install the same firmware than the
one provided by firmware-imx package. Also BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA
in not used by any in-tree defconfigs.

If you're ok, we should remove it.

Best regards,
Romain


> 
> BR,
> Stephane.
> 
>>
>> Best regards,
>> Romain




More information about the buildroot mailing list