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?
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
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
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
@pengyong_zhang
IMPORTANT
In IMX8ULP-EVK-9x9 they are using MIMX8UD7DVK10SA and I am using MIMX8ULP5D08SC does that make any difference for calibration?
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!!
@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?
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
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.
Please share your full schematic file, not the screenshot, And your .png is SOC part not the DDR part.
B.R
@pengyong_zhang
For some privacy reasons I can't share full schemetic but I am attaching DDR part here.
Hi @pengyong_zhang
Attaching files and log results for reference,
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
@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?
@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
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