scatter file, linker script and preloader integrations for loading from qspi using Arm compiler
Hi,
I have another open post regarding building bare metal app on Ubuntu while using GCC and loading it from QSPI.
Meanwhile I try to learn and understand how to configure my image memory layout in order for it to be loaded successfully from QSPI into SDRAM on the Arria V EVB.
1. I'm using the getting started project from here:
(Arria V , ARM CC , Windows , ARM-DS 5)
2. I wish to understand the connections and the right configuration between the preloader build , the image scatter file and the linker script.
In another words:
What I need to write and where in order for the preloader to load the image from the qspi into SDRAM and jump to the suitable address.
1. what are the relevant configurations in the preloader build (bsp-editor)
2. how I write a suitable scatter file for this cause
3. how I write a suitable linker script (I saw it in GCC based projects) for this cause.
4. what are the correct commands (addresses) when creating mkimage and flashing it for everything to work properly.
It's like I have different puzzle pieces in front of me (preloder , image compilation , linker) and I want to connect them correctly for my bare metal app to load from qspi into SDRAM
* I wish to work with ARM CC because I think it makes my program run faster in comparison for GCC build.
Thank you very much