imx8mm lpddr4 linux image loading fails

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

imx8mm lpddr4 linux image loading fails

1,059 Views
vignesh-baskaran
Contributor III

Hi,

We trying to boot the imx8mm-evk.

We changed the processor for this one with MIMX8MM1DVTLZAA.

U-boot is loading but fails at linux image loading. But the same image is works for standard one.

 

U-Boot SPL 2022.04-lf_v2022.04+g16e8414193 (Oct 08 2022 - 13:33:43 +0000)
Can't find PMIC:PCA9450
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0:  RNG instantiated
Normal Boot
Trying to boot from MMC1
NOTICE:  BL31: v2.6(release):automotive-12.1.0_1.1.0-0-g9202efc9a
NOTICE:  BL31: Built : 09:52:38, Sep  5 2022


U-Boot 2022.04-lf_v2022.04+g16e8414193 (Oct 08 2022 - 13:33:43 +0000)

CPU:   i.MX8MMSL rev1.0 1800 MHz (running at 1200 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 36C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM:  2 GiB

tcpc_init: Can't find device id=0x52
setup_typec: tcpc port2 init failed, err=-19
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port1 init failed, err=-19
Core:  166 devices, 29 uclasses, devicetree: separate
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... MMC: no card present
*** Warning - No block device, using default environment

[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
mxs_video lcdif@32e00000: failed to get any video link display timings
probe video device failed, ret -22

        [0] lcdif@32e00000, video
        [1] mipi_dsi@32e10000, video_bridge
        [2] adv7535@3d, panel
adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
mxs_video lcdif@32e00000: failed to get any video link display timings
probe video device failed, ret -22
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated

 BuildInfo:
  - ATF 9202efc

MMC: no card present
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
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:  0 
starting USB...
Bus usb@32e40000: Port not available.
USB is stopped. Please issue 'usb start' first.
MMC: no card present
Card did not respond to voltage select! : -110
Running BSP bootcmd ...
MMC: no card present
MMC Device 0 not found
no mmc device at slot 0
u-boot=> booti
Bad Linux ARM64 Image magic!
u-boot=> 

 

 

 

How to boot the linux?

 

 

Thanks,

Vignesh Baskaran. 

 

0 Kudos
Reply
5 Replies

1,033 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You have a MIPI device or USB that uboot don't have driver for it that's why is fails to boot. You have to develop your own driver

Regards

0 Kudos
Reply

1,007 Views
vignesh-baskaran
Contributor III

Hi,

Not USB, we were trying to boot from SD card. U-boot loaded from SD card. but for loading linux it fails.

0 Kudos
Reply

1,000 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Then you need program you sd because the error said that not find anything there.

Regards

0 Kudos
Reply

993 Views
vignesh-baskaran
Contributor III

Hi @Bio_TICFSL,

 

We find We were using older version board with PMIC BD71847MWV.

We getting Can't find PMIC:PCA9450.

So We referred https://community.nxp.com/t5/i-MX-Processors/Failed-to-boot-latest-Linux-version-on-IMX8MM-EVK/m-p/1... and moved to 4.14.98_2.0.0 U-Boot. We can able to detect the SD card now.

But the Boot Stop at loading linux.

Please refer attached log.

 

0 Kudos
Reply

954 Views
vignesh-baskaran
Contributor III

Hi @Bio_TICFSL,

do you have any update on this?

[ 0.710108] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 0.718131] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[ 0.734555] mxs-dma 33000000.dma-controller: initialized

 

We tried to build it as dynamic modules and load same issue we facing. Please let us know about it.

 

0 Kudos
Reply