SBL Build Steps

See Build Environment on how to setup build environment for building SBL.

Important

Behind firewall? See Miscellaneous: Proxy Settings first!

Download SBL

Source code is available on GitHub:

git clone https://github.com/slimbootloader/slimbootloader.git
cd slimbootloader

Build SBL

SBL is built using the BuildLoader.py script:

  python BuildLoader.py <subcommand> <target> <options>

  <subcommand>  : build or clean
  <target>      : board name (e.g. apl or qemu)


Example: python BuildLoader.py build qemu

For more details on the build tool, see Build Tool.

Build Outputs

If the build is successful, Outputs folder will contain the build binaries. One of the output files will be Stitch_Components.zip which will be used in the stitching step.

Clean

Clean command removes all the existing build artifacts.

python BuildLoader.py clean

Stitch IFWI

Stitching an IFWI with SBL requires certain other ingredients. Please refer to Supported Hardware for platform specific stitching details.

Flash IFWI

The final step is to flash the stitched IFWI image on the target board.

Note

Typically a flash programmer like DediProg would be required for this step.

Note

Linux users please refer to DediProg Linux User Manual.

Please also refer to Supported Hardware for platform specific details.