Elektrine lite

← Feed

@sven@social.treehouse.systems

2025-04-04 06:15 UTC

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 😕

Replies (8)

  • @sven does this mean you have to fallback to reverse engineering/kernel auditing ? or is there a path for m1n1 to function as normal ? I guess it is too early to say… but would certainly prefer the hypervisor path.. Keep up the good work and community progress !

    Open ##1461833

  • @torsteinv@mastodon.social 2025-04-04 10:10

    @sven i'm sad to call it, but without Hector i predict the semi slow death of this project now. M4 being the first proper roadblock and M1 and M2 still being a focus of development, when M3 has been out a while and M4 just released. I think the project just simply is drowning in todos and can't keep up. i hope im wrong. i'm not a developer so i don't know. just a gut feeling.

    Open ##1461835

  • @Charles@gascoigne.social 2025-04-04 21:18

    @sven Thanks for your work. (I understood about 10% of all that, but I use Asahi every day on my M2!)

    Open ##1461846

  • @kkarhan@infosec.space 2025-04-08 14:45

    @sven I wished #Apple.would.release proper documentation re: #3rdPartyOS support or at least have some good way to boot stuff that isn't their bespoke #Darwin / #NextStep +#BSD distro aka. #macOS.

    Open ##1461847

  • @sven Not being able to run custom code in GL2 is unfortunate. I could see all sorts of uses for such code in something like Qubes OS or Spectrum.

    Open ##1461848

  • @Kohlrabe@social.tchncs.de 2025-04-11 08:15

    @sven Thank you for this information. It is great to hear that someone is actually working on M4! I cant wait to ditch macos from my system once asahi is in a usable state ...

    Open ##1461849

  • @sven is this same change applicable to M3 as well? Has there been any more progress in the 3 months since you posted this?

    Open ##1461851

  • @liangqi@mastodon.social 2025-09-10 10:41

    @sven Based on https://support.apple.com/en-au/guide/security/sec8b776536b/web , Secure Page Table Monitor was added from M2.

    Open ##1461853