imx8mp emmc can not boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mp emmc can not boot

1,287件の閲覧回数
jimmyhua
Contributor I

1.i download imx8mp code,use DISTRO=fsl-imx-wayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b buildwayland1

2.after build,i get imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk,flash sd card,board run normal.

3.dd if=imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk,of=/dev/mmcblk2 bs=1k seek=32,boot_mode switch to emmc boot,but emmc can not boot.

can you tell me how to boot emmc? how modify uboot software?

0 件の賞賛
返信
7 返答(返信)

1,260件の閲覧回数
jimmyhua
Contributor I

CPU: Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
Model: NXP i.MX8MPlus LPDDR4 EVK board
DRAM: 6 GiB
tcpc_init: Can't find device id=0x50
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: 254 devices, 35 uclasses, devicetree: separate
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from nowhere... OK
[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19

[0] lcd-controller@32e80000, video
[1] mipi_dsi@32e60000, video_bridge
[2] adv7535@3d, panel
adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
MMC: no card present
Detect USB boot. Will enter fastboot mode!
Net:
Warning: ethernet@30bf0000 (eth1) using random MAC address - c6:c1:9d:dd:76:ac
Could not get PHY for FEC0: addr 1
Could not get PHY for FEC0: addr 1
eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtool s
, 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 "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0

## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...
USB init failed: -22

 

1.serial print above information

0 件の賞賛
返信

1,272件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @jimmyhua!

Thank you for contacting NXP Support!

 

The file "imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk" works for MMC and SD cards.

 

Please try to use the UUU tool to flash the files to your board.

 

https://github.com/nxp-imx/mfgtools/releases/tag/uuu_1.5.125

 

Best Regards!

Chavira

0 件の賞賛
返信

1,261件の閲覧回数
jimmyhua
Contributor I

1.imx8mp board switch to usb boot(1000).type-c connect to pc,open uart .otg connect to pc.

2.uuu -b emmc imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk 

jimmyhua_0-1707013308033.png

step2 can not arrive.

serial print

jimmyhua_1-1707013369313.png

 

what wrong?

0 件の賞賛
返信

1,239件の閲覧回数
mosfet1
Contributor I

1. It is very clear for the log, this board has different hardware to NXP i.MX8MP EVK. At least the usb has no typeC design. Should change the u-boot device tree to satisfy the hardware.

tcpc_init: Can't find device id=0x50

setup_typec: tcpc port2 init failed, err=-19

tcpc_init: Can't find device id=0x50 setup_typec: tcpc port1 init failed, err=-19

USB init failed: -22

 

2. If the ddr type(DDR4/LPDDR4) is wrong, could not run till u-boot console.

0 件の賞賛
返信

1,234件の閲覧回数
mosfet1
Contributor I

Jimmy,

Also, I have sent this reply by private message. 

0 件の賞賛
返信

1,255件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @jimmyhua!

What board are you using DDR4 or LPDDR4?

If you are trying to burn the incorrect image the uuu never flash the board.

Please try with the DDR4 image.

Best Regards!
Chavira

0 件の賞賛
返信

1,238件の閲覧回数
mosfet1
Contributor I

1. It is very clear for the log, this board has different hardware to NXP i.MX8MP EVK. At least the usb has no typeC design. Should change the u-boot device tree to satisfy the hardware.

tcpc_init: Can't find device id=0x50

setup_typec: tcpc port2 init failed, err=-19

tcpc_init: Can't find device id=0x50 setup_typec: tcpc port1 init failed, err=-19

USB init failed: -22

 

2. If the ddr type(DDR4/LPDDR4) is wrong, could not run till u-boot console.

タグ(1)
0 件の賞賛
返信