Hello, my name is Pavel, and I will be supporting your case, the flashloader is loaded on the RAM because this need to write on the flash and then the image reside on the flash and the flashloader will erase, if the customer wants to use a bootloader that reside on the flash, this could be possible but the bootloader need to be execute in RAM too.
I recommend review the information of the MCU bootloader opensource or the MCU bootloader SBL.
GitHub - nxp-mcuxpresso/sbl
MCU Bootloader | NXP Semiconductors
MCUboot | mcuboot
Best regards,
Pavel