I got my hands on a RG350M - a portable, MIPS32, Linux based handheld portable using the OpenDingux distribution - for the purpouse of low-spec handheld Rust game development without signing a bunch of NDAs.
- Install rustup on Linux (Windows WSL OK)
- Install VS Code
- Open this directory in VS Code
- Optionally install workspace recommended VS Code extensions
- Connect the RG350M via USB (see
Debugging the USB Connection
bellow) - Run the
default
build task (Ctrl
+Shift
+B
).
May requiresudo
password (to auto-install dependencies / rust stubs) - The build should have auto-deployed. If you couldn't get your USB connection working, however, you can manually copy
target/package.opk
onto your device's SD card, in theAPPS
folder. - Otherwise, see the apps in the new
rust
category on your RG350M! - Profit!
- If you can ping/telnet/ssh into
10.1.1.2
as root, you're good to go! - Use the
USB2
/USB/DC
port, notUSB1
/OTG
- The cable that came with your RG350M may not work properly for data. I had to use another cable, even though Windows half-recognized the USB connection.
- Windows 10's preinstalled "Remote NDIS" driver should just work (tm).
- On the device, run
settings > Network
.scripts/deploy.sh
assumes:- IP address:
10.1.1.2
- Username:
root
- Password: none (not actually network connected)
- IP address:
/opt/gcw0-toolchain
from http://www.gcw-zero.com/files/opendingux-gcw0-toolchain.2014-08-20.tar.bz2rustup toolchain install nightly-2020-06-15 --component rust-src --profile=minimal
cargo install xargo --version "^0.3"
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
egl
is unsound as heck and unmaintainedkhronos-egl
's pkg_config isn't cross compilation friendlyegli
for the win?