• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Linux Gets Ported to Apple's M1-Based Devices

AleksandarK

News Editor
Staff member
Joined
Aug 19, 2017
Messages
2,579 (0.97/day)
When Apple introduces its lineup of devices based on the custom Apple Silicon, many people have thought that it represents the end for any further device customization and that Apple is effectively locking-up the ecosystem even more. That is not the case we have today. Usually, developers working on Macs are always in need of another operating system to test their software and try it out. It means that they have to run some virtualization software like virtual machines to test another OS like Linux and possibly Windows. However, it would be a lot easier if they could just boot that OS directly on the device and that is exactly why we are here today.

Researchers from Corellium, a startup company based in Florida, working on ARM device virtualization, have pulled off an incredible feat. They have managed to get Linux running on Apple's M1 custom silicon based devices. The CTO of Corellium, Mr. Chris Wade, has announced that Linux is now fully usable on M1 silicon. The port can take full advantage of the CPU, however, there is no GPU acceleration for now, and graphics are set to the software rendering mode. Corellium also promises to take the changes it made upstream to the Linux kernel itself, meaning open-source and permissive license model. Below you can find an image of Apple M1 Mac Mini running the latest Ubuntu OS build.


View at TechPowerUp Main Site
 

FreedomEclipse

~Technological Technocrat~
Joined
Apr 20, 2007
Messages
24,045 (3.74/day)
Location
London,UK
System Name DarnGosh Edition
Processor AMD 7800X3D
Motherboard MSI X670E GAMING PLUS
Cooling Thermalright AM5 Contact Frame + Phantom Spirit 120SE
Memory G.Skill Trident Z5 NEO DDR5 6000 CL32-38-38-96
Video Card(s) Asus Dual Radeon™ RX 6700 XT OC Edition
Storage WD SN770 1TB (Boot)| 2x 2TB WD SN770 (Gaming)| 2x 2TB Crucial BX500| 2x 3TB Toshiba DT01ACA300
Display(s) LG GP850-B
Case Corsair 760T (White) {1xCorsair ML120 Pro|5xML140 Pro}
Audio Device(s) Yamaha RX-V573|Speakers: JBL Control One|Auna 300-CN|Wharfedale Diamond SW150
Power Supply Seasonic Focus GX-850 80+ GOLD
Mouse Logitech G502 X
Keyboard Duckyshine Dead LED(s) III
Software Windows 11 Home
Benchmark Scores ლ(ಠ益ಠ)ლ
Imagine if some people managed to port Android over to it and turn their macbook into a chromebook.
 
Joined
Feb 3, 2017
Messages
3,747 (1.32/day)
Processor Ryzen 7800X3D
Motherboard ROG STRIX B650E-F GAMING WIFI
Memory 2x16GB G.Skill Flare X5 DDR5-6000 CL36 (F5-6000J3636F16GX2-FX5)
Video Card(s) INNO3D GeForce RTX™ 4070 Ti SUPER TWIN X2
Storage 2TB Samsung 980 PRO, 4TB WD Black SN850X
Display(s) 42" LG C2 OLED, 27" ASUS PG279Q
Case Thermaltake Core P5
Power Supply Fractal Design Ion+ Platinum 760W
Mouse Corsair Dark Core RGB Pro SE
Keyboard Corsair K100 RGB
VR HMD HTC Vive Cosmos
Isn't M1 basically ARM, so they managed to get M1 to boot something custom (which is no small feat)?
If GPU does not work and there is no word on any additional ASIC support, then "ported" is a strong word.
 
Joined
Jul 24, 2009
Messages
1,002 (0.18/day)
Isn't M1 basically ARM, so they managed to get M1 to boot something custom (which is no small feat)?
If GPU does not work and there is no word on any additional ASIC support, then "ported" is a strong word.

It is ARM SoC with x64 ARM extension. And yes, its ported when it actually is a system, not half of it (if its half even).

But it will probably happen, eventually.
 
Joined
Dec 16, 2017
Messages
2,912 (1.15/day)
System Name System V
Processor AMD Ryzen 5 3600
Motherboard Asus Prime X570-P
Cooling Cooler Master Hyper 212 // a bunch of 120 mm Xigmatek 1500 RPM fans (2 ins, 3 outs)
Memory 2x8GB Ballistix Sport LT 3200 MHz (BLS8G4D32AESCK.M8FE) (CL16-18-18-36)
Video Card(s) Gigabyte AORUS Radeon RX 580 8 GB
Storage SHFS37A240G / DT01ACA200 / ST10000VN0008 / ST8000VN004 / SA400S37960G / SNV21000G / NM620 2TB
Display(s) LG 22MP55 IPS Display
Case NZXT Source 210
Audio Device(s) Logitech G430 Headset
Power Supply Corsair CX650M
Software Whatever build of Windows 11 is being served in Canary channel at the time.
Benchmark Scores Corona 1.3: 3120620 r/s Cinebench R20: 3355 FireStrike: 12490 TimeSpy: 4624
I'm gonna be a party pooper and ask how long until Apple decides to lock down the whole thing for real...
 
Joined
Sep 15, 2011
Messages
6,716 (1.39/day)
Processor Intel® Core™ i7-13700K
Motherboard Gigabyte Z790 Aorus Elite AX
Cooling Noctua NH-D15
Memory 32GB(2x16) DDR5@6600MHz G-Skill Trident Z5
Video Card(s) ZOTAC GAMING GeForce RTX 3080 AMP Holo
Storage 2TB SK Platinum P41 SSD + 4TB SanDisk Ultra SSD + 500GB Samsung 840 EVO SSD
Display(s) Acer Predator X34 3440x1440@100Hz G-Sync
Case NZXT PHANTOM410-BK
Audio Device(s) Creative X-Fi Titanium PCIe
Power Supply Corsair 850W
Mouse Logitech Hero G502 SE
Software Windows 11 Pro - 64bit
Benchmark Scores 30FPS in NFS:Rivals
Android, OSX, are all Linux based anyways. What's the big deal?
 
Joined
Jul 4, 2015
Messages
202 (0.06/day)
Processor Intel I7 6700
Motherboard Msi Z170i Pro Gaming AC
Cooling Be Quiet Shadow Rock LP
Memory Corsair LPX 16GB
Video Card(s) Gigabyte 980ti Extreme Gaming W3
Storage Samsung Evo 850 500GB + 250GB
Display(s) 3x Dell Ultrasharp U2515H
Case Ncase M1
Power Supply Sharkoon Silentstorm SFX
Mouse Logitech MX Master, Steelseries Rival 300
Keyboard Corsair K65RGB
Software Win 10
I'm gonna be a party pooper and ask how long until Apple decides to lock down the whole thing for real...
MacOS has never been very locked down, and the circlejerk that bootcamp was removed on M1 Mac's have nothing to do with Apple wanting to block windows from being installed, but rather a licensing issue from Microsoft's side as highlighted in this interview.

Snippet from the article;

As for Windows running natively on the machine, "that's really up to Microsoft," he said. "We have the core technologies for them to do that, to run their ARM version of Windows, which in turn of course supports x86 user mode applications. But that's a decision Microsoft has to make, to bring to license that technology for users to run on these Macs. But the Macs are certainly very capable of it."
 
Joined
Jul 16, 2014
Messages
8,198 (2.17/day)
Location
SE Michigan
System Name Dumbass
Processor AMD Ryzen 7800X3D
Motherboard ASUS TUF gaming B650
Cooling Artic Liquid Freezer 2 - 420mm
Memory G.Skill Sniper 32gb DDR5 6000
Video Card(s) GreenTeam 4070 ti super 16gb
Storage Samsung EVO 500gb & 1Tb, 2tb HDD, 500gb WD Black
Display(s) 1x Nixeus NX_EDG27, 2x Dell S2440L (16:9)
Case Phanteks Enthoo Primo w/8 140mm SP Fans
Audio Device(s) onboard (realtek?) - SPKRS:Logitech Z623 200w 2.1
Power Supply Corsair HX1000i
Mouse Steeseries Esports Wireless
Keyboard Corsair K100
Software windows 10 H
Benchmark Scores https://i.imgur.com/aoz3vWY.jpg?2
Imagine if some people managed to port Android over to it and turn their macbook into a chromebook.
That would almost worth the price of admission
 
Joined
Mar 20, 2019
Messages
556 (0.27/day)
Processor 9600k
Motherboard MSI Z390I Gaming EDGE AC
Cooling Scythe Mugen 5
Memory 32GB of G.Skill Ripjaws V 3600MHz CL16
Video Card(s) MSI 3080 Ventus OC
Storage 2x Intel 660p 1TB
Display(s) Acer CG437KP
Case Streacom BC1 mini
Audio Device(s) Topping MX3
Power Supply Corsair RM750
Mouse R.A.T. DWS
Keyboard HAVIT KB487L / AKKO 3098 / Logitech G19
VR HMD HTC Vive
Benchmark Scores What's a "benchmark"?
I'm gonna be a party pooper and ask how long until Apple decides to lock down the whole thing for real...
It's not about a company doing good things for the sake of doing good things, it's about a small company getting on all fours moaning "buy us, oh yes please buy us, we will do nice things for you". This is the sad state of the market that corporate superiority brought us. Small companies exist for the sole purpose of exiting the market, as in, getting bought by a corporation. You can mark my words, in ten or twenty years there will be no small companies, only a select few corporations which will basically own everything.
 
Joined
Dec 16, 2017
Messages
2,912 (1.15/day)
System Name System V
Processor AMD Ryzen 5 3600
Motherboard Asus Prime X570-P
Cooling Cooler Master Hyper 212 // a bunch of 120 mm Xigmatek 1500 RPM fans (2 ins, 3 outs)
Memory 2x8GB Ballistix Sport LT 3200 MHz (BLS8G4D32AESCK.M8FE) (CL16-18-18-36)
Video Card(s) Gigabyte AORUS Radeon RX 580 8 GB
Storage SHFS37A240G / DT01ACA200 / ST10000VN0008 / ST8000VN004 / SA400S37960G / SNV21000G / NM620 2TB
Display(s) LG 22MP55 IPS Display
Case NZXT Source 210
Audio Device(s) Logitech G430 Headset
Power Supply Corsair CX650M
Software Whatever build of Windows 11 is being served in Canary channel at the time.
Benchmark Scores Corona 1.3: 3120620 r/s Cinebench R20: 3355 FireStrike: 12490 TimeSpy: 4624
Android, OSX, are all Linux based anyways. What's the big deal?
Uh, wasn't OSX/macOS based on Mach NEXTSTEP/OPENSTEP, which is itself based on Unix, and has apparently been influenced by Sun's Solaris and BSD? Or so I remember, at least..

MacOS has never been very locked down, and the circlejerk that bootcamp was removed on M1 Mac's have nothing to do with Apple wanting to block windows from being installed, but rather a licensing issue from Microsoft's side as highlighted in this interview.

Snippet from the article;

As for Windows running natively on the machine, "that's really up to Microsoft," he said. "We have the core technologies for them to do that, to run their ARM version of Windows, which in turn of course supports x86 user mode applications. But that's a decision Microsoft has to make, to bring to license that technology for users to run on these Macs. But the Macs are certainly very capable of it."
Ah. Point taken. Though I still expect them to impose some weird requisite like having their code signed by Apple for anything to boot.

It's not about a company doing good things for the sake of doing good things, it's about a small company getting on all fours moaning "buy us, oh yes please buy us, we will do nice things for you". This is the sad state of the market that corporate superiority brought us. Small companies exist for the sole purpose of exiting the market, as in, getting bought by a corporation. You can mark my words, in ten or twenty years there will be no small companies, only a select few corporations which will basically own everything.
I hope your prediction is wrong. That will make everything stagnate.
 
Joined
Jan 3, 2021
Messages
3,484 (2.46/day)
Location
Slovenia
Processor i5-6600K
Motherboard Asus Z170A
Cooling some cheap Cooler Master Hyper 103 or similar
Memory 16GB DDR4-2400
Video Card(s) IGP
Storage Samsung 850 EVO 250GB
Display(s) 2x Oldell 24" 1920x1200
Case Bitfenix Nova white windowless non-mesh
Audio Device(s) E-mu 1212m PCI
Power Supply Seasonic G-360
Mouse Logitech Marble trackball, never had a mouse
Keyboard Key Tronic KT2000, no Win key because 1994
Software Oldwin
GPU? GUI? I thought Linux fans use command line.
 
Joined
Aug 20, 2007
Messages
21,451 (3.40/day)
System Name Pioneer
Processor Ryzen R9 9950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64 / Windows 11 Enterprise IoT 2024
Android, OSX, are all Linux based anyways. What's the big deal?
OSX is not Linux based. It's Mach Based, which is a Unix derivative.

Uh, wasn't OSX/macOS based on Mach NEXTSTEP/OPENSTEP, which is itself based on Unix, and has apparently been influenced by Sun's Solaris and BSD? Or so I remember, at least..
Good man, beat me to it.

But still accurate.

Linux ported to M1 should be a surprise to no one.
It surprises me the M1 is not using a signature enforced bootloader.
 

Mussels

Freshwater Moderator
Joined
Oct 6, 2004
Messages
58,413 (7.95/day)
Location
Oystralia
System Name Rainbow Sparkles (Power efficient, <350W gaming load)
Processor Ryzen R7 5800x3D (Undervolted, 4.45GHz all core)
Motherboard Asus x570-F (BIOS Modded)
Cooling Alphacool Apex UV - Alphacool Eisblock XPX Aurora + EK Quantum ARGB 3090 w/ active backplate
Memory 2x32GB DDR4 3600 Corsair Vengeance RGB @3866 C18-22-22-22-42 TRFC704 (1.4V Hynix MJR - SoC 1.15V)
Video Card(s) Galax RTX 3090 SG 24GB: Underclocked to 1700Mhz 0.750v (375W down to 250W))
Storage 2TB WD SN850 NVME + 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000P NVME USB 3.2
Display(s) Phillips 32 32M1N5800A (4k144), LG 32" (4K60) | Gigabyte G32QC (2k165) | Phillips 328m6fjrmb (2K144)
Case Fractal Design R6
Audio Device(s) Logitech G560 | Corsair Void pro RGB |Blue Yeti mic
Power Supply Fractal Ion+ 2 860W (Platinum) (This thing is God-tier. Silent and TINY)
Mouse Logitech G Pro wireless + Steelseries Prisma XL
Keyboard Razer Huntsman TE ( Sexy white keycaps)
VR HMD Oculus Rift S + Quest 2
Software Windows 11 pro x64 (Yes, it's genuinely a good OS) OpenRGB - ditch the branded bloatware!
Benchmark Scores Nyooom.
Ooooh, this might make these machines less useless
 
Joined
Dec 9, 2007
Messages
38 (0.01/day)
System Name Boris
Processor C2D Q6600 @ 3.6ghz 24/7 H20
Motherboard Gigabyte GA-X48-DS4
Cooling 2x240mm + 1x120mm + 1x360mm rads one loop.
Memory 4gb Corsair XMS2 6400 @ 1100mhz
Video Card(s) 2x ASUS HD4870 XFire H20
Storage 2x320gb Seagates
Display(s) 2 x 22" AOC + 1 x 24" AOC extended desktop
Case Boris
Audio Device(s) X-Fi xtreme music
Power Supply Enermax Liberty 620W
Software Vista x64
Benchmark Scores 1 Penis push up, then it broke.
Imagine if some people managed to port Android over to it and turn their macbook into a chromebook.
ChromeOS is Linux, not Android. Would make much more sense just to port ChromeOS to the device.
 
Joined
Jul 5, 2013
Messages
27,689 (6.66/day)
It's Mach Based, which is a Unix derivative.
I thought it was BSD based(which is itself Unix based)?
Uh, wasn't OSX/macOS based on Mach NEXTSTEP/OPENSTEP, which is itself based on Unix
Or this.

It surprises me the M1 is not using a signature enforced bootloader.
Apple is in enough trouble with the feds right now. Pissing off the FCC is not a smart move.
 
Joined
Jan 3, 2021
Messages
3,484 (2.46/day)
Location
Slovenia
Processor i5-6600K
Motherboard Asus Z170A
Cooling some cheap Cooler Master Hyper 103 or similar
Memory 16GB DDR4-2400
Video Card(s) IGP
Storage Samsung 850 EVO 250GB
Display(s) 2x Oldell 24" 1920x1200
Case Bitfenix Nova white windowless non-mesh
Audio Device(s) E-mu 1212m PCI
Power Supply Seasonic G-360
Mouse Logitech Marble trackball, never had a mouse
Keyboard Key Tronic KT2000, no Win key because 1994
Software Oldwin
Ah. Point taken. Though I still expect them to impose some weird requisite like having their code signed by Apple for anything to boot.
Apple does not have a history of this kind of bait-and-switch. If the bootloader is open now, it will remain open.

I also think they will release some more technical specifications over time. Not all but some of it, enough to allow Linux run smoothly and use most of the peripherals and power management.
 
Top