With your proposal it stopped working - so Prevas started form beginning again, but it is not very stable.
Prevas got several error message, but there terminal have filtered most of the error out so this is this is the only one left:
J-Link>loadfile /home/jepod/repos/pressalit-clean-me/build/zephyr/zephyr.bin 0x60000000
Downloading file [/home/jepod/repos/pressalit-clean-me/build/zephyr/zephyr.bin]...
****** Error: Failed to prepare RAMCode using RAM
Error while determining flash info (Bank @ 0x60000000)
Unspecified error -1
There where likewise issues with erase sectors.
Prevas have also used a board witch is not modified and L1/L2 is selected, but that also stopped working.
Prevas is now one step back using the hack version where they have adjusted in JLinkDevices.xml and use "MIMXRT1052xxxxA" when they program QSPI:
<Device>
<ChipInfo Vendor="NXP" Name="MIMXRT1052xxxxA" WorkRAMAddr="0x20000000" WorkRAMSize="0x00080000" Core="JLINK_CORE_CORTEX_M7" Aliases="MCIMXRT1052; MIMXRT1052xxx5A; MIMXRT1052CVL5A; MIMXRT1052xxx6A; MIMXRT1052DVL6A" />
<FlashBankInfo Name="HyperFlash" BaseAddr="0x60000000" MaxSize="0x01000000" Loader="Devices/NXP/iMXRT102x/NXP_iMXRT102x_QSPI.elf" LoaderType="FLASH_ALGO_TYPE_OPEN" />
</Device>
Do you have any suggestions to fix this issue with your proposal?