{"id":16760198,"url":"https://github.com/maulingmonkey/rust-opendingux-test","last_synced_at":"2025-04-10T17:36:57.498Z","repository":{"id":37888494,"uuid":"281671418","full_name":"MaulingMonkey/rust-opendingux-test","owner":"MaulingMonkey","description":"OpenGL on RG350M demo","archived":false,"fork":false,"pushed_at":"2023-06-06T02:28:17.000Z","size":266,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:11:22.746Z","etag":null,"topics":["egl","gl","rg350","rg350m","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaulingMonkey.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-22T12:28:48.000Z","updated_at":"2024-10-16T01:08:39.000Z","dependencies_parsed_at":"2025-02-17T17:46:17.830Z","dependency_job_id":null,"html_url":"https://github.com/MaulingMonkey/rust-opendingux-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaulingMonkey%2Frust-opendingux-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaulingMonkey%2Frust-opendingux-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaulingMonkey%2Frust-opendingux-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaulingMonkey%2Frust-opendingux-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaulingMonkey","download_url":"https://codeload.github.com/MaulingMonkey/rust-opendingux-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262043,"owners_count":21074236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["egl","gl","rg350","rg350m","rust"],"created_at":"2024-10-13T04:22:43.248Z","updated_at":"2025-04-10T17:36:57.482Z","avatar_url":"https://github.com/MaulingMonkey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What? Why?\n\nI got my hands on a RG350M - a portable, MIPS32, Linux based handheld portable using the\n[OpenDingux](https://wiki.dingoonity.org/index.php?title=OpenDingux:About) distribution - for\nthe purpouse of low-spec handheld Rust game development without signing a bunch of NDAs.\n\n![Minimum Viable Product](screenshots/mvp.png)\n\n# Quick Start\n\n1.  Install [rustup] on Linux (Windows WSL OK)\n2.  Install [VS Code](https://code.visualstudio.com/)\n3.  Open this directory in VS Code\n4.  Optionally install workspace recommended VS Code extensions\n5.  Connect the RG350M via USB (see `Debugging the USB Connection` bellow)\n6.  Run the `default` build task (`Ctrl`+`Shift`+`B`).\u003cbr\u003e\n    \u003cb\u003eMay require `sudo` password\u003c/b\u003e (to auto-install dependencies / rust stubs)\n7.  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 the `APPS` folder.\n8.  Otherwise, see the apps in the new `rust` category on your RG350M!\n9.  Profit!\n\n## Debugging the USB Connection\n\n*   If you can ping/telnet/ssh into `10.1.1.2` as root, you're good to go!\n*   Use the `USB2`/`USB/DC` port, not `USB1`/`OTG`\n*   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.\n*   Windows 10's preinstalled \"Remote NDIS\" driver should just work (tm).\n*   On the device, run `settings \u003e Network`.  `scripts/deploy.sh` assumes:\n    * IP address: `10.1.1.2`\n    * Username: `root`\n    * Password: *none* (not actually network connected)\n\n## Installed Dependencies\n\n* \u003ccode\u003e/opt/gcw0-toolchain\u003c/code\u003e from http://www.gcw-zero.com/files/opendingux-gcw0-toolchain.2014-08-20.tar.bz2\n* \u003ccode\u003erustup toolchain install \u003cu\u003enightly-2020-06-15\u003c/u\u003e --component \u003cu\u003erust-src\u003c/u\u003e --profile=minimal\u003c/code\u003e\n* \u003ccode\u003ecargo install [xargo] --version \"^0.3\"\u003c/code\u003e\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n# Takeaways\n\n* `egl` is unsound as heck and unmaintained\n* `khronos-egl` 's pkg_config isn't cross compilation friendly\n* `egli` for the win?\n\n\n[rustup]:       https://rustup.rs/\n[xargo]:        https://github.com/japaric/xargo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaulingmonkey%2Frust-opendingux-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaulingmonkey%2Frust-opendingux-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaulingmonkey%2Frust-opendingux-test/lists"}