Dear NXP Tech support,
We've developed a custom board with an i.MX8MNano QuadLite (MIMX8MN5DVTJZAA) and LPDDR4 from an ISSI (IS43LQ16256A-062BLI) with eMMC and SD card, PMIC PCA9450, etc.
It's our first prototype and the DDR test has been doing correctly, it's succeded, I attach here the the excel RPA, lpddr4_timming.c and also the log file during tests. Also the PMIC, USB, and serial port is working, instead we can't do the ddr stress calibration and test. We'd done it with the Config Tool for i.MX and the DDR Tool, I attach all files here to be easier to help us with the problem.
Next step that we've followed, it was inserted the lpddr4-timming.c in the u-boot corresponding folder and recompile with that yocto reciept and also the image receipt (we're using the imx-image-core), after succesful compiled, we've uploaded the wic file to our SD Card and turn on our device.
I attach here the output from the serial console:
U-Boot 2020.04-5.4.24-2.1.0+g4979a99482 (Apr 25 2022 - 13:29:07 +0000)
CPU: i.MX8MNano QuadLite rev1.0 1500 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 44C
Reset cause: POR
Model: NXP i.MX8MNano LPDDR4 EVK board
DRAM: 2 GiB
tcpc_init: Can't find device id=0x52
setup_typec: tcpc port2 init failed, err=-19
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]
Power supply on USB1
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... Run CMD11 1.8V switch
*** Warning - bad CRC, using default environment
[*]-Video Link 0Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
failed to get any video link display timings
probe video device failed, ret -22
[0] lcd-controller@32e00000, video
[1] dsi_controller@32e10000, video_bridge
[2] adv7535@3d, panel
Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
failed to get any video link display timings
probe video device failed, ret -22
In: serial
Out: serial
Err: serial
BuildInfo:
- ATF b0a00f2
- U-Boot 2020.04-5.4.24-2.1.0+g4979a99482
switch to partitions #0, OK
mmc1 is current device
flash target is MMC:1
Net: Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 2 1 0
switch to partitions #0, OK
mmc1 is current device
Error reading cluster
Unable to read file Image
Booting from net ...
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.
Could not get PHY for FEC0: addr 0
WARN: Cannot load the DT
u-boot-aqua=> mmc parp
Partition Map for MMC device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
Can't read partition table on 1:0
u-boot-aqua=>
Partition Map for MMC device 1 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
Can't read partition table on 1:0
u-boot-aqua=> mmc dev 1
switch to partitions #0, OK
mmc1 is current device
u-boot-aqua=>
u-boot-aqua=> mmc rescan
u-boot-aqua=>
u-boot-aqua=> fX k⸮mmc 1
28021248 Image
41556 imx8mn-aqua.dtb
365072 tee.bin
3 file(s), 0 dir(s)
u-boot-aqua=>
28021248 Image
41556 imx8mn-aqua.dtb
365072 tee.bin
3 file(s), 0 dir(s)
u-boot-aqua=> run bootcmd
switch to partitions #0, OK
mmc1 is current device
Error reading cluster
Unable to read file Image
Booting from net ...
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.
Could not get PHY for FEC0: addr 0
WARN: Cannot load the DT
u-boot-aqua=>
u-boot-aqua=>
The main error is in the Image reading and also find the DT file. At the beginning the sd card doesn't read correctly but an after rescan it works. So maybe the problem was during the image generation, but we're don't really sure.
We discard layout problems becouse we've done the traces 50 ohms impedance and lenght matching, also has the DDR and the eMMC and as you can see the DDR is working correctly.
I'll be waiting your response asap, becouse we need to validate the software to start our production.
We're in touch and thanks in advance.
Best regards,
Jorge