2026-01-13
00:01nela has quit [Ping timeout: 480 seconds]
00:07hdbngr has quit [Ping timeout: 480 seconds]
00:22nela has joined #asahi-re
00:30nela has quit [Ping timeout: 480 seconds]
00:31nela has joined #asahi-re
00:39hdbngr has joined #asahi-re
00:48hdbngr has quit [Ping timeout: 480 seconds]
00:51amarioguydid a search for the msr instruction, doesn't *seem* to hit any of the SPRR or GXF msrs
00:57hdbngr has joined #asahi-re
01:08hdbngr has quit [Ping timeout: 480 seconds]
01:10hdbngr has joined #asahi-re
01:12amarioguy has quit [Remote host closed the connection]
01:16pb17 has quit [Ping timeout: 480 seconds]
01:18hdbngr has quit [Ping timeout: 480 seconds]
01:25nnym`kmutil configure-boot -c m1n1.macho -C -v /Volumes/test` keeps failing and saying "found valid Mach-O binary, deriving Mach-O boot properties...\nFileset Error: Invalid Mach-O boot properties. Fileset Error: Failed to find __TEXT segment" even with a clean build from upstream main. `aarch64-apple-darwin-objdump -x build/m1n1.macho` shows a single section named
01:25nnym"LC_THREAD.UNKNOWN_ARCHITECTURE.0"; `ipsw macho info build/m1n1.macho` shows several segments including "TEXT" but not "__TEXT". When I renamed "TEXT" to "__TEXT" in `m1n1.ld`, `kmutil` complained next about a missing `__TEXT_EXEC` segment. Is this a new requirement in firmware version 26.0?
01:27hdbngr has joined #asahi-re
01:33nnymAlso, I thought that text sections were supposed to be always executable so why are there 2?
01:33JamesCalligeros[m]You need to use the raw m1n1.bin blob and configure it appropriately. Mach-O m1n1 broke some time ago and also wouldnt work as we would be under sptm anyway
01:36hdbngr has quit [Ping timeout: 480 seconds]
01:38pb17 has joined #asahi-re
01:47nnymIf I understand correctly, the conversation above was about checking the tags set by `kmutil configure-boot` for Mach-O boot objects; so in order to do that, I need an m1n1 Mach-O.
01:54hdbngr has joined #asahi-re
02:03hdbngr has quit [Ping timeout: 480 seconds]
02:16john-cabaj has joined #asahi-re
02:36hdbngr has joined #asahi-re
02:45hdbngr has quit [Ping timeout: 480 seconds]
02:50pb17 has quit [Ping timeout: 480 seconds]
02:55pb17 has joined #asahi-re
04:36hdbngr has joined #asahi-re
04:42midou has quit [Ping timeout: 480 seconds]
04:45hdbngr has quit [Ping timeout: 480 seconds]
05:21midou has joined #asahi-re
05:38hdbngr has joined #asahi-re
05:47hdbngr has quit [Ping timeout: 480 seconds]
06:00hdbngr has joined #asahi-re
06:02Graypup_ has quit [Ping timeout: 480 seconds]
06:08vup has quit []
06:08hdbngr has quit [Ping timeout: 480 seconds]
06:14svenpeter[m]amarioguy: huh, that’s weird. What sets up SPTM in GL2 then?
06:14svenpeter[m]hrm, maybe the SPTM blob itself?
06:18svenpeter[m]nnym: I’d just try a xnu kernelcache to check for flags
06:18integralpilot has joined #asahi-re
06:18svenpeter[m]that macho should work, ours would need fixing
06:20pb17 has quit [Ping timeout: 480 seconds]
06:28integralpilot has quit [Quit: integralpilot]
06:37hdbngr has joined #asahi-re
06:48pb17 has joined #asahi-re
06:52hdbngr has quit [Ping timeout: 480 seconds]
06:56nickchani tried giving kmutil a m1n1 macho pretending to be a prelink kernelcache with __TEXT, __PRELINK_TEXT and __LAST and kmutil didn't like it either
06:58nickchanin any case for segments it seems that apple's parsers will accept filesize=0 vmsize=0 segments
07:01midou has quit [Remote host closed the connection]
07:03midou has joined #asahi-re
07:18T4ForFun has joined #asahi-re
07:37john-cabaj has quit [Ping timeout: 480 seconds]
07:38hdbngr has joined #asahi-re
07:47hdbngr has quit [Ping timeout: 480 seconds]
08:00opticron has quit [Read error: Connection reset by peer]
08:00opticron has joined #asahi-re
08:03hdbngr has joined #asahi-re
08:14hdbngr has quit [Ping timeout: 480 seconds]
08:21hdbngr has joined #asahi-re
08:27vup has joined #asahi-re
08:30hdbngr has quit [Ping timeout: 480 seconds]
08:45hdbngr has joined #asahi-re
09:04T4ForFun has quit [Ping timeout: 480 seconds]
09:15T4ForFun has joined #asahi-re
09:35mattia013_ has joined #asahi-re
09:35mattia013 has quit [Read error: Connection reset by peer]
09:35mattia013_ is now known as mattia013
10:12pb17 has quit [Ping timeout: 480 seconds]
10:15T4ForFun has quit [Ping timeout: 480 seconds]
10:16T4ForFun has joined #asahi-re
10:31T4ForFun1 has joined #asahi-re
10:31T4ForFun has quit [Quit: T4ForFun]
10:31T4ForFun1 is now known as T4ForFun
10:33pb17 has joined #asahi-re
11:00hdbngr has quit [Ping timeout: 480 seconds]
11:10mattia013 has quit [Remote host closed the connection]
11:14hdbngr has joined #asahi-re
11:33nickchanon apple a11 ios 16 firmware reading more than 0x80 bytes of BMSN causes SError in SMC SRAM range so i have to modify the driver to check key size before reading
11:36hdbngr has quit [Ping timeout: 480 seconds]
11:40T4ForFun has quit [Remote host closed the connection]
11:45hdbngr has joined #asahi-re
12:14pb17 has quit [Ping timeout: 480 seconds]
12:55hdbngr has quit [Ping timeout: 480 seconds]
12:55pb17 has joined #asahi-re
13:04hdbngr has joined #asahi-re
13:12hdbngr has quit [Ping timeout: 480 seconds]
13:20hdbngr has joined #asahi-re
13:29hdbngr has quit [Ping timeout: 480 seconds]
13:38hdbngr has joined #asahi-re
13:54Calandracas_ has joined #asahi-re
13:58Calandracas has quit [Ping timeout: 480 seconds]
14:21pb17 has quit [Ping timeout: 480 seconds]
14:30hdbngr has quit [Ping timeout: 480 seconds]
14:39hdbngr has joined #asahi-re
14:45mattia013 has joined #asahi-re
14:47hdbngr has quit [Ping timeout: 480 seconds]
14:54hdbngr has joined #asahi-re
15:07john-cabaj has joined #asahi-re
15:11pb17 has joined #asahi-re
15:31hdbngr has quit [Ping timeout: 480 seconds]
15:38hdbngr has joined #asahi-re
15:47hdbngr has quit [Ping timeout: 480 seconds]
15:53hdbngr has joined #asahi-re
16:21hdbngr has quit [Ping timeout: 480 seconds]
16:26hdbngr has joined #asahi-re
16:50pb17 has quit [Ping timeout: 480 seconds]
17:15hdbngr has quit [Ping timeout: 480 seconds]
17:23hdbngr has joined #asahi-re
17:32hdbngr has quit [Ping timeout: 480 seconds]
17:42pb17 has joined #asahi-re
17:42hdbngr has joined #asahi-re
17:50hdbngr has quit [Ping timeout: 480 seconds]
17:58hdbngr has joined #asahi-re
18:07hdbngr has quit [Ping timeout: 480 seconds]
18:16hdbngr has joined #asahi-re
18:24hdbngr has quit [Ping timeout: 480 seconds]
18:32hdbngr has joined #asahi-re
18:41hdbngr has quit [Ping timeout: 480 seconds]
18:49hdbngr has joined #asahi-re
19:19hdbngr has quit [Quit: Lost terminal]
19:20hdbngr has joined #asahi-re
19:22amarioguy has joined #asahi-re
19:23svenwhen I briefly looked at the SPTM blob a while ago it didn't appear that way, but maybe i missed something
19:23chaos_princessbut what locks it out if there is no sptm then, as is with raw object?
19:24michaelrostom has joined #asahi-re
19:25michaelrostom has quit []
19:25michaelrostom has joined #asahi-re
19:26pb17 has quit [Ping timeout: 480 seconds]
19:27amarioguyit's locked out by iBoot itself i believe, lemme open the db again today, but i searched for byte sequence d5 instructions (the MSR encoding) in iBoot, as well as "MSR" text here, saw no mention of the SPRR or GXF regs
19:28chaos_princesswhich one are you looking at?
19:28svenhave to check on my other machines, this was a few weeks ago. I think I looked at m4 sptm back then
19:30amarioguychaos_princess: i looked at XNU source, i think on some older platforms (this was define APPLETYPHOON) there was a boot-arg to set something called "defeature" registers
19:30chaos_princesswould make sense if it was
20:25chadmed has quit [Quit: Konversation terminated!]
20:28jodaco_ has quit []
20:40michaelrostom has quit [Ping timeout: 480 seconds]
20:43pb17 has joined #asahi-re
20:49hdbngr has quit [Ping timeout: 480 seconds]
20:54amarioguy has quit [Remote host closed the connection]
20:57hdbngr has joined #asahi-re
21:13hdbngr has quit [Ping timeout: 480 seconds]
21:18michaelrostom has joined #asahi-re
21:20hdbngr has joined #asahi-re
21:21ipatch_ has quit [Quit: WeeChat 4.8.1]
21:23ipatch has joined #asahi-re
21:29hdbngr has quit [Ping timeout: 480 seconds]
21:37hdbngr has joined #asahi-re
21:38ipatch has quit [Quit: WeeChat 4.8.1]
21:38ipatch has joined #asahi-re
21:46ipatch has quit [Quit: WeeChat 4.8.1]
21:46ipatch has joined #asahi-re
21:46hdbngr has quit [Ping timeout: 480 seconds]
21:53hdbngr has joined #asahi-re
21:54michaelrostom has quit [Quit: Konversation terminated!]
22:02hdbngr has quit [Ping timeout: 480 seconds]
22:05amarioguy has joined #asahi-re
22:08ipatch has quit [Quit: WeeChat 4.8.1]
22:08ipatch has joined #asahi-re
22:11hdbngr has joined #asahi-re
22:20hdbngr has quit [Ping timeout: 480 seconds]
22:28hdbngr has joined #asahi-re
22:44hdbngr has quit [Ping timeout: 480 seconds]
22:46hdbngr has joined #asahi-re
22:58ipatch has quit [Quit: WeeChat 4.8.1]
23:01ipatch has joined #asahi-re
23:09michaelrostom has joined #asahi-re
23:12hdbngr has quit [Ping timeout: 480 seconds]
23:22hdbngr has joined #asahi-re
23:31hdbngr has quit [Ping timeout: 480 seconds]
23:37john-cabaj has quit [Read error: Connection reset by peer]
23:37john-cabaj has joined #asahi-re
23:38pb17 has quit [Ping timeout: 480 seconds]
23:40hdbngr has joined #asahi-re
23:43crabbedhaloablut has quit []
23:44crabbedhaloablut has joined #asahi-re
23:45john-cabaj has quit [Ping timeout: 480 seconds]
23:46pb17 has joined #asahi-re