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
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.