- Build of a custom Linux distribution from source (e.g. Gentoo install).
- The procedure takes several hours to complete.
- The RAM usage will be as high as 4GiB per each core of your CPU.
- The build will take around 32GiB of your storage.
The requirements for the build are listed in a Dockerfile located in the root of this repository. Docker image build using the Dockerfiles is used for CI build.
git clone git@github.com:prusa3d/Prusa-Firmware-SL1.git
git tag -a -m "My custom build" my_custom_build
git submodule init
git submodule update
cd keys
sh gen_certs.sh # Skip this if you already have the keys
sh deploy_certs.sh
cd ..
source ./oe-init-build-env
bitbake sla-dev-image # other targets are sla-update-bundle, sla-bootstrap
-
With bmaptool
bmaptool copy tmp/deploy/images/prusa64-sl1/sla-dev-image-prusa64-sl1.wic /dev/mmcblkXXX
-
With dd
dd if=tmp/deploy/images/prusa64-sl1/sla-dev-image-prusa64-sl1.wic of=/dev/mmcblkXXX bs=1M
- sla-dev-image: development-enabled μSD image
- sla-bootstrap: μSD image for eMMC bring-up
- sla-update-bundle: OTA & offline update package
A matching (e)SDK installer can be produced
alongside an image by adding {+ -c populate_sdk +} or {+ -c populate_sdk_ext +} to the bitbake [target]
command.