simhaonline / Prusa-Firmware-SL1

Original Prusa SL1 3D printer firmware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build image

What to expect

  • 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.

Requirements

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.

Clone the repository

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

Obtain keys for image signing

cd keys
sh gen_certs.sh # Skip this if you already have the keys
sh deploy_certs.sh
cd ..

Build development SD image

source ./oe-init-build-env
bitbake sla-dev-image # other targets are sla-update-bundle, sla-bootstrap

Write the image to the SD card

  • 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

Customers who bought this item also bought ...

Other targets

  • sla-dev-image: development-enabled μSD image
  • sla-bootstrap: μSD image for eMMC bring-up
  • sla-update-bundle: OTA & offline update package

SDK (cross-toolchain)

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.

About

Original Prusa SL1 3D printer firmware

License:GNU General Public License v3.0


Languages

Language:BitBake 60.0%Language:Shell 12.1%Language:C 9.0%Language:Assembly 8.4%Language:Batchfile 3.1%Language:Python 1.7%Language:HTML 1.3%Language:Dockerfile 1.1%Language:C++ 1.1%Language:NASL 1.0%Language:PHP 0.7%Language:Meson 0.5%