Boot iMX 8M mini LPDDR4 via flash conencted to ECSPI2

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

Boot iMX 8M mini LPDDR4 via flash conencted to ECSPI2

527 Views
assarsson
Contributor I

We try to boot via a SPI flash (MT25QL128ABA) connected to ECSPI2.
The flash memory is up and running in Linux, where we can read/write.
We write the bootloader (same as we use for SD card) to offset 0x400 of the flash.

When we configure the boot switches (SW110{1.2}) to boot via ECSPI2, power on,
and measure the SPI bus, we see traffic. But is looks like the boot stops.
If we erase the SPI flash or write something other than a valid bootloader to
offset 0x400 and try to boot, we also see some traffic on the SPI bus, but the
board boots via SD card.

There are some other posts, where similar questions are asked:
https://community.nxp.com/t5/i-MX-Processors/Boot-from-SPI-NOR-on-iMX-8M-Mini/m-p/1276815
https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-doesn-t-boot-from-SPI-NOR/td-p/912201

Labels (1)
Tags (1)
0 Kudos
1 Reply

521 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jimmy

 

one can use uuu with "example_spinor.uuu" included in Demo Image, also additional info was sent via mail.

 

Best regards
igor

0 Kudos