When do we need to customize preloader?
Hello,
The general scheme of building preloader is composed of:
handoff -> preloader config + u-boot-spl source code -> binary
So it is usually "automatic" build without any customization.
Yet, it seems that sometimes there might be a need to manually modify the code before building the binary:
https://rocketboards.org/foswiki/Documentation/PreloaderUbootCustomization131
I try to understand when do we manually change code.
I read somewhere that enabling the bridge is done from preloader:
https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/embedded/2016/how-and-when-can-i-enable-the-fpga2sdram-bridge-on-cyclone-v-soc.html
Does it mean that some file should be modified in order to enable the bridge or is it part of the code generator ?
When do we need to manually modify the generated code ?
Thank you,
ranran
Hi ranran,
Here is an example; for enabling HPS-to-FPGA Bridges from the preloader, the preloader will check the status of the FPGA then automatically enables bridges that are configured in Qsys/platform designer (Standard) and the BSP if the FPGA is configured.
For more information, I reckon you refer to GSRD v13.1 - Programming FPGA from HPS.
Regards.