Hi @jeremyzhou,
I am very interested on this topic.
When you say:
on the condition that relocating the FlexSPI driver in the RAM
How that can be achieved with details? I have taken a look to the example you mention: flexspi_nor_polling_transfer and I see
- FlexSPI driver is moved to RAM on the Linker (linkscripts folder)
- Use another Flash driver that the most common one:

But I don't see any Flash partitions or anything like that.
My current project is using this other flash driver:

Having the MIMXRT1020-EVK_IS25LP064.cfx is a requirement?
With more details what I want to achieve is to use the 8 MB SPI Flash for different purposes:
- 3 MB for the program itself
- Other 5 MB as a Flash storage to use in RAW to read/write data
Which steps I need to follow?
Many thanks,
Carles