Unable to boot imx8ulp with LPDDR4x(NE6F8FKAPAXAI)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to boot imx8ulp with LPDDR4x(NE6F8FKAPAXAI)

3,085 Views
dhruvinrajpura
Contributor III

I am using custom board having imx8ulp with LPDDR4X(NE6F8FKAPAXAI)

For bring up purpose to configure RAM with MPU I downloaded RPA XLS and DDR Tool from below
ddr-tool-imx8ulp

First I generated ds file and load ds file directly to DDR tool and tried to calibrate but got error
ERROR: Check Data Bit Mapping,

So, I was trying some ways and once I changed cell "C12" below, earlier it was "3" i made it "1" instead(only single change in whole xls and worked)

 
 

Screenshot from 2025-03-11 18-35-25.pngScreenshot from 2025-03-11 18-35-25.png


After that I was able to calibrate it successfully and generated lpddr timing file updated in u-boot and generated u-boot.bin and u-boot-spl.bin made image and flashed.


Now issue I am getting is with above changes, while flashing and booting I required take multiple trials for both(flash&boot) and if I check A core logs,

In the trials which are not successful getting below logs and stuck after below logs everytime

 

U-Boot SPL 2022.04-dirty (Jan 08 2025 - 12:15:06 +0530)                                                               
Normal Boot                                                                                                           
ELE firmware version 1.0.0-344acb84                                                                                   
upower_apd_inst_isr: entry
upower_init: soc_id=48
upower_init: version:11.11.13
upower_init: start uPower RAM service
user_upwr_rdy_callb: soc=b
user_upwr_rdy_callb: RAM version:12.17
Turning on switches...
Turn on switches ok
Turning on memories...
Turn on memories ok
Clearing DDR retention...
Clear DDR retention ok
SEC0:  RNG instantiated
Trying to boot from BOOTROM
Boot Stage: Primary boot
image offset 0x0, pagesize 0x200, ivt offset 0x0
Load image from 0x67000 by ROM_API
NOTICE:  BL31: v2.8(release):lf-6.6.3-1.0.0-0-g8dbe28631
NOTICE:  BL31: Built : 17:57:56, Jan 22 2024
NOTICE:  upower_init: start uPower RAM service
NOTICE:  user_upwr_rdy_callb: soc=b
NOTICE:  user_upwr_rdy_callb: RAM version:12.17

 



On the successful trial I am getting below logs

 

U-Boot SPL 2022.04-dirty (Jan 08 2025 - 12:15:06 +0530)
Normal Boot
ELE firmware version 1.0.0-344acb84
upower_apd_inst_isr: entry
upower_init: soc_id=48
upower_init: version:11.11.13
upower_init: start uPower RAM service
user_upwr_rdy_callb: soc=b
user_upwr_rdy_callb: RAM version:12.17
Turning on switches...
Turn on switches ok
Turning on memories...
Turn on memories ok
Clearing DDR retention...
Clear DDR retention ok
SEC0:  RNG instantiated
Trying to boot from BOOTROM
Boot Stage: USB boot
Find img info 0x&88000000, size 288
Download 943104, Total size 944128
NOTICE:  BL31: v2.8(release):lf-6.6.3-1.0.0-0-g8dbe28631
NOTICE:  BL31: Built : 17:57:56, Jan 22 2024
NOTICE:  upower_init: start uPower RAM service
NOTICE:  user_upwr_rdy_callb: soc=b
NOTICE:  user_upwr_rdy_callb: RAM version:12.17


U-Boot 2022.04-dirty (Jan 08 2025 - 12:15:06 +0530)

M33 Sync: OK
CPU:   i.MX8ULP rev1.2 at 960 MHz
CPU current temperature: 35
Reset cause: POR
Boot mode: Single boot
Model: NXP i.MX8ULP 9X9 EVK
DRAM:  2 GiB
Core:  47 devices, 24 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0
Loading Environment from nowhere... OK
[*]-Video Link 0 (720 x 1280)
        [0] display-controller@2e050000, video
        [1] dsi@2db00000, video_bridge
        [2] panel@0, panel
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
switch to partitions #0, OK
mmc0(part 0) is current device
UID 0x3baf2bda,0xb74e39fc,0xc40c9992,0xb364aa92
Detect USB boot. Will enter fastboot mode!
Net:   Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for                                mfgtools
, using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo ;
Hit any key to stop autoboot:  0 

## Checking Image at 83800000 ...
Unknown image format!
Run fastboot ...
auto usb 0
UID 0x3baf2bda,0xb74e39fc,0xc40c9992,0xb364aa92
Detect USB boot. Will enter fastboot mode!
flash target is MMC:0
Detect USB boot. Will enter fastboot mode!
switch to partitions #0, OK
mmc0(part 0) is current device
Detect USB boot. Will enter fastboot mode!

 



So, For successful power up it requires almost 7-10 power cycles, As per my logs and DDR xls change what can be reason for above issue??

BP-IMX8PULP-POC 




Labels (1)
0 Kudos
Reply
4 Replies

3,061 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

Seems like your timing is bootable under a limited amount of trials, could you confirm that you have your timings ok in your custom board? Please refer to chapter Step 6) Generate timing file.

If it still fail could you attach your read/write eye diagrams?

Regards

0 Kudos
Reply

3,038 Views
dhruvinrajpura
Contributor III

Hi @JosephAtNXP 

I followed step6 generated timing file, added that timing file in custom u-boot and generated u-boot.bin and u-boot-spl.bin and generated flash.bin from that only,

Here I am attaching read/write eye diagram test images.

0 Kudos
Reply

3,013 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

You should use that timing in a new U-boot and try again to boot the board,

Regards,

0 Kudos
Reply

2,953 Views
dhruvinrajpura
Contributor III

Hi @JosephAtNXP 

Currently I am using that timing file only and u-boot and getting issue that I explained.

0 Kudos
Reply