I want to know if the preloader can be configured to boot a bare metal binary from FPGA memory or FPGA connected flash.
I know the preloader can be executed on the FPGA memory using this method:
But can the bare metal binary also be stored on the FPGA memory or FPGA flash and loaded onto HPS SDRAM during boot?
You may try to store your bare metal in an FPGA connected flash, but your FPGA image must be loaded before running bare metal.
Your preloader can load the bare metal from an FPGA connected flash from h2f bridge (0xc0000000).
But normally the bare metal will be stored in the same flash as preloader.