Hi Erik - are you trying to load an A7 image in the QSPI or an M4 image in the QSPI? My original post was concerning loading and running and M4 image from QSPI while simultaneously running Linux in the A-Core. When you tftp your image to the board, is this via u-boot, or in Linux? If the board is automatically rebooting during or immediately after the tftp, I am guessing that you are overwriting some critical memory region with your image (i.e. it may be too large, or you may be trying to load it in a restricted memory region). When we load the M4 image to be put into QSPI, we typically load it from an SD/CF card. It first gets loaded into a region in RAM which is free and available, and then programmed into flash using the u-boot sf commands. You are not able to directly load an image into QSPI as there are programming algorithms which need to be employed, it cannot be treated like a direct memory mapped region in that sense. Hope this helps.
For anyone else having the original issue above, here are some hopefully helpful hints to how we got it working:
I never did get any answers from NXP which addressed our problem, but we did eventually get it to work with quite a few modifications to both the U-boot script (needed to add clk_ignore_unused to console arguments to Linux to prevent the QSPI clock from being disabled since it is unused in our scenario by Linux), and to the Kernel itself (the NXP-ARM port has some low-power mode code which access the M4's TCM (for low power mode operation). We also had to address all Resource Domain Controller conflicts we had, which makes sense, cannot have both cores trying to exclusively use the same peripheral or you get all kinds of weird behavior, lock-ups of either or both cores, among them.