3.5 hours until my talk about #asahilinux which will be recorded and also live streamed at https://streaming.media.ccc.de/39c3/one
Sven Peter
forward/reverse engineer • porting Linux to Apple Silicon (AsahiLinux) • former console hacker (Homebrew Channel, BootMii, WiiU and PS3) • part of fail0verflow • he/him
header picture by @yawnbox@disobey.net
I've finally just submitted the RFC series for USB3 support on Apple Silicon machines. RFC because the entire Type-C machinery spans multiple subsystems and has quite a few quirks which makes the entire thing rather annoying to deal with and I'm not 100% convinced about the current approach.
This also includes some initial work for DisplayPort-altmode and USB4/Thunderbolt but both will require much more work after this is upstream, so don't get your hopes up just yet.
https://lore.kernel.org/asahi/20250821-atcphy-6-17-v1-0-172beda182b8@kernel.org/
Looks like M4 support for #asahilinux is going be rather painful. We’re still focusing on upstreaming M1/M2 support but other people have been trying to bring up m1n1 on M4 and it looks like a few things changed:
When configuring a macho boot object we now get dropped into an environment where Apple’s SPTM is running in GL2 and we are supposed to talk to it from EL2 with MMU already enabled to setup pagetables. This neither works for Linux nor for running XNU under our hypervisor to reverse engineer the new hardware.
When configuring a raw boot object we’re dropped into EL2 with GL2 and most (all?) Apple specific extensions disabled. This is totally fine for Linux but we can’t run XNU under our hypervisor that we use to reverse engineer the hardware in this state. This also seems to be broken for >=15.2 right now because it probably isn’t very well tested 😕
Looks like I'll be at #FOSDEM this year! I will probably arrive Friday evening and leave Sunday afternoon. Happy to meet and chat about #asahilinux or anything else.
I blame @vbabka@mastodon.social, @ljs@mastodonapp.uk and @neal@social.gompa.me for luring me there :D