TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Initial M1 support merged into Linux SoC tree

657 点作者 _xrjp大约 4 年前

18 条评论

marcan_42大约 4 年前
Hi HN! I wrote an article about this initial support series and what it took to make things work properly on this machine:<p><a href="https:&#x2F;&#x2F;asahilinux.org&#x2F;2021&#x2F;03&#x2F;progress-report-january-february-2021&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;asahilinux.org&#x2F;2021&#x2F;03&#x2F;progress-report-january-febru...</a><p>It still applies to what got merged; the past month was spent on clean-ups, fixes, and review feedback, but there are no major changes to the approach. This initial merge was quite complex as it has to touch a number of subsystems and core kernel code in order to support the M1&#x27;s quirks, and it was CCed to ~20 people. Now that it&#x27;s done we can more efficiently work on individual drivers and subsystems, so I expect the pace to pick up.<p>If you would like to support my work on this project, I do have a Patreon: <a href="https:&#x2F;&#x2F;www.patreon.com&#x2F;marcan" rel="nofollow">https:&#x2F;&#x2F;www.patreon.com&#x2F;marcan</a><p>I also streamed initial development on YouTube and will be resuming streams next week (patch feedback and git rebasing and munging doesn&#x27;t make for very interesting streams, but now I&#x27;m back to coding). Coming up I have some driver support other people have been working on, and then I&#x27;ll be writing a minimal hypervisor that can run macOS as a guest, to help reverse engineer the hardware - this will be important for reverse engineering more complex drivers cleanly, especially the GPU kernel side.<p>Until now we&#x27;ve used a serial cable to debug&#x2F;load kernels (needs a DIY arduino thing, an proper design I&#x27;m working on which is still vapourware, or another M1 box), but Sven added support for the USB device controller and I&#x27;ll merge it into our bootloader soon, so from this point on anyone will be able to do quick kernel iteration, debugging, and hardware exploration with just a standard USB cable and any other host machine.
评论 #26747991 未加载
评论 #26754788 未加载
评论 #26749810 未加载
评论 #26749057 未加载
redm大约 4 年前
After reading articles last year on Linus insinuating it would be &quot;unlikely&quot; that Linux would appear on the M1 [1] [2], I drank the cool-aid and took that at face value.<p>I guess I should have known better, just like nature, open source &quot;finds a way&quot;.<p>[1] <a href="https:&#x2F;&#x2F;www.realworldtech.com&#x2F;forum&#x2F;?threadid=196533&amp;curpostid=196570" rel="nofollow">https:&#x2F;&#x2F;www.realworldtech.com&#x2F;forum&#x2F;?threadid=196533&amp;curpost...</a><p>[2] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25216680" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25216680</a><p>etc..
评论 #26753055 未加载
评论 #26752794 未加载
评论 #26752598 未加载
评论 #26750948 未加载
评论 #26785917 未加载
评论 #26754409 未加载
评论 #26751659 未加载
评论 #26751538 未加载
conradev大约 4 年前
If you want a summary of the changes that were made you can find it here:<p><a href="https:&#x2F;&#x2F;asahilinux.org&#x2F;2021&#x2F;03&#x2F;progress-report-january-february-2021&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;asahilinux.org&#x2F;2021&#x2F;03&#x2F;progress-report-january-febru...</a>
stepbeek大约 4 年前
Will this have an impact of tools that depend on linux like docker on mac? Maybe android emulation? If so, then I&#x27;m super excited for it.<p>I&#x27;m using an m1 macbook air right now and it&#x27;s the first compelling mac laptop for me since 2015. It&#x27;s absolutely amazing. But for any workload that uses docker, my linux desktop is streets ahead.
评论 #26748321 未加载
评论 #26747868 未加载
LeonM大约 4 年前
Why does this merge also delete all sorts of (seemingly) unrelated files? Like the &#x27;rocket&#x27; and &#x27;Cyclades&#x27; drivers in this case.
评论 #26751399 未加载
评论 #26748662 未加载
评论 #26748423 未加载
评论 #26751119 未加载
Ericson2314大约 4 年前
It would be wonderful if someday some Pine64 device can take advantage of some of the stuff here. They will never get Apple chips of course, but some of general purpose cleanups I mean.<p>(Thinking back to the stuff in <a href="https:&#x2F;&#x2F;asahilinux.org&#x2F;2021&#x2F;03&#x2F;progress-report-january-february-2021&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;asahilinux.org&#x2F;2021&#x2F;03&#x2F;progress-report-january-febru...</a>)
评论 #26754810 未加载
chociej大约 4 年前
For the many of you mentioning poor Linux support on the T2 macbooks, check out t2linux.org. They&#x27;re doing good work but I&#x27;m sure could use some help.<p>I too would love an MBP than could run Linux well.
评论 #26755794 未加载
fxtentacle大约 4 年前
I sincerely hope that one day, Linux GUI land will receive similar amounts of work as the kernel.<p>While it&#x27;s great that we can boot it on pretty much every device out there, I would much prefer if it was a viable Windows alternative on a few devices instead.<p>Just yesterday, I plugged an external screen into my Ubuntu laptop. And then I had to duck-duck for like an hour to figure out how to make the fonts large enough to be readable again.<p>And why doesn&#x27;t the file browser reliably show me all the files in a folder? Sometimes, the first file in alphabetical order is just omitted.<p>I sincerely want to like Linux for Desktop as much as I love it on servers. But the fact is, OSX and Windows just make you so much more productive, because things just work.
评论 #26747624 未加载
评论 #26748792 未加载
评论 #26747554 未加载
评论 #26747935 未加载
评论 #26748979 未加载
评论 #26747547 未加载
评论 #26747531 未加载
评论 #26748952 未加载
评论 #26748602 未加载
评论 #26747606 未加载
apatheticonion大约 4 年前
I say this as a long-time PC user; MacBook laptop hardware is unrivaled in the PC space (trackpad, screen and keyboard - not pure price&#x2F;performance).<p>Having any distro running Gnome 40 with full gesture support would be seriously compelling for daily driving.
评论 #26748017 未加载
评论 #26747948 未加载
评论 #26750057 未加载
评论 #26752749 未加载
评论 #26747791 未加载
jari_mustonen大约 4 年前
Would someone familiar with the porting effort tell what where the major obstacles and breakthroughs. It would also be interesting to hear what methods were used in the process and who are the people behind the effort.<p>Thank you in advance. You will find appreciative audience here in HN for such engineering porn.
评论 #26747403 未加载
评论 #26747905 未加载
tumblewit大约 4 年前
Macbooks make one of the good linux laptops (the ones that have support like older retina macbooks). And the truth is Macbook Air is one of the handful ARM consumer laptops you can easily buy right now even though ARM is the superior everyday computing platform to x86. What a weird time in personal computers.
评论 #26747220 未加载
评论 #26747204 未加载
评论 #26747311 未加载
varispeed大约 4 年前
Did Apple pay anything for this? If not, they should.
评论 #26748177 未加载
评论 #26747461 未加载
评论 #26747855 未加载
strange_things大约 4 年前
This is very anecdotal but every single laptop I have bought in the last 10 years (4) worked perfectly out-of-the box with either Linux Mint or Ubuntu (which are the same on the inside). I only vaguely remember once I had to change some conf file for my trackpad to work after a dist update but that was it.<p>Not sure why everyone in this thread is so hesitant about Linux on a laptop? It literally just works (tm) for me and I haven’t used windows for 10 years and will never have a personal Mac.
评论 #26747339 未加载
评论 #26747521 未加载
评论 #26747501 未加载
评论 #26747940 未加载
评论 #26747388 未加载
评论 #26747327 未加载
评论 #26747304 未加载
评论 #26747717 未加载
评论 #26747493 未加载
评论 #26747853 未加载
评论 #26747602 未加载
评论 #26747675 未加载
评论 #26748559 未加载
评论 #26747326 未加载
评论 #26748818 未加载
评论 #26747333 未加载
评论 #26747376 未加载
评论 #26747530 未加载
评论 #26747292 未加载
评论 #26748484 未加载
评论 #26747667 未加载
评论 #26748304 未加载
评论 #26747897 未加载
评论 #26749858 未加载
评论 #26748584 未加载
评论 #26750922 未加载
评论 #26747576 未加载
评论 #26747977 未加载
评论 #26748496 未加载
评论 #26748029 未加载
评论 #26747713 未加载
curiousgal大约 4 年前
Maybe I am being over cynical by isn&#x27;t this a huge waste of time given that Apple can &quot;pull the plug&quot; at any time? They want to control everything that runs on their chips so why bother?
评论 #26747270 未加载
评论 #26747299 未加载
评论 #26747277 未加载
评论 #26748477 未加载
评论 #26747268 未加载
评论 #26747276 未加载
评论 #26747473 未加载
rurban大约 4 年前
See, even linux has these corporate branch squashers, mixing completely unrelated patches into their feature branch. Here the m1-support feature included the unrelated removal of Cyclades, ISIcom and RocketPort&#x2F;RocketModem.
评论 #26748785 未加载
peter_retief大约 4 年前
Is this Mac for Linux? I am not totally sure what this is about.
评论 #26747202 未加载
评论 #26747187 未加载
chubs大约 4 年前
Somewhat related: I&#x27;m super curious if M1&#x27;s advantages would melt away if Intel simply fabbed their current designs on TSMC&#x27;s 5nm process, to have a level playing field between Intel and Apple&#x27;s chip designers.
评论 #26747223 未加载
评论 #26747312 未加载
评论 #26747556 未加载
评论 #26747251 未加载
533474大约 4 年前
Why do we still buy macs? Apple can pull the plug anytime. Kudos yo the huge undertaking but I personally think we wouldn&#x27;t need this type of gargatuan effort if we just refused to buy macs without linux support. Why support such a closed system?, enlighten me...
评论 #26747613 未加载
评论 #26752921 未加载
评论 #26747578 未加载
评论 #26747947 未加载
评论 #26748121 未加载
评论 #26752377 未加载