u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* i.MX LPDDR4 Firmware
@ 2021-10-18  9:23 Heiko Thiery
  2021-10-19  9:47 ` Marcel Ziswiler
  0 siblings, 1 reply; 5+ messages in thread
From: Heiko Thiery @ 2021-10-18  9:23 UTC (permalink / raw)
  To: u-boot, Stefano Babic, Fabio Estevam, NXP i.MX U-Boot Team,
	Peng Fan, Ye Li

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?

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

Thanks
-- 
Heiko

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i.MX LPDDR4 Firmware
  2021-10-18  9:23 i.MX LPDDR4 Firmware Heiko Thiery
@ 2021-10-19  9:47 ` Marcel Ziswiler
  2021-10-19 13:04   ` Heiko Thiery
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Ziswiler @ 2021-10-19  9:47 UTC (permalink / raw)
  To: festevam, u-boot, uboot-imx, sbabic, ye.li, heiko.thiery, peng.fan

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/.

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://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

> Thanks

Cheers

Marcel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i.MX LPDDR4 Firmware
  2021-10-19  9:47 ` Marcel Ziswiler
@ 2021-10-19 13:04   ` Heiko Thiery
  2021-10-20  6:27     ` Marcel Ziswiler
  0 siblings, 1 reply; 5+ messages in thread
From: Heiko Thiery @ 2021-10-19 13:04 UTC (permalink / raw)
  To: Marcel Ziswiler; +Cc: festevam, u-boot, uboot-imx, sbabic, ye.li, peng.fan

 Hi Marcel,

Am Di., 19. Okt. 2021 um 11:47 Uhr schrieb Marcel Ziswiler
<marcel.ziswiler@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.

> 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://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
>
> > Thanks
>
> Cheers

Thanks,

Heiko

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i.MX LPDDR4 Firmware
  2021-10-19 13:04   ` Heiko Thiery
@ 2021-10-20  6:27     ` Marcel Ziswiler
  2021-10-21  1:15       ` Peng Fan (OSS)
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Ziswiler @ 2021-10-20  6:27 UTC (permalink / raw)
  To: heiko.thiery; +Cc: festevam, u-boot, uboot-imx, sbabic, ye.li, peng.fan

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@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://source.codeaurora.org/external/imx/imx-mkimage/tree/iMX8M/soc.mak?h=imx_5.4.70_2.3.0#n64

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?

> > 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://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
> > 
> > > Thanks
> > 
> > Cheers
> 
> Thanks,
> 
> Heiko

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i.MX LPDDR4 Firmware
  2021-10-20  6:27     ` Marcel Ziswiler
@ 2021-10-21  1:15       ` Peng Fan (OSS)
  0 siblings, 0 replies; 5+ messages in thread
From: Peng Fan (OSS) @ 2021-10-21  1:15 UTC (permalink / raw)
  To: Marcel Ziswiler, heiko.thiery
  Cc: festevam, u-boot, dl-uboot-imx, sbabic, Ye Li, Peng Fan



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@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&amp;data=04%7C01%7Cpeng.fan%40nxp.com%7C07c32329f8e843e4dcac08d99392afca%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637703080493432075%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=kZS%2BNpmEoZS5koyfz8Kz1yvLh9D1oMwRegm%2BIwN0%2Bew%3D&amp;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&amp;data=04%7C01%7Cpeng.fan%40nxp.com%7C07c32329f8e843e4dcac08d99392afca%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637703080493432075%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=uXMz3wv7nd8hGdSCG7kd341vRN473B%2B9%2Fm5TD3G3OhI%3D&amp;reserved=0
>>>
>>>> Thanks
>>>
>>> Cheers
>>
>> Thanks,
>>
>> Heiko

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-21  1:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18  9:23 i.MX LPDDR4 Firmware Heiko Thiery
2021-10-19  9:47 ` Marcel Ziswiler
2021-10-19 13:04   ` Heiko Thiery
2021-10-20  6:27     ` Marcel Ziswiler
2021-10-21  1:15       ` Peng Fan (OSS)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).