TL;DR
Get the latest gadgets delivered free — and shop member deals
- Fast, free delivery on millions of items
- Access to Prime Big Deal Days deals on October 6–7
- Prime Video, Amazon Music and more included
A developer writing at yuka.dev says they booted Linux to a shell on an M4 Mac mini after working around several low-level hardware and boot issues. The account describes early bring-up work, but does not establish broad hardware support or a generally available Linux installation for M4 Macs.
A developer has reported booting Linux to a shell on an Apple M4 Mac mini, documenting a series of low-level fixes and workarounds in a technical post published at yuka.dev on October 2, 2026. The account is a single developer’s bring-up report, not an announcement of complete or generally available Linux support on Apple Silicon.
The author bought an M4 Mac mini in November 2024 and initially expected it might be supported along lines similar to earlier Apple Silicon systems. They later found that M4 machines require SPTM, or Secure Page Table Monitor, a security feature that complicates the use of m1n1, the hypervisor and boot tool used in Asahi Linux development. The author said adapting m1n1 to run macOS under its hypervisor required work beyond their experience at the time.
Initial Linux experiments exposed locked or restricted hardware behavior. The author reported that m1n1 crashed when trying to initialize GXF in raw boot mode, so they made that initialization conditional. Attempts to write each CPU core’s Reset Vector Base Address Register also caused a crash; the report says the register already held the needed address and the write could be skipped. These changes allowed further debugging, including use of a USB proxy and shell.
After returning to the project around the end of 2025, the author built a minimal device tree and loaded the Linux kernel. With little useful output, they added a one-character debug print to early boot code and traced where output stopped. One problem was that the UART’s memory-mapped I/O address was not available through the mappings used after the memory management unit was enabled. Adding a one-to-one mapping let debugging proceed further. The author then traced another crash to a write to a virtualization-related CPU register; they say newer iBoot versions have since unlocked that register, removing the need for that workaround. After fixing the device tree’s serial-console path, Linux produced early diagnostic output. The author says the kernel then booted to a shell.
What M4 Linux Bring-Up Shows
The report adds a concrete data point for efforts to run mainline Linux on Apple Silicon: on at least one M4 Mac mini, a developer got far enough to reach a Linux shell. That is meaningful because bringing up an operating system on new hardware requires identifying how its boot process, CPU registers, memory mappings, and peripherals behave, rather than simply installing a standard distribution.
For Linux users and developers, the post also records problems other contributors may need to understand, including the impact of SPTM on m1n1 development and the need to account for M4-specific register behavior. But reaching a shell is an early milestone, not evidence that everyday components such as graphics, networking, storage, power management, or all CPU cores work reliably. The report does not claim those features are fully supported.
USB to UART serial console adapter
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
From M4 Experiments to a Shell
The author’s work began after purchasing the Mac mini in November 2024. The post contrasts M4 development with earlier Linux bring-up on Apple Silicon, where developers used m1n1 to capture and analyze interactions between macOS drivers and hardware. The author says SPTM, mandated on M4 machines, made that established approach harder because substantial changes were needed to run macOS under the hypervisor.
The post records a gradual debugging process rather than a single support announcement. In late 2025, the author resumed work, loaded a kernel with a minimal device tree, and used inserted debug output to isolate failures. In January 2026, adding a serial-console path to the device tree enabled useful early kernel logs. The account then turns to starting secondary CPU cores and a further issue involving the WFI instruction, which is where the supplied report excerpt ends.
“After I commented out this write, the kernel booted to a shell.”
— The developer, writing at yuka.dev
Linux development board for Apple Silicon
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Support Beyond the First Shell
The account establishes what the author says worked on their M4 Mac mini, but the supplied material does not show independent confirmation, a reproducible installation guide, or a tested release for other users. It also does not specify which hardware functions were operational after Linux reached a shell or whether the result was stable across repeated boots.
The report excerpt ends while discussing secondary CPU cores and WFI behavior, without giving the resolution or final status of that issue. It is also unclear how much of the work has been incorporated into upstream Linux or m1n1, what changes remain specific to this machine, and when wider M4 support might be available.
Mac mini M4 compatible hardware tools
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Further M4 Testing and Upstream Work
The next steps are not stated in the supplied excerpt. For broader support, developers would need to continue investigating the CPU-core and WFI behavior described at the end of the account, test other M4 hardware configurations, and document which components work beyond the initial shell. Changes would also need review and integration in the relevant Linux and Asahi development projects before users could treat them as standard support.
The author credits the Asahi Linux team for earlier work and assistance and asks readers who want to support continued mainline Linux work on Apple Silicon to consider donating to the Asahi Open Collective. No release date or schedule for general M4 compatibility is provided.
low-level debugging tools for Linux
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
What did the developer achieve on the M4 Mac mini?
The developer says they loaded Linux and reached a shell after addressing several early boot problems. The report does not establish complete device support.
Does this mean Linux is ready for all M4 Macs?
No. The account describes work on one M4 Mac mini and does not provide evidence of broad testing, a supported release, or reliable compatibility across M4 models.
What made Linux bring-up difficult on M4?
The author points to SPTM, register behavior that caused crashes, missing memory mappings for UART output, and device-tree configuration. The supplied excerpt also begins describing an issue involving secondary cores and WFI.
What remains unknown?
The report excerpt does not say which components work after boot, whether the system is stable, how the WFI issue was resolved, or when broader M4 support could be available.
Source: hn
Halloween Picks
halloween
As an affiliate, we earn on qualifying purchases.
