How to: Cross compiling for the Onion Omega 2S(+)

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

  • Install cross, a “Zero setup” cross compilation and “cross testing” of Rust cratesfor more information about this tool, read the README on the GitHub repo

  • source

    Onion's fork of OpenWRT's source build system. The firmware for the Omega2, Omega2+, and Omega2 Pro is based on the openwrt-18.06 branch. (by OnionIoT)

  • # This is the "base image". Luckily the cross-rs team already provides this as a way FROM ghcr.io/cross-rs/mips-unknown-linux-musl:latest # Install some dependencies to build the toolchain RUN apt update && apt install -y git wget subversion build-essential libncurses5-dev zlib1g-dev gawk flex quilt git-core unzip libssl-dev python-dev python-pip libxml-parser-perl time # Clone the Onion toolchain repository RUN git clone https://github.com/OnionIoT/source.git

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts