Coder Social home page Coder Social logo

simhaonline / prusa-firmware-sl1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prusa3d/prusa-firmware-sl1

0.0 0.0 0.0 1.49 MB

Original Prusa SL1 3D printer firmware

License: GNU General Public License v3.0

Dockerfile 1.09% Assembly 8.43% BitBake 60.02% Shell 12.08% C 9.05% PHP 0.67% Batchfile 3.13% NASL 1.05% Python 1.67% Meson 0.46% C++ 1.06% HTML 1.31%

prusa-firmware-sl1's Introduction

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 [email protected]: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.

prusa-firmware-sl1's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.