Language Selection

English French German Italian Portuguese Spanish

Aha! This Project is Working to Bring Linux to Apple’s ARM-based M1 MacBooks

Filed under
News

A community project that aims to port Linux to Apple Silicon Macs, starting with the 2020 M1 Mac Mini, MacBook Air, and MacBook Pro.
Read more

Alyssa Rosenzweig's post

  • Alyssa Rosenzweig: Dissecting the Apple M1 GPU, part I

    Apple’s latest line of Macs includes their in-house “M1” system-on-chip, featuring a custom GPU. This poses a problem for those of us in the Asahi Linux project who wish to run Linux on our devices, as this custom Apple GPU has neither public documentation nor open source drivers. Some speculate it might descend from PowerVR GPUs, as used in older iPhones, while others believe the GPU to be completely custom. But rumours and speculations are no fun when we can peek under the hood ourselves!

    A few weeks ago, I purchased a Mac Mini with an M1 GPU as a development target to study the instruction set and command stream, to understand the GPU’s architecture at a level not previously publicly understood, and ultimately to accelerate the development of a Mesa driver for the hardware. Today I’ve reached my first milestone: I now understand enough of the instruction set to disassemble simple shaders with a free and open-source tool chain, released on GitHub here.

Outsourcing to Microsoft/Proprietary (GitHub)

  • Early Work Is Underway On Reverse-Engineering The Apple M1 GPU - Phoronix

    Alyssa Rosenzweig who is known for her work on reverse-engineering Arm GPUs and in particular the multi-year effort so far working on the Panfrost open-source driver stack has taken up an interest in Apple's M1 graphics processor.

    Over the past few weeks Alyssa began exploring the M1 GPU with a new Apple Mac Mini. The ultimate goal she hopes is to create a Mesa driver for the M1 GPU, which will be critical if the Linux efforts to get the new SoC/devices working outside of macOS are to succeed... Without a fully-working GPU, Linux on the Apple M1 devices won't do much good for desktop/mobile use-cases.

Getting Linux running properly on Apple M1 Silicon

  • Getting Linux running properly on Apple M1 Silicon has begun with Asahi Linux

    Asahi Linux is the name of a new project aiming to get Linux properly supported and working on Apple Silicon, the new ARM based chips designed by Apple like the Apple M1 found in their latest hardware.

    This is being spearheaded by Hector Martin "marcan", who some will recognise due to their work involved in porting Linux to the Sony PlayStation 4. It's a crowdfunded effort, with Martin putting up a Patreon campaign which has now hit enough funding for the work to begin. Martin also has a GitHub Sponsor account, with plenty backing there too.

Linux on Apple's Arm silicon Macs?

  • Linux on Apple's Arm silicon Macs? This crowdfunded project wants to give it a try

    A crowdfunded project has launched that aims to to port Linux to Apple's new Arm-based silicon Macs.

    Hector Martin, a Tokyo-based IT security consultant by day and hacker by night, has kicked off what he is calling the Asahi Linux project.

  • Crowdfunded Asahi project aims for 'polished' Linux experience on Apple Silicon

    Martin said that "Apple allows booting unsigned/custom kernels on Apple Silicon Macs without a jailbreak," which he takes as evidence that "Apple does not intend to lock down what OS you can use."

    Apple does control the boot process and firmware on its Secure Enclave Processor, but, according to Martin, this is no more restrictive than modern PCs.

    "In fact, mainstream x86 platforms are arguably more intrusive, as the proprietary UEFI firmware is allowed to steal the main CPU from the OS at any time via SMM interrupts, which is not the case on Apple Silicon Macs," he said.

    Linus Torvalds said last year that he would welcome Linux on Apple Silicon. "I'd absolutely love to have one, if it just ran Linux... I've been waiting for an ARM laptop that can run Linux for a long time. The new Air would be almost perfect, except for the OS. And I don't have the time to tinker with it, or the inclination to fight companies that don't want to help."

    Whether or not it is via this project, the ability to run Linux on Apple Silicon is significant for software freedom. Apple Silicon is a hardware breakthrough, outperforming x86 PCs, but Apple is making MacOS in some respects more like iOS, encouraging users to install software from a store gated by Apple.

Could this ambitious project see Linux on Apple M1 Macs?

  • Could this ambitious project see Linux on Apple M1 Macs?

    Experienced Linux porter Hector Martin has kicked off work on bringing Linux to the new Apple M1 Macs. His endeavor is named Asahi after the Japanese name for the McIntosh apple.

    Martin has been porting Linux to other devices for a long time, and is popular for getting the open source kernel to work on the PS4 with full OpenGL/Vulkan graphics support along with the ability to run Steam.

    With Asahi, Martin will first target the M1 Mac Mini, but assures that “all Apple M1 macs are in scope, as well as future generations as development time permits.”

What must be done to bring Linux to the Apple M1 chips

  • What must be done to bring Linux to the Apple M1 chips

    Everyone loves Apple's new M1 chip Macs. Even Linux's creator Linus Torvalds has said "I'd absolutely love to have one if it just ran Linux." And, recently, Hector Martin, a Tokyo-based IT security consultant and hacker, is leading the crowd-funded Asahi Linux project to bring the Arch Linux distro to Apple's ARM-based M1 architecture. But, in an e-mail interview, Greg Kroah-Hartman (gregkh), the Linux kernel maintainer for the stable branch and leader of the Linux Driver Project, said Asahi's programmers will face "lots of work in figuring out the hardware connected to the CPU (i.e.driver stuff)."

Corellium Posts Very Early Linux Port To Apple M1 Macs

  • Corellium Posts Very Early Linux Port To Apple M1 Macs

    Apple-focused security/virtualization startup Corellium has posted a very primitive build of Linux for Apple M1 Mac devices.

    Corellium is one of several efforts working to bring bare metal Linux to Apple's new ARM based systems. This week the developers involved got the Linux kernel booting on M1 Macs but still is in early form. In fact, the initial build does not have working USB yet but that is said to be imminent. Obviously this is also only booting in console mode and any Apple M1 graphics support will be a long way out... It's probably unlikely seeing a satisfactory Linux desktop experience on Apple M1 hardware in 2021.

Linux M1 Chip Mac: Corellium Releases Early Beta of New OS

  • Linux M1 Chip Mac: Corellium Releases Early Beta of New OS for Download

    Linux is a developer-preferred operating system that differs from the more user-friendly OS in the world, which is the Microsoft Windows and Apple Mac. The operating system faced the trials of time, usability, and number of users, to which it did not falter, and remained to be one of the most preferred, being a kernel that eluded UNIX and its core code.

    The company that is known for creating a bug finder in Apple's operating system (and initially won a lawsuit against the Cupertino giant), Corellium, has developed a Linux OS that can run on the latest ARM-based chip. While macOS 11, also known as the "Big Sur," is the main OS, Apple's Mac also accommodates other OS like Windows and Linux on its platform.

    [...]

    Corellium's Linux for M1 Macs is called the "Linux Macho," which features the early beta stages of the operating system that aims to work on Apple'1 M1-powered Mac computers. This feature would allow users to use the robust powers of the Silicon chip to run Linux and perform or proceed to do their work or what's needed.

    The early beta download of the Linux Macho is available on Corellium's website and is recommended for advanced users who know how to manipulate both the macOS and Linux OS to make it work. Instructions are to follow from Corellium.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.