Picking A Toolchain#
When building applications, you’ll need a toolchain that allows you to cross compile for the device. There are several toolchains currently available.
Official Toolchain#
reMarkable has provided, upon request, an official toolchain to the community. This toolchain is provided as-is to the community, and no official support is provided. The toolchain is meant to be installed on a linux machine.
Installer#
Over time the community has requested, and been provided with newer versions of the toolchain. It’s always been provided as a self-extracting script.
- Official 1.8 toolchain installer
OS version: 2.5 and lower
sha256sum:
6299955721bcd9bef92a87ad3cfe4d31df8e2da95b0c4b2cdded4431aa6748b0
- Official 2.1.3 toolchain installer
OS version: Unknown
sha256sum:
b44fef4e7c7abe1f6b08a1d3b552ee8122427ef85e7edea912a75a76edd910df
- Official 3.1.2 toolchain installer
OS Version: 2.6 to 3.5
- rM1:
sha256sum:
da75ebb3451f5a2fd0e05eda6163f397551404200801fc7198e3e6f9cc8f710d
- rM2:
sha256sum:
0ed50b016021e4c541af30cd564c4edfd92a48a6b066065634148f3ccca87aae
- Official 3.1.15 toolchain installer
OS Version: 2.11 to 3.5
- rM1:
sha256sum:
07cb35950a76b8b3d368252f633be5b7fd51540256e891941f6f409f158f4fc1
- rM2:
sha256sum:
1a9a5b4f9bebb6798f890ad91bdba0eddc11e8afee18d5d79e40da193e66411f
- Official 4.0.177 toolchain installer
OS Version: 3.6.0.1865 to 3.8.3.1976
- rM1:
sha256sum:
52c3bec1b3cd744d39b2865d6f41d2edfaf337ae053acd48ee995c863a3afcc3
- rM2:
sha256sum:
780d5cc28eb555134d832f67121412232991d04eb44b586f70998d8da75a1533
- Official 4.0.117-1 toolchain installer
OS Version: 3.6.1.1894 to 3.8.3.1976
- rM1:
sha256sum:
5ea2b8fe96e30604456c207c5dc4fe10ca8cdca664ab8cc241cc97f1028e7849
- rM2:
sha256sum:
29779c80db2a025126d52faad88d553cadda09fff31fb4138a9df1d5b7e8a247
- Official 4.0.258 toolchain installer
OS Version: 3.9.3.1986
- rM1:
sha256sum:
0b0112917ff5c06c3ce34e6b81d5c6edca772323d28eea0f2e19b76f9fcb943a
- rM2:
sha256sum:
44717d3e14327b87bfd66fc61c3a7d585feafc91b639e43e31fbf3e1557f6bd1
- Official 4.0.367 toolchain installer
OS Version: 3.9.4.2018 to 3.9.5.2026
- rM1:
sha256sum:
314d535ee8dfc7f7811969cd0c16c718e2f5caef6b74a64d18e6b0c97a253381
- rM2:
sha256sum:
43e9fb449b6e50fdff6b6110ea8fff167049b829628641537cb41738bd710eeb
- Official 4.0.813 toolchain installer
OS Version: 3.14.1.10 to 3.14.3.0
- rM Paper Pro:
sha256sum:
29e2cce4280dbde182937c9614681a59a14aca8a18e06957bf66f8aeb0f3b968
After the toolchain has been installed, you’ll need to source it to load the appropriate environment variables for it’s use.
$ source /opt/codex/rm11x/3.1.15/environment-setup-cortexa7hf-neon-remarkable-linux-gnueabi
Docker#
If you are unable to develop on a linux machine, or would like to avoid installing the toolchain on your machine directly, you can use the unofficial docker toolchain images
$ docker pull eeems/remarkable-toolchain:3.1.15-rm2
$ docker pull eeems/remarkable-toolchain:latest-rm2
You will still need to source the toolchain when running scripts inside the container to make sure it’s loaded.
Toltec Toolchain#
Toltec provides it’s own toolchain in the form of docker images. These can be used manually, but they are intended to be used in conjunction with the toltecmk tool to generate a toltec package.
$ docker pull ghcr.io/toltec-dev/toolchain:latest
Nix Toolchain#
There is a nix toolchain available.
The zero-gravitas
and zero-sugar
platforms have been added to the nix upstream as well.