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 Connectionbellow) - Run the
defaultbuild task (Ctrl+Shift+B).
May requiresudopassword (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.opkonto your device's SD card, in theAPPSfolder. - Otherwise, see the apps in the new
rustcategory on your RG350M! - Profit!
- If you can ping/telnet/ssh into
10.1.1.2as root, you're good to go! - Use the
USB2/USB/DCport, 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.shassumes:- IP address:
10.1.1.2 - Username:
root - Password: none (not actually network connected)
- IP address:
/opt/gcw0-toolchainfrom http://www.gcw-zero.com/files/opendingux-gcw0-toolchain.2014-08-20.tar.bz2rustup toolchain install nightly-2020-06-15 --component rust-src --profile=minimalcargo 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.
eglis unsound as heck and unmaintainedkhronos-egl's pkg_config isn't cross compilation friendlyeglifor the win?
