Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

About booting an Image

How to generate preloader ?

Where can we get BSP editor?

Could someone eplease explain about it?

thanks

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Sasi,

    --- Quote Start ---

    How to generate preloader ?

    --- Quote End ---

    The Cyclone V and Arria V Preloader build flow

    • Copies the generic preloader source code into <bsp directory>/ubootsocfpga

    • Copies the generated BSP files and hardware handoff files to the source directory in <bsp_directory /uboot-socfpga/board/altera/socfpga _<device>

    • Configures the compiler tools to target an SoC FPGA

    • Compiles the source files in <bsp directory>/uboot-socfpga with the userspecified cross compiler (specified in the BSP settings) and stores the generated preloader binary files in <bsp_directory>/uboot - socfpga/spl

    • Converts the preloader binary file to a preloader image, <bsp_directory>/preloader- mkpimage.bin, with the mkpimage tool

    The makefile contains the following targets:

    • make all – compiles the preloader

    • make clean – deletes preloader-mkpimage.bin from the <bsp directory>

    • make clean-all – deletes <bsp directory>, including the source files in the

    directory

    --- Quote Start ---

    Where can we get BSP editor?

    --- Quote End ---

    BSP settings, which can be accessed from either the Graphical User Interface application (bsp-editor) or

    From the command line tools (bsp-create-settings, bsp-update-settings, bsp-query-settings).

    For detailed steps refer below link.

    https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/ug/ug_soc_eds.pdf (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/ug/ug_soc_eds.pdf)

    Best Regards,

    Anand Raj Shankar

    (This message was posted on behalf of Intel Corporation)

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Sasi,

    Go to altera download page and download the embedded design suite for your quartus version. Start an embedded shell.Here you can call the bsp-editor.