2026-06-12
00:00r0ni has quit [Ping timeout: 480 seconds]
00:05StanfordAppliedCyber[m]macos doesn't boot yet either :)
00:05StanfordAppliedCyber[m]but it will soon
00:06StanfordAppliedCyber[m]driverkit is currently dying, apparently some ringbuffer isn't being populated by the firmware?
00:06StanfordAppliedCyber[m]but i'm so close i can taste it
00:10gargantua has quit [Ping timeout: 480 seconds]
00:21hardy94 has quit [Quit: hardy94]
00:42pb17 has quit [Ping timeout: 480 seconds]
00:45pb17 has joined #asahi-dev
01:02Enver has quit [Quit: Connection closed for inactivity]
01:14truita has quit [Ping timeout: 480 seconds]
01:52gargantua has joined #asahi-dev
01:54michaelros4444559 has quit [Quit: The Lounge - https://thelounge.chat]
01:55michaelros4444559 has joined #asahi-dev
01:59michaelros4444559 has quit []
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:00michaelros4444559 has joined #asahi-dev
02:39tobhe_ has joined #asahi-dev
02:46tobhe has quit [Ping timeout: 480 seconds]
02:47amarioguy has quit [Ping timeout: 480 seconds]
02:56michaelros4444559 has quit [Read error: Connection reset by peer]
02:56michaelros4444559 has joined #asahi-dev
03:23pb17 has quit [Ping timeout: 480 seconds]
03:25marvin24_ has quit [Ping timeout: 480 seconds]
03:27pb17 has joined #asahi-dev
03:39nora has joined #asahi-dev
03:41nora_ has quit [Ping timeout: 480 seconds]
03:43r0ni has joined #asahi-dev
03:58unifiedgravity[m]Hi all, I have been trying to get MacOS 13.5 running under m1n1. Is it correct that I boot the Asahi partition, connect the proxy, and then upload the development kernel? Because from the logs, it appears to try to mount the Linux partition as root, rather than the MacOS one. But the m1n1 which runs when I select "Macintosh HD" does not wait for proxy, despite having boot-args as -v and csrutil disabled. Cheers :)
04:01unifiedgravity[m]Just to clarify, is m1n1 fully supported in M2? I have t8112, not t8101
04:04unifiedgravity[m]Anyways super excited, I will be finishing the Linux Presonus 2626 driver and then hopefully finishing USB4 bring-up for Asahi, if Sven hasn't already done the last 5% since we last spoke.
04:16pendrive010507 has joined #asahi-dev
04:19StanfordAppliedCyber[m]not the asahi partition, make a new volume and do a vanilla macos install, downgrade the security, stick m1n1 on that, then stream the kernelcache
04:19StanfordAppliedCyber[m]disclaimer: i've never done this before, i only have experience on my super weird macbook neo setup
04:20unifiedgravity[m]Thanks. But how to "stick m1n1 on that"? The Asahi installer offers no option of installing m1n1 even in advanced mode.
04:20NiklasSheth[m] has joined #asahi-dev
04:20StanfordAppliedCyber[m]idk how the installer works but my guess is it's meant for regular users not devs
04:20StanfordAppliedCyber[m]just go through 1TR and flash your own m1n1 image
04:22StanfordAppliedCyber[m]like, install macos into some volume, build m1n1, transfer the m1n1 boot object to the volume you want to install m1n1 on, reboot into 1tr and set that that as the default boot volume, reboot into 1TR again, install the image (i think you need to 1TR twice due to the pairing thing)
04:26JamesCalligeros[m]the correct way to run any version of macos under the m1n1 hv is to install the version youre after into a partition, then replace its kernel with m1n1. you cannot do it any other way.
04:27JamesCalligeros[m]the macos kernelcache expects the "booted volume" to match what it expects. if it's different it will panic early
04:36unifiedgravity[m]Great, MacOS has m1n1 but it hangs at "Running proxy..." unlike the Asahi partition m1n1 which doesn't hang here. Any ideas?
04:37unifiedgravity[m]Although it says "Running in EL2". I think this is the same as the Asahi partition
04:38unifiedgravity[m]Even without proxy cable attached it hangs here at "Running proxy..." and does not boot up MacOS either way
04:48JamesCalligeros[m]youre supposed to upload the kernelcache from a host machine...
04:48JamesCalligeros[m]did you read the m1n1 user guide
04:54unifiedgravity[m]Can't upload the kernelcache from host machine if it hangs at "Running proxy..." and does not respond to the chainloader or run_guest from the host.
04:55unifiedgravity[m]It says Unknown payload at 0x803528000 (magic: cffaedfe) before saying "Running proxy..."
04:55unifiedgravity[m]I concatenated the dev.kernel.macho.development or whatever it's called to the m1n1.bin and nothing changed
05:00JamesCalligeros[m]read the user guide again, you need to do some img4 format stuff to get a bootable mach-o binary out of it
05:01JamesCalligeros[m]concatenating a kernelcache is also kind of useless since that will just jump to the binary. you can only start the hypervisor properly by using run_guest
05:02JamesCalligeros[m]replace your concatenated binary with a normal m1n1.bin
05:03unifiedgravity[m]Yeah, I did img4 format stuff but that is to get the thing that you upload with run_guest. We aren't even at that stage where we can run_guest because the target machine is hanging at "Starting proxy..." and if the proxy does not work, we cannot upload kernel cache from run_guest.
05:05r0ni has quit [Ping timeout: 480 seconds]
05:06berzrk_ has joined #asahi-dev
05:08unifiedgravity[m]Okay looks like picocom-sec.sh for some reason hangs the m1n1 when installed under MacOS, causing it to not respond to chainloader and run_guest, but it doesn't cause the non-responsiveness when running from Asahi Linux partition
05:10unifiedgravity[m]The thing hung at login screen which is big progress - unclear if was because me jumping out of the shell in run_guest or if due to some other problem. Trying again....
05:11berzrk has quit [Ping timeout: 480 seconds]
05:23gargantu1 has joined #asahi-dev
05:25gargantua has quit [Ping timeout: 480 seconds]
05:27croissant has quit [Quit: Leaving]
05:27croissant has joined #asahi-dev
05:34unifiedgravity[m]Having a few issues identifying the TBT MMIO regions, does the apcie argument in the run_guest upload mess with it?
05:40heartburn has quit [Ping timeout: 480 seconds]
05:44NiklasSheth[m]StanfordAppliedCyber[m]: I was doing some research on building an SPTM emulator in m1n1 when I saw you have made substantial progress on it, that is really cool and I'd love to help! I have an M4 mini
05:54linuxgemini is now known as Guest11216
05:54Guest11216 has quit [Read error: Connection reset by peer]
05:54linuxgemini has joined #asahi-dev
06:08StanfordAppliedCyber[m]yeah, i have docs ready also if you want them
06:08StanfordAppliedCyber[m]my current tree is a mess but if there's interest i can push the non sptm related bits also
06:09StanfordAppliedCyber[m]with an extremely large ABSOLUTELY NO WARRANTY, EXPLANATION, OR SUPPORT provided disclaimer
06:09StanfordAppliedCyber[m]there's a lot of them bit it's tied in with my current cursed stage1/2 setup built around debugusb not working
06:11StanfordAppliedCyber[m]given i'm currently very late in userspace boot (driverkit is dying because the wifi and bluetooth dexts cant talk to firmware) i'm confident enough to say that this approach will definitely work
06:19r0ni has joined #asahi-dev
06:32truita has joined #asahi-dev
07:24yuka has quit [Remote host closed the connection]
07:29yuka has joined #asahi-dev
07:31gargantua has joined #asahi-dev
07:31StanfordAppliedCyber[m]this is weird, i'm writing get info to HOST_TX_DONE_INT_ENA17 and i get a perfectly valid response in RX4
07:32StanfordAppliedCyber[m]but apple doesn't use TX17-- it uses TX16
07:32StanfordAppliedCyber[m]and if i write to TX16, i get silence
07:33StanfordAppliedCyber[m]and so does the dext apparently because the dext keeps crashing and taking down xnu with it :(
07:34StanfordAppliedCyber[m]values taken from mt7921/regs.h
07:35gargantu1 has quit [Ping timeout: 480 seconds]
07:36Sobek[m]Is it possible that there's some configuration in iBoot that sets up these registers differently in macOS boot and raw boot ?
07:37StanfordAppliedCyber[m]possible sure
07:37StanfordAppliedCyber[m]likely, i highly doubt it
07:37StanfordAppliedCyber[m]like this is literally a userspace driver
07:37StanfordAppliedCyber[m]sure it's basically a kext running in userspace, but still
07:38StanfordAppliedCyber[m]there's clearly something here i don't understand
07:38StanfordAppliedCyber[m]like, dart clearly works, the pages are for sure mapped properly
07:39StanfordAppliedCyber[m]the firmware was successfully loaded, we can literally get responses back
07:41StanfordAppliedCyber[m]yeah it is 7932
07:41StanfordAppliedCyber[m]i think apple internally got confused on codenames
07:41StanfordAppliedCyber[m]because they definitely write 7922 in drivers some places
08:25StanfordAppliedCyber[m]the path of the firmware binary is /usr/share/firmware/bluetooth/MT7932_PTB_IzubaA_0.1.0.0_20251021141303.ptx
08:44StanfordAppliedCyber[m]make that /System/Library/DriverExtensions/com.apple.AppleSunriseWLAN.dext/IZUBA/IZUBA_W7932_2.bin
08:44StanfordAppliedCyber[m]was confused on exactly what was what
08:50chaos_princesswhat was the issue?
08:51chadmedmostly bad bankstown settings causing double-amplification of a large section of the passband
08:51chadmedand it just so happened that the part that was being double amplified was the honkiest/boxiest sounding frequencies lmao
08:52chadmedfixing the same settings also greatly improves the clarity on the macbook airs too so im gonna do some more playing and then push to asahi-audio for testing
08:53chadmedi still need to redo some of the FIRs for some of the machines but this makes a big difference
08:55xal has quit []
08:55chaos_princessbtw, do you happen to want a m3 machine? :P
08:56xal has joined #asahi-dev
08:57* JamesCalligeros[m]uploaded an image: (519KiB) < https://matrix.org/oftc/media/v1/media/download/AVzsGnDZTTmF92P5vrUvqEl1o6xHHgHdC8aiinhyqv4xAeaNyxsHVsRRJe_Ymhr9XppS-8pX4BYKrz-Hfm-RXTpCefAyZXJAAG1hdHJpeC5vcmcvQndpQ0ZoTFdLRk5ySXJLTWhvRHJ2cUNP >
08:58chaos_princesshahaha
09:25step21 is now known as fl0_id_afk
09:29fl0_id_afkJamesCalligeros[m] I'm sure there's still some space between the clothes ;)
09:32ScottJones[m]ScottJones[m]: Correction on my PMP data point: turns out PMP never booted — my m1n1 predates PR #545's dt_set_pmp, so the define silently no-op'd. Gist updated; will re-test with new m1n1.
09:34StanfordAppliedCyber[m]does anyone have a dependency tree of all the apple devices? ie wifi depends on pcie depends on pmgr (or whatever)
09:34StanfordAppliedCyber[m]or really any device
09:34StanfordAppliedCyber[m]i know generally what it looks like but it written out explicitly seems nice
09:35chaos_princessnot really beyond "just read the adt i guess"
10:06lion328 has quit [Remote host closed the connection]
10:08lion328 has joined #asahi-dev
10:12gargantua has quit [Ping timeout: 480 seconds]
10:20gargantua has joined #asahi-dev
10:58StanfordAppliedCyber[m]wlan issue fixed, tl;dr clocks were off so everything was working properly but the timeout was artifically low (by a factor of ~42x) --> dext was timing out despite everything working perfectly fine
10:59StanfordAppliedCyber[m]final issue to fix: why isnt windowserver being spawned
10:59StanfordAppliedCyber[m]i can literally see the loginwindow process
11:14chaos_princess1ghz/24mhz ≈ 41.6
11:15StanfordAppliedCyber[m]yeah that's the exact calculation
11:16StanfordAppliedCyber[m]some of the registers were at 1ghz and some where at 24mhz
11:16StanfordAppliedCyber[m]solution: more lying to userspace
11:16StanfordAppliedCyber[m]some commpage field just fixed everything
11:16StanfordAppliedCyber[m]the driver is still unhappy about something not being freed fast enough but it's alive, idgaf, cry me a river applesunrisewlan
11:16chaos_princessdon't? just set SYS_IMP_APL_AGTCNTRDIR_EL1
11:17StanfordAppliedCyber[m]basically every apple sysreg is locked on the neo
11:17chaos_princessis that one also locked in raw mode?
11:24NickChan[m]It's locked on m4 according to yuka's logs
11:25NickChan[m]Though I *think* it should be possible to access the 24 MHz counter
11:25NickChan[m]since that's merely a read
11:29NickChan[m]<StanfordAppliedCyber[m]> "some of the registers were at..." <- you probably should patch every counter sysreg access to the same counter register
11:30NickChan[m]the apple counters still work since it's read-only, but the problem now is the arm counters can't be redirected so it may have an unexpected frequency
12:09lynndotpy72 has quit [Quit: bye bye]
12:10lynndotpy72 has joined #asahi-dev
12:23apc is now known as Guest11232
12:23apc has joined #asahi-dev
12:27Guest11232 has quit [Ping timeout: 480 seconds]
12:29apc is now known as Guest11233
12:29apc has joined #asahi-dev
12:32Guest11233 has quit [Ping timeout: 480 seconds]
12:57rakyah has joined #asahi-dev
13:05rak[m] has joined #asahi-dev
13:29nela has quit [Quit: bye!]
13:30rakyah has quit [Ping timeout: 480 seconds]
13:30hdbngr has joined #asahi-dev
13:50pjv has joined #asahi-dev
13:51kaleryeblueberryoboe has joined #asahi-dev
13:58hdbngr has quit [Ping timeout: 480 seconds]
14:05hdbngr has joined #asahi-dev
14:13kaleryeblueberryoboe has quit [Ping timeout: 480 seconds]
14:14hdbngr has quit [Ping timeout: 480 seconds]
14:14nela has joined #asahi-dev
14:15pb17 has quit [Ping timeout: 480 seconds]
14:18pb17 has joined #asahi-dev
14:21hdbngr has joined #asahi-dev
14:34hdbngr has quit [Ping timeout: 480 seconds]
14:43pjv has quit [Ping timeout: 480 seconds]
15:26pjv has joined #asahi-dev
15:34hdbngr has joined #asahi-dev
15:43hdbngr has quit [Ping timeout: 480 seconds]
15:43mripard has quit [Quit: WeeChat 4.9.0]
15:50hdbngr has joined #asahi-dev
15:54hardy94 has joined #asahi-dev
15:59hdbngr has quit [Ping timeout: 480 seconds]
16:05hdbngr has joined #asahi-dev
16:08gargantua has quit [Ping timeout: 480 seconds]
16:14hdbngr has quit [Ping timeout: 480 seconds]
16:15hdbngr has joined #asahi-dev
16:18pjv has quit [Quit: pjv]
16:23hdbngr has quit [Ping timeout: 480 seconds]
16:24pjv has joined #asahi-dev
16:38pjv has quit [Quit: pjv]
16:51hdbngr has joined #asahi-dev
16:56pjv has joined #asahi-dev
17:00hdbngr has quit [Ping timeout: 480 seconds]
17:10hdbngr has joined #asahi-dev
17:23hdbngr has quit [Ping timeout: 480 seconds]
17:50pb17 has quit [Ping timeout: 480 seconds]
17:52hdbngr has joined #asahi-dev
18:00pb17 has joined #asahi-dev
18:01hdbngr has quit [Ping timeout: 480 seconds]
18:09hdbngr has joined #asahi-dev
18:18hdbngr has quit [Ping timeout: 480 seconds]
18:20iretq is now known as Guest11247
18:20Guest11247 has quit [Read error: Connection reset by peer]
18:20iretq has joined #asahi-dev
18:21hdbngr has joined #asahi-dev
18:30hdbngr has quit [Ping timeout: 480 seconds]
18:32hardy94 has quit [Remote host closed the connection]
18:53hdbngr has joined #asahi-dev
19:03hdbngr has quit [Ping timeout: 480 seconds]
19:12waltmck has quit [Remote host closed the connection]
19:13waltmck has joined #asahi-dev
19:13hdbngr has joined #asahi-dev
19:14waltmck has quit [Remote host closed the connection]
19:15waltmck has joined #asahi-dev
19:16waltmck has quit [Remote host closed the connection]
19:16waltmck has joined #asahi-dev
19:17kaleryeblueberryoboe has joined #asahi-dev
19:23waltmck_ has joined #asahi-dev
19:28waltmck has quit [Ping timeout: 480 seconds]
19:30hdbngr has quit [Ping timeout: 480 seconds]
19:59hdbngr has joined #asahi-dev
20:07hdbngr has quit [Ping timeout: 480 seconds]
20:12hdbngr has joined #asahi-dev
20:20hdbngr has quit [Ping timeout: 480 seconds]
20:37kaleryeblueberryoboe has quit [Read error: Connection reset by peer]
20:38kaleryeblueberryoboe has joined #asahi-dev
20:45michaelros4444559 has quit [Ping timeout: 480 seconds]
20:48hdbngr has joined #asahi-dev
20:52pjv has quit [Quit: pjv]
21:03hdbngr has quit [Ping timeout: 480 seconds]
21:11cyrinux949075 has quit []
21:13cyrinux949075 has joined #asahi-dev
21:17michaelros4444559 has joined #asahi-dev
21:17Yushi has quit [Remote host closed the connection]
21:18Yushi has joined #asahi-dev
21:19pb17 has quit [Ping timeout: 480 seconds]
21:23isinyaaa has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
21:23kaleryeblueberryoboe has quit [Read error: Connection reset by peer]
21:24kaleryeblueberryoboe has joined #asahi-dev
21:24pb17 has joined #asahi-dev
21:24isinyaaa has joined #asahi-dev
21:54hdbngr has joined #asahi-dev
21:55kaleryeblueberryoboe has quit [Ping timeout: 480 seconds]
22:05isinyaaa has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
22:06isinyaaa has joined #asahi-dev
22:12hdbngr has quit [Ping timeout: 480 seconds]
22:14melnary has quit [Remote host closed the connection]
22:20Sean[m]1 has joined #asahi-dev
22:27Sean[m]1 is now known as SeanLyon[m]
22:29rygwar[m] has joined #asahi-dev
22:30melnary has joined #asahi-dev
22:50michaelros4444559 has quit [Quit: Ping timeout (120 seconds)]
22:53hdbngr has joined #asahi-dev
22:54SeanLyon[m] has left #asahi-dev [User left]
22:55xal has quit []
22:57skxlldxggy has quit [Ping timeout: 480 seconds]
22:57xal has joined #asahi-dev
23:05catred has joined #asahi-dev
23:09hdbngr has quit [Ping timeout: 480 seconds]
23:10Tramtris1 is now known as Tramtrist
23:11SeanLyon[m] has joined #asahi-dev
23:15StanfordAppliedCyber[m]<NickChan[m]> "you probably should patch..." <- too difficult-- the kernel works fine, userspace has too many places and graceful fallback paths
23:25StanfordAppliedCyber[m]chaos_princess: yes
23:51hdbngr has joined #asahi-dev