i.MX95 - DDR Quick Boot: Questions on Optimal Training Conditions and Production Use

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX95 - DDR Quick Boot: Questions on Optimal Training Conditions and Production Use

188件の閲覧回数
mmarretta
Contributor I

Hello, I need help optimizing the boot time for an i.MX95, specifically improving the DDR initialization time.

According to document AN14094, it's possible to reduce the time from 5053 ms to about 20 ms. I tried using the qb (quick boot) command in U-Boot:

qb        - DDR Quick Boot sub system
do_qbops cp is null
qb - DDR Quick Boot sub system

Usage:
qb check - check if quick boot data is stored in mem by training flow
qb save [interface] [dev]  - save quick boot data in NVM location    => trigger quick boot flow
qb erase [interface] [dev] - erase quick boot data from NVM location => trigger training flow

 

After saving the data with qb save, the boot time decreased by 5 seconds:

Before:

DDR OEI: TRAINING complete in 4904236 us

After:

DDR OEI: Quickboot FW run complete in 1032 us
DDR OEI: ACSM SRAM restore in 203 us

 

I then tried to automate using this data in the Yocto image build. Noting that in the imx-boot recipe, the soc.mak file is set up to use quick boot data (it expects a file called qb_data.bin). I extracted my quick boot data using dd and included it in the recipe.

This seemed to work initially, but I encountered some issues:

  1. The first time, I saved the data at room temperature (SoC temp: 45°C). When the device was subjected to much higher temperatures, the system became unstable and locked up.

  2. The second time, I saved the data at a high temperature in a chamber (SoC temp: 80°C). This data seems to work correctly at both low and high temperatures.

This leads me to two important questions:

  1. What are the ideal conditions for generating this quick boot data?

  2. Is there a risk that this data needs to be generated for each individual device, or is it possible to have universal data that can be used in production for an entire batch?

Best regards.

 

タグ(3)
0 件の賞賛
返信
1 返信

158件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

As you may already know, i.MX95 is still in pre-production stage so all support to this specific chip is limited, aslo note that all information is subject to change.

I believe that the ideal conditions would be to the expected stress the chip would be exposed to, be it enclosure and or ambient. Since quick boot is a way to reduce phy training, since during the First Boot stage, once the DDR PHY initialization and training is complete, the trained settings are saved to internal RAM by the OEI. The u-boot command “qb save” can then be used to copy these trained settings from internal RAM to the external boot media space reserved by the bootloader.

Based on the above this could be used as "Universal data" but still I would recommend setting a testing and validate that the trained data is reliable enough for the product.

Best regards/Saludos,
Aldo.

0 件の賞賛
返信