I am attempting to store some constants at some known address in QSPI memory. I have the Vision SDK installed an I am using the SBL that comes with it. What I want to add to that SBL is to inspect a constant in the QSPI flash that I compile into an application to be at a particular address. FYI, I am using TI's Vision SDK tools to build an AppImage that works with the SD-provided SBL.
So when the SBL is executing, the App is in QSPI and has not been loaded into the external DDR3 I map it to. Grabbing the constant data is not as easy as loading the app in DDR3 then checking some address there. I want to know how I can locate this constant via the App's C project if possible to figure out how to locate where it resides in the QSPI before the SBL loads the App into the DDR3. I am familiar with C 'pragmas' that place certain symbols (functions, variables, etc.) at certain memory sections listed in the linker script - command file in this instance - so no stranger to this. Again, the confusion for me comes with the fact that I build an App based on where it will be placed in the DDR3 space delegated by the EMIF configs. Just difficult to figure out where the constant data specified to be in a certain memory section is located in the QSPI flash.
If anything is not clear or anything I can provide in terms of information about this, please feel free to ask. Thank you in advance!