Live data from Hacker News

Linux Running on Apple M1

twitter.com

11–20 of 282 posts

Re: Linux Running on Apple M1

#12
Love to see the competition between the projects trying to get linux running on the m1. Though I think they will hit a wall trying to enable GPU support.

I think opening up just enough to enable this effort also serves as some good nerd marketing for Apple. This race keeps the m1 in the news regularly, giving hope to those who want a low-power and performant ARM machine that wouldn't otherwise consider an apple machine.

Re: Linux Running on Apple M1

#13
(Waiting for page to load) "Nice, so they finally got a kernel to boot. I wonder what fancy way they'll be showing the dmesg infor--"

"Oh."

I think I need to recalibrate my idea of a 10x developer...

(The standard would seem to have ratcheted up somewhat as the years have gone by!)

Re: Linux Running on Apple M1

#15
post #6

This is cool but technically I'd say it would need to use the disk in the Mac to be running "on" the Mac.

Why's that? If I netboot Linux on my desktop PC, is it not running "on" my desktop PC? Is the CPU/SoC not the thing on which then operating system is running?

Technically yes. But people want to have an M1 laptop on which they can run Linux. Not a laptop + external disk + other baggage.

Re: Linux Running on Apple M1

#16
post #6

This is cool but technically I'd say it would need to use the disk in the Mac to be running "on" the Mac.

I think running it on disk is probably the least of their worries. As I understand it, the GPU is the biggest hurdle to jump.

Re: Linux Running on Apple M1

#18
post #13

(Waiting for page to load) "Nice, so they finally got a kernel to boot. I wonder what fancy way they'll be showing the dmesg infor--" "Oh." I think I need to recalibrate my idea of a 10x developer... (The standard would seem to have ratcheted up somewhat as the years have gone by!)

When the kernel boots, and you have a framebuffer working, all of userspace and gnome will probably just work with no modifications.

You might have to play shenanigans like copying a complete filesystem into a ramdisk from the bootloader if your kernel doesn't have support for any IO/networking/storage devices. But you'll still be able to get this screenshot!

Having said that, they have USB working, which is quite an effort, although I'd guess it's an IPCore that a driver already existed for, so it was a simple matter of figuring out memory mappings etc. With USB working, you can make a very usable system, because pretty much any peripheral will work over USB.

Re: Linux Running on Apple M1

#19
post #2

Great progress already thanks to Corellium for the M1 linux projects [0][1], the PongoOS project and to all others involved. Getting GPU acceleration is now the real challenge. [0] https://github.com/corellium/preloader-m1 [1] https://github.com/corellium/linux-m1

Can someone explain what a .dts file is?

Re: Linux Running on Apple M1

#20

Love to see the competition between the projects trying to get linux running on the m1. Though I think they will hit a wall trying to enable GPU support. I think opening up just enough to enable this effort also serves as some good nerd marketing for Apple. This race keeps the m1 in the news regularly, giving hope to those who want a low-power and performant ARM machine that wouldn't otherwise consider an apple machi…

What will be interesting though is to measure the raw performance of this initial CPU only rendering. For now on it's a still image we don't know if it's sluggish as hell or actually pretty decent even without a GPU.

If the latest is true that could prove to be another prestige point for the M1.

Post reply on HN