Forum Discussion

roelof's avatar
roelof
Icon for New Contributor rankNew Contributor
5 years ago

Can preloader boot bare metal binary from FPGA memory

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:

https://rocketboards.org/foswiki/Documentation/BootFromFPGA131

But can the bare metal binary also be stored on the FPGA memory or FPGA flash and loaded onto HPS SDRAM during boot?

3 Replies

  • EricMunYew_C_Intel's avatar
    EricMunYew_C_Intel
    Icon for Frequent Contributor rankFrequent Contributor

    Your bare metal binary can be stored in flash and get loaded into RAM by your Preloader.


    • roelof's avatar
      roelof
      Icon for New Contributor rankNew Contributor

      Do you mean HPS connected flash or FPGA connected flash?

      I know the preloader can load the bare metal application from HPS connected flash.

      My question is can the preloader load the Bare metal application from FPGA connected flash?

  • EricMunYew_C_Intel's avatar
    EricMunYew_C_Intel
    Icon for Frequent Contributor rankFrequent Contributor


    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.