Skip to content

source-academy/ev3-source

Repository files navigation

Build scripts for the EV3 Source image

This repository contains scripts used to build a customised EV3 image containing Sling and Sinter.

If you want to know exactly how the build process works, read the GitHub workflow.

In a nutshell:

To run this locally:

  • You must be on Linux.
  • You need a static build of QEMU configured for user-mode ARM emulation. It must be registered to handle ARM ELF files using binfmt_misc.
  • You need libguestfs tools.
  • To satisfy the above dependencies:
    • On Ubuntu, install libguestfs-tools qemu-user-static binfmt-support.
    • On Arch, install binfmt-qemu-static qemu-user-static-bin libguestfs. (Note, the first two are AUR packages.)
  • Download brickstrap.sh to the current directory.

TLDR

To build the image from the source code, make sure you are the the root of the repository, then run the following commands in order:

wget https://raw.githubusercontent.com/ev3dev/brickstrap/master/src/brickstrap.sh
./build_control_panel.sh
./build_sling.sh
./build_qrcode.sh
./build_uuidtob62.sh
./build_image.sh