This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
devel:toolchain [2022/01/06 22:07] eeems Add IPFS links |
devel:toolchain [2022/01/06 22:33] (current) eeems Clean up layout |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Toolchains ==== | + | ===== Toolchains ===== |
- | === Official toolchain (codex) === | + | ==== Official toolchain ==== |
- | == 2.11+ == | + | You can find the full list of known official toolchains [[https://ipfs.io/ipfs/QmWpsSXBZVGLjtcq3N24rBLwatKxnPKH7Fk7NHd6mNNGe3|here (IPFS)]]. |
+ | |||
+ | Upon installation, this toolchain will get installed to %%/opt/codex%% by default. For cross compilation, running one of the following commands will set your env up for cross compilation with it: | ||
+ | |||
+ | <code> | ||
+ | source /opt/codex/rm10x/3.1.15/environment-setup-cortexa9hf-neon-remarkable-linux-gnueabi | ||
+ | source /opt/codex/rm11x/3.1.15/environment-setup-cortexa7hf-neon-remarkable-linux-gnueabi | ||
+ | |||
+ | </code> | ||
+ | |||
+ | Please refer to the [[https://remarkablewiki.com/devel/qt_creator|QT Creator]] wiki page for more QT specific instructions. | ||
+ | |||
+ | === Current toolchains === | ||
+ | |||
+ | == 3.1.15 (OS 2.11+) == | ||
An updated toolchain for Codex version 2.11.0.442 was provided by reMarkable support to [[https://discord.com/channels/385916768696139794/386181213699702786/928646861168984104|a member of the community Discord]] upon request. | An updated toolchain for Codex version 2.11.0.442 was provided by reMarkable support to [[https://discord.com/channels/385916768696139794/386181213699702786/928646861168984104|a member of the community Discord]] upon request. | ||
Line 9: | Line 23: | ||
* reMarkable 2: https://storage.googleapis.com/remarkable-codex-toolchain/codex-x86_64-cortexa7hf-neon-rm11x-toolchain-3.1.15.sh ([[https://cloudflare-ipfs.com/ipfs/Qmdw66tZo2ZPRqicK4dtiUUskdHnDFZNpRAKBS5iYKKDTw|IPFS]]) | * reMarkable 2: https://storage.googleapis.com/remarkable-codex-toolchain/codex-x86_64-cortexa7hf-neon-rm11x-toolchain-3.1.15.sh ([[https://cloudflare-ipfs.com/ipfs/Qmdw66tZo2ZPRqicK4dtiUUskdHnDFZNpRAKBS5iYKKDTw|IPFS]]) | ||
- | == 2.6+ == | + | == 3.1.2 (OS 2.6+) == |
- | A new toolchain for reMarkable 1 and 2 was [[https://discord.com/channels/385916768696139794/386181213699702786/830914172640428053|announced on the community Discord]] along with version 2.6. | + | A new toolchain for reMarkable 1 and 2 was [[https://discord.com/channels/385916768696139794/386181213699702786/830914172640428053|announced on the community Discord]] along with version 2.6. This toolchain continues to work for newer versions of the OS. |
* reMarkable 1: https://storage.googleapis.com/remarkable-codex-toolchain/codex-x86_64-cortexa9hf-neon-rm10x-toolchain-3.1.2.sh ([[https://cloudflare-ipfs.com/ipfs/Qmbp5gkWAUr7DqVM6CGJm9U1qKHeeaz1QtYsQENE6PEgzQ|IPFS]]) | * reMarkable 1: https://storage.googleapis.com/remarkable-codex-toolchain/codex-x86_64-cortexa9hf-neon-rm10x-toolchain-3.1.2.sh ([[https://cloudflare-ipfs.com/ipfs/Qmbp5gkWAUr7DqVM6CGJm9U1qKHeeaz1QtYsQENE6PEgzQ|IPFS]]) | ||
* reMarkable 2: https://storage.googleapis.com/remarkable-codex-toolchain/codex-x86_64-cortexa7hf-neon-rm11x-toolchain-3.1.2.sh ([[https://cloudflare-ipfs.com/ipfs/QmU5H2Gmr9xqHAWAsFyWzWBpAHe7oWF6WBfYbK752H3CCM|IPFS]]) | * reMarkable 2: https://storage.googleapis.com/remarkable-codex-toolchain/codex-x86_64-cortexa7hf-neon-rm11x-toolchain-3.1.2.sh ([[https://cloudflare-ipfs.com/ipfs/QmU5H2Gmr9xqHAWAsFyWzWBpAHe7oWF6WBfYbK752H3CCM|IPFS]]) | ||
- | == Older (oecore) == | + | === Legacy toolchains === |
+ | |||
+ | == oecore (OS 2.5) == | ||
The previous official toolchain is oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh it was originally hosted [[https://remarkable.engineering/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh|on the reMarkable engineering site]], but this URL went down. You can download it either from [[https://web.archive.org/web/20200523214915if_/https://remarkable.engineering/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh|the Internet Archive]] or [[https://cloudflare-ipfs.com/ipfs/QmZmt4UtvyLLA8mLde6WspqvhMAKjzfvJW91R3bEja6y3A|IPFS]] (hash: ''QmZmt4UtvyLLA8mLde6WspqvhMAKjzfvJW91R3bEja6y3A'') ([[https://ipfs.eeems.website/ipfs/QmSetJD5GfgDv2oHqeeA26eaoQhnjB3ZtH9VtfWzBh9kgf/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh|Alternate Link]]). The SHA-256 sum of the toolchain is ''6299955721bcd9bef92a87ad3cfe4d31df8e2da95b0c4b2cdded4431aa6748b0''. | The previous official toolchain is oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh it was originally hosted [[https://remarkable.engineering/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh|on the reMarkable engineering site]], but this URL went down. You can download it either from [[https://web.archive.org/web/20200523214915if_/https://remarkable.engineering/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh|the Internet Archive]] or [[https://cloudflare-ipfs.com/ipfs/QmZmt4UtvyLLA8mLde6WspqvhMAKjzfvJW91R3bEja6y3A|IPFS]] (hash: ''QmZmt4UtvyLLA8mLde6WspqvhMAKjzfvJW91R3bEja6y3A'') ([[https://ipfs.eeems.website/ipfs/QmSetJD5GfgDv2oHqeeA26eaoQhnjB3ZtH9VtfWzBh9kgf/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh|Alternate Link]]). The SHA-256 sum of the toolchain is ''6299955721bcd9bef92a87ad3cfe4d31df8e2da95b0c4b2cdded4431aa6748b0''. | ||
- | Upon installation, this toolchain will get installed to %%/usr/local/oecore-x86_64%% by default. For cross compilation, running the following command will set your env up for cross compilation with it: | + | == poky (original) == |
- | <code> | + | The first official toolchain was called poky. It should still work for basic applications, but many libraries are out-of-date which may prevent a binary to run on the reMarkable. It can be found over [[https://web.archive.org/web/20201112014719if_/https://remarkable.engineering/deploy/sdk/poky-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-neon-toolchain-2.1.3.sh|the Internet Archive]] or [[http://cloudflare-ipfs.com/ipfs/Qmdkdeh3bodwDLM9YvPrMoAi6dFYDDCodAnHvjG5voZxiC|IPFS]] (hash: %%Qmdkdeh3bodwDLM9YvPrMoAi6dFYDDCodAnHvjG5voZxiC%%) ([[https://ipfs.eeems.website/ipfs/QmSetJD5GfgDv2oHqeeA26eaoQhnjB3ZtH9VtfWzBh9kgf/poky-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-neon-toolchain-2.1.3.sh|Alternate Link]]). |
- | source /usr/local/oecore-x86_64/environment-setup-cortexa9hf-neon-oe-linux-gnueabi | + | |
- | </code> | + | |
- | Please refer to the [[https://remarkablewiki.com/devel/qt_creator|QT Creator]] wiki page for more QT specific instructions. | + | Some projects will still refer to this toolchain and should get updated to use the official oecore toolchain instead. |
- | === Alternative toolchains === | + | ==== Alternative toolchains ==== |
- | == Toltec toolchain == | + | === Toltec toolchain === |
Since there is no exact source of the toolchain available, [[https://github.com/toltec-dev/toolchain/|the toltec toolchain]] was created for the main use of packaging [[https://github.com/toltec-dev/toltec|toltec packges]]. It builds [[https://github.com/orgs/toltec-dev/packages|various docker images]]. | Since there is no exact source of the toolchain available, [[https://github.com/toltec-dev/toolchain/|the toltec toolchain]] was created for the main use of packaging [[https://github.com/toltec-dev/toltec|toltec packges]]. It builds [[https://github.com/orgs/toltec-dev/packages|various docker images]]. | ||
- | == Nix tooling == | + | === Nix tooling === |
Another community made toolchain can be found [[https://github.com/pl-semiotics/nix-remarkable|here]]. | Another community made toolchain can be found [[https://github.com/pl-semiotics/nix-remarkable|here]]. | ||
- | |||
- | == Legacy toolchain (poky) == | ||
- | |||
- | The first official toolchain was called poky. It should still work for basic applications, but many libraries are out-of-date which may prevent a binary to run on the reMarkable. It can be found over [[https://web.archive.org/web/20201112014719if_/https://remarkable.engineering/deploy/sdk/poky-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-neon-toolchain-2.1.3.sh|the Internet Archive]] or [[http://cloudflare-ipfs.com/ipfs/Qmdkdeh3bodwDLM9YvPrMoAi6dFYDDCodAnHvjG5voZxiC|IPFS]] (hash: %%Qmdkdeh3bodwDLM9YvPrMoAi6dFYDDCodAnHvjG5voZxiC%%) ([[https://ipfs.eeems.website/ipfs/QmSetJD5GfgDv2oHqeeA26eaoQhnjB3ZtH9VtfWzBh9kgf/poky-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-neon-toolchain-2.1.3.sh|Alternate Link]]). | ||
- | |||
- | Some projects will still refer to this toolchain and should get updated to use the official oecore toolchain instead. |