SBL Build Steps
See Build Environment on how to setup build environment for building SBL.
Behind firewall? See Miscellaneous: Proxy Settings first!
Source code is available on GitHub:
git clone https://github.com/slimbootloader/slimbootloader.git cd slimbootloader
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.
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 command removes all the existing build artifacts.
python BuildLoader.py clean
Stitching an IFWI with SBL requires certain other ingredients. Please refer to Supported Hardware for platform specific stitching details.
The final step is to flash the stitched IFWI image on the target board.
Typically a flash programmer like DediProg would be required for this step.
Linux users please refer to DediProg Linux User Manual.
Please also refer to Supported Hardware for platform specific details.