![]() ![]() There may be a way to finesse it in the meantime. Zig is nearly feasible, but the build fails due to not detecting the CPU right.cargo build -release -target armv7-unknown-linux-gnueabihf on it's own fails to build ring due to missing arm-linux-gnueabihf-gcc on the machine.Cross + Docker + Custom aarch64 image didn't work I suspect the -platform arg to docker build did not work as I hoped.Cross + Docker solves the mount issue, but the qemu emulation panics ( qemu is being used to emulate x86 since cross has no linux/arm64/v8 images yet).Cross + Podman can't work, as volume mounting is broken.Cross v0.2.1 (latest release) & master ( -git) don't make a difference:.I can't seem to find a working solution on my M1 machine though, and I'm fairly stuck - hoping someone else has found a working solution they could share, or a push in the right direction from here.Įdit: Pruning down this original post to focus more on solutions rather than problems, for the next person who runs into this! On my x86 Macbook the cross toolkit worked without a hitch. We'll do our best to keep these links up to date, but if we fall behind please don't hesitate to shoot us a modmail.Īs the title goes I'm trying to cross compile a project from M1 to Armv7 (for a raspberry pi 4). ![]() This is not an official Rust forum, and cannot fulfill feature requests. Err on the side of giving others the benefit of the doubt.Īvoid re-treading topics that have been long-settled or utterly exhausted. ![]() Please create a read-only mirror and link that instead.Ī programming language is rarely worth getting worked up over.īe charitable in intent. If criticizing a project on GitHub, you may not link directly to the project's issue tracker. Post titles should include useful context.įor Rust questions, use the stickied Q&A thread.Īrts-and-crafts posts are permitted on weekends.Ĭriticism is encouraged, though it must be constructive, useful and actionable. For content that does not, use a text post to explain its relevance. Posts must reference Rust or relate to things using Rust. We observe the Rust Project Code of Conduct. Strive to treat others with respect, patience, kindness, and empathy. In any event, the milestone achieved this weekend for the kernel driver effort is the spinning cube as shared on Asahi Lina's Twitter:Īsahi Lina shows off the first spinning cube running atop the work-in-progress DRM kernel driver for the Apple M1/M2.įor those wanting to reminisce, back in 2008 was the big milestone of open-source rendered triangles with the ATI RV770 GPU.Please read The Rust Community Code of Conduct The Rust Programming LanguageĪ place for all things related to the Rust programming language-an open-source systems language that emphasizes performance, reliability, and productivity. Basically, it's still a long road ahead on the graphics side while at least Asahi Linux on the Apple Silicon hardware is quite usable if not needing any accelerated graphics. Obviously it will be much longer before seeing OpenGL 3.x/4.x and any Vulkan driver for the Apple SoC graphics. There the hope is possibly having OpenGL 2.1 support by the end of 2022. Meanwhile happening in user-space is the Mesa Gallium3D AGX driver work for the Apple M1/M2 graphics to have OpenGL support. This DRM kernel driver is also set to be the first GPU kernel driver written in Rust and dependent upon the yet-to-be-merged Rust Linux kernel infrastructure, which will hopefully land in Linux 6.1 but it's still likely some ways out before this DRM driver will be in a state for mainlining. Though this driver is still in the very early stages and was noted that HDMI output isn't even working at the moment.Īsahi Lina previously brought up the first rendered triangle on the M1 with an open-source driver rendered from within the m1n1 based environment while now has been progressing toward a working Linux driver stack. The very early stage Direct Rendering Manager (DRM) driver being written in the Rust programming language to support the Apple M1/M2 graphics processor achieved the milestone of being able to render a cube.Īsahi Linux developer Asahi Lina who has been focusing on creating this Apple AGX DRM kernel driver announced on Friday night that the milestone was achieved of being able to render a spinning cube with the appropriate user-space code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |