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

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

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

460 Views
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

 

Labels (1)
0 Kudos
1 Reply

437 Views
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 Kudos