i.MX LPDDR4 Firmware

Peng Fan (OSS) peng.fan at oss.nxp.com
Thu Oct 21 03:15:28 CEST 2021



On 2021/10/20 14:27, Marcel Ziswiler wrote:
> On Tue, 2021-10-19 at 15:04 +0200, Heiko Thiery wrote:
>>   Hi Marcel,
>>
>> Am Di., 19. Okt. 2021 um 11:47 Uhr schrieb Marcel Ziswiler
>> <marcel.ziswiler at toradex.com>:
>>>
>>> Hi Heiko
>>>
>>> On Mon, 2021-10-18 at 11:23 +0200, Heiko Thiery wrote:
>>>> Hi all,
>>>>
>>>> I see that in the NXP firmware-imx package different versions of the
>>>> LPDDR4 train firmware is included but I cannot find a Release Note or
>>>> something else that describes the differences. Does anyone know what
>>>> is the correct version to be used?
>>>
>>> Doesn't it depend on which generation of MScale one is using?
>>>
>>> Anyway, from NXP's user guide [1]:
>>>
>>> For i.MX 8M Quad and i.MX 8M Mini LPDDR4 EVK, copy lpddr4_pmu_train_1d_dmem.bin,
>>> lpddr4_pmu_train_1d_imem.bin, lpddr4_pmu_train_2d_dmem.bin, and lpddr4_pmu_train_2d_imem.bin from
>>> firmware/ddr/synopsys of firmware-imx package to imx-mkimage/iMX8M/.
>>>
>>> For i.MX 8M Mini DDR4 EVK, copy ddr4_imem_1d.bin, ddr4_dmem_1d.bin, ddr4_imem_2d.bin, and ddr4_dmem_2d.bin
>>> from firmware/ddr/synopsys of firmware-imx package to imx-mkimage/iMX8M.
>>>
>>> For i.MX 8M Plus LPDDR4 EVK, copy lpddr4_pmu_train_1d_dmem_201904.bin, lpddr4_pmu_train_1d_imem_201904.bin,
>>> lpddr4_pmu_train_2d_dmem_201904.bin, and lpddr4_pmu_train_2d_imem_201904.bin from firmware/ddr/synopsys of
>>> firmware-imx package to imx-mkimage/iMX8M/.
>>
>> Ok, I didn't even notice that and I just wanted to make sure I was
>> using the right ones here. Maybe someone can tell us the use case for
>> the "*_202006.bin" files.
> 
> Okay, I guess NXP uses it for their proprietary imx-mkimage stuff for the i.MX 8M Plus:
> 
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fimx-mkimage%2Ftree%2FiMX8M%2Fsoc.mak%3Fh%3Dimx_5.4.70_2.3.0%23n64&data=04%7C01%7Cpeng.fan%40nxp.com%7C07c32329f8e843e4dcac08d99392afca%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637703080493432075%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kZS%2BNpmEoZS5koyfz8Kz1yvLh9D1oMwRegm%2BIwN0%2Bew%3D&reserved=0
> 
> But, as mentioned above, I could not find any official documentation not to mention release notes about any of
> this anywhere.
> 
> @NXP: Anybody mind telling us more about this?

Please use the one mentioned in imx-mkimage matching the release tag.
The documentation was missed to be updated, thanks for pointing this out.

Thanks,
Peng.

> 
>>> So their latest documentation does not even mention the later firmware available!
>>>
>>>> Here is the content of the latest NXP release:
>>>> lpddr4_pmu_train_1d_dmem_201904.bin
>>>> lpddr4_pmu_train_1d_dmem_202006.bin
>>>> lpddr4_pmu_train_1d_dmem.bin
>>>> lpddr4_pmu_train_1d_imem_201904.bin
>>>> lpddr4_pmu_train_1d_imem_202006.bin
>>>> lpddr4_pmu_train_1d_imem.bin
>>>> lpddr4_pmu_train_2d_dmem_201904.bin
>>>> lpddr4_pmu_train_2d_dmem_202006.bin
>>>> lpddr4_pmu_train_2d_dmem.bin
>>>> lpddr4_pmu_train_2d_imem_201904.bin
>>>> lpddr4_pmu_train_2d_imem_202006.bin
>>>> lpddr4_pmu_train_2d_imem.bin
>>>
>>> [1] https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fuser-guide%2FIMX_LINUX_USERS_GUIDE.pdf&data=04%7C01%7Cpeng.fan%40nxp.com%7C07c32329f8e843e4dcac08d99392afca%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637703080493432075%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=uXMz3wv7nd8hGdSCG7kd341vRN473B%2B9%2Fm5TD3G3OhI%3D&reserved=0
>>>
>>>> Thanks
>>>
>>> Cheers
>>
>> Thanks,
>>
>> Heiko


More information about the U-Boot mailing list