i.MX8M-Mini doesn't boot from ECSPI NOR flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX8M-Mini doesn't boot from ECSPI NOR flash

652 次查看
davidwang66
Contributor I

we have a custom board with i.MX8MM and it has a 128MB SPI NOR flash connected to the ECSPI1 interface.

In order to boot from ECSPI NOR, I flashed an uboot Image with an offset of 0x400 (1 KiB) by using uuu.

This image runs fine, when I put it on the SD-card with an offset of 0x8400 (33 KiB).

The same image also working fine when using uuu download it to ram.

But when flashed to  spi nor flash and boot from there, there is no any console output. We do see some spi transactions during boot up by probing spi bus. just no any output from serial console.

 

Thanks

 

标签 (1)
0 项奖励
回复
1 回复

629 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Could you check if your board falls to serial downloader?
if it does this means that uboot was not correctly flashed on the SPI NOR.

Also, could you try using the attached SPI NOR script for UUU, you'll need to replace _flash.bin in the script with the name of the generated uboot, then you may run the script:

windows:
> .\uuu.exe example_spinor.uuu

Linux:
$./uuu example_spinor.uuu

Regards,
Aldo.

0 项奖励
回复