Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support for Raspberry Pi #945

Closed
1 task done
mikekppp opened this issue Sep 28, 2023 · 7 comments
Closed
1 task done

[Feature Request] Support for Raspberry Pi #945

mikekppp opened this issue Sep 28, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request mojo Issues that are related to mojo mojo-repo Tag all issues with this label

Comments

@mikekppp
Copy link

Review Mojo's priorities

What is your request?

The Raspberry Pi platform represents a broad range of ARM-based devices used for experimentation and easy deployment of embedded systems. While the mainstream (supported) OS is based on Debian, there are unique aspects to the platform that may require specific 'tweaks' to Mojo (or more specifically, the development environment) to support this platform. I will grant that this platform may be covered by current plans for Linux support (I have not tried to install the Mojo platform on a Pi), but nonetheless this Github issue may represent a tracking point to insure that Mojo does work on a Pi. I know that the Raspberry Pi organization would be very supportive of this effort, especially in terms of offering yet another educational opportunity for students to program on their platform.

What is your motivation for this change?

Raspberry Pis are ubiquitous in the DIY and Maker communities for their cost and ease of use. Mojo support for this platform would not only offer a broad (and large) audience the opportunity to use the language, but engages a community of contributors who would gladly invest time in improving/furthering the goals of Modular and Mojo.

Any other details?

No response

@mikekppp mikekppp added enhancement New feature or request mojo Issues that are related to mojo labels Sep 28, 2023
@mikekppp
Copy link
Author

mikekppp commented Nov 2, 2023

@mikekppp
Copy link
Author

mikekppp commented Nov 2, 2023

I would differentiate my request in terms of putting together a nice package for the RPi (and similar ARM-based SBCs). Python is already a significant learning tool on this platform, so this is more than just making sure Mojo works on ARM64 Linux.

@LCrossman
Copy link

I am totally keen on this!

Raspberry Pi 5 specs:
64-bit quad core Cortex A76 processor
8GB LPDDR4X SDRAM

sudo apt install modular
E: unable to locate package modular

@hacknug
Copy link

hacknug commented Apr 5, 2024

According to #1093 support for arm64 was added in v24.01. There is no mention of it on the changelog so I'm not sure if this can be closed or not.

@johndelavega
Copy link

According to #1093 support for arm64 was added in v24.01. There is no mention of it on the changelog so I'm not sure if this can be closed or not.

Has anyone tried running a binary generated for arm64 on Raspberry Pi?
A simple Hello World is a good start.
A host computer builder need not be Pi for now.

@LCrossman
Copy link

Hi, I have installed modular and mojo
Linux raspberrypi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux
for Debian Bookworm aarch64 on Raspberry Pi 5
mojo-aarch64-unknown-linux-gnu-24.2.0-c2427bc5-release-11-0.tar.gz
and can confirm mojo is running hello world
under mojo --version mojo 24.2.0

pi@raspberrypi:~ $ mojo hello.mojo
Hello, world!

@ematejska ematejska added the mojo-repo Tag all issues with this label label Apr 29, 2024
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
@walter-erquinigo
Copy link
Contributor

Thank you for reporting this. I'm closing this for now. Eventually we'll include other OS - architectures.

@walter-erquinigo walter-erquinigo self-assigned this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mojo Issues that are related to mojo mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

6 participants