Unable to flash on custom imx8ulp board

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

Unable to flash on custom imx8ulp board

358 Views
dhruvinrajpura
Contributor II

Hello,

Earlier I was using imx8ulp-evk9 to flash in that I was using uuu tool and with that I was able to generate flash.bin and can flash with below command
sudo uuu -V -b emmc flash.bin

 

Than I made custom board in which I am using chip MIMX8UD5D08SC and I am trying to flash with same command but after 29% uuu getting aborted.

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

Wait for Known USB Device Appear...


Success 0    Failure 1                                                                                                                               
                                                                                                                                                      
                                                                                                                                                      
1:1      1/ 1 [HID(W):LIBUSB_ERROR_NO_DEVICE         ] SDPS: boot -f /imx-mkimage/iMX8ULP/flash.bin 

 

Any changes I required to do if I am flashing on new board , I just want to start with flash bootloader first, what is ways for that?

 

Labels (1)
0 Kudos
Reply
18 Replies

100 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @dhruvinrajpura 

 I have checked this parameters about your new LPDDR on the RPA table, It same with the MT53D512M32D2DS. So,I don't think there's any problem with that. No need update about it.

B.R

0 Kudos
Reply

83 Views
dhruvinrajpura
Contributor II

Hello @pengyong_zhang 

One question here, in the logs I observed that registers associated with Channel A has proper value I think some issues with Channel B,

 

Is there any way we can configure and complete calibration for only channel A, if yes can you share me that XLs and .ds file which only configure and calibrate for channel A

0 Kudos
Reply

173 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @dhruvinrajpura 

It seems is your HW issue, Please contact with your HW engineer help review your HW is no problem. The attachment file is the RPA table i used.

B.R

0 Kudos
Reply

17 Views
dhruvinrajpura
Contributor II

@pengyong_zhang 

IMPORTANT


In IMX8ULP-EVK-9x9 they are using MIMX8UD7DVK10SA and I am using MIMX8ULP5D08SC does that make any difference for calibration?

0 Kudos
Reply

136 Views
dhruvinrajpura
Contributor II

Hi @pengyong_zhang 

Got your point reviewing HW as per your suggestion,

One thing want to ask that currently we are using configuration in RPA xls as per MT53D512M32D2DS-053 WT:D, But we are using different LPDDR, So can this configuration can be issue while doing calibation in DDR tool, may be we need to update some parameters and we are missing that!!

dhruvinrajpura_0-1735189881400.png

 

0 Kudos
Reply

205 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @dhruvinrajpura 

Try this file.

B.R

0 Kudos
Reply

201 Views
dhruvinrajpura
Contributor II

@pengyong_zhang 

Tried with new ds file that you shared still same result as I attached eariler, Can you share me RPA XLS from which you are genarating ds file, because as per my research we need to modify some parameters in that excel so we can get right ds file have you modified that according to new dram?

0 Kudos
Reply

214 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @dhruvinrajpura 

Please use the attachment file re-run the test. Because i can not upload the .ds file, so i name it .txt file, please rename it .ds and use it. 

B.R

0 Kudos
Reply

212 Views
dhruvinrajpura
Contributor II

Hi @pengyong_zhang 

I tried with your file earlier tool were saying
[ERROR] No 'armclk' parameter in DDR script

than I added
ddrparam set armclk 800 #ARM CLOCK in .ds file but still getting dfl error at end attaching logs for reference.

Tags (1)
0 Kudos
Reply

234 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @dhruvinrajpura 

Please share your full schematic file, not the screenshot, And your .png is SOC part not the DDR part.

B.R

0 Kudos
Reply

223 Views
dhruvinrajpura
Contributor II

@pengyong_zhang 

For some privacy reasons I can't share full schemetic but I am attaching DDR part here.

0 Kudos
Reply

257 Views
pengyong_zhang
NXP Employee
NXP Employee

hI @dhruvinrajpura 

Please share your DDR datasheet file and the DDR pard schematic file.

B.R

0 Kudos
Reply

254 Views
dhruvinrajpura
Contributor II

Hi @pengyong_zhang 

Attaching files and log results for reference,


0 Kudos
Reply

322 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @dhruvinrajpura 

what is your result when you type "uuu -lsusb"?

B.R

0 Kudos
Reply

312 Views
dhruvinrajpura
Contributor II

When EVK9 and in my custom board o/p is same as below,

dhruvin-desktop-1@dhruvindesktop1:~/Downloads$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

Connected Known USB Devices
	Path	 Chip	 Pro	 Vid	 Pid	 BcdVersion
	==================================================
	1:6	 MX8ULP	 SDPS:	 0x1FC9	0x014A	 0x0001

 

0 Kudos
Reply

308 Views
dhruvinrajpura
Contributor II

@pengyong_zhang 

Now I checked that why this issue was coming , on Logs for A core I got below for my custom compiled u-boot, issue is loading in DDR conf.

DHRUVIN Init

U-Boot SPL 2023.04-dirty (Dec 20 2024 - 11:53:25 +0530)
Dhruvin
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.18
Turning on switches...
Turn on switches ok
Turning on memories...
Turn on memories ok
Clearing DDR retention...
Clear DDR retention ok
[ERROR] DFI error. Please check DDR configuration

resetting ...

 

In the custom board I am using MIMX8UD5D08SC chip, what I need to do to configure correct DDR for my chip?

 

0 Kudos
Reply

297 Views
dhruvinrajpura
Contributor II

@pengyong_zhang 

After that I gone for ddr tool for imx8ulp in that I am attching image where I reached at last it is getting stuck at that point.

I am using LPDDR4x part No. NE6F8FKAPAXAI(Nanya) If you think that issue can be in .ds file you can share .ds file I will try with that one

0 Kudos
Reply

344 Views
dhruvinrajpura
Contributor II

Also to generate flash.bin we required uboot,ubootspl,bl31 etc. that I taken from yocto build setup which I build for 
MACHINE=imx8ulp-9x9-lpddr4-evk DISTRO=fsl-imx-wayland

0 Kudos
Reply