2025-04-24
00:04hdbngr has joined #asahi-re
00:07chrisl has joined #asahi-re
00:13hdbngr has quit [Ping timeout: 480 seconds]
00:15chrisl has quit [Ping timeout: 480 seconds]
00:21hdbngr has joined #asahi-re
00:26chrisl has joined #asahi-re
00:30hdbngr has quit [Ping timeout: 480 seconds]
00:34chrisl has quit [Ping timeout: 480 seconds]
00:39hdbngr has joined #asahi-re
00:45chrisl has joined #asahi-re
00:57hdbngr has quit [Ping timeout: 480 seconds]
00:59chrisl has quit [Ping timeout: 480 seconds]
01:06hdbngr has joined #asahi-re
01:29m42uko has quit [Ping timeout: 480 seconds]
01:36hdbngr has quit [Ping timeout: 480 seconds]
01:40chrisl has joined #asahi-re
01:41m42uko has joined #asahi-re
01:44hdbngr has joined #asahi-re
01:48chrisl has quit [Ping timeout: 480 seconds]
01:53Graypup_ has joined #asahi-re
01:54nicolas17 has quit [Ping timeout: 480 seconds]
01:56hdbngr has quit [Ping timeout: 480 seconds]
02:04hdbngr has joined #asahi-re
02:15hdbngr has quit [Ping timeout: 480 seconds]
02:23hdbngr has joined #asahi-re
02:31hdbngr has quit [Ping timeout: 480 seconds]
02:39hdbngr has joined #asahi-re
02:48hdbngr has quit [Ping timeout: 480 seconds]
02:56hdbngr has joined #asahi-re
03:05hdbngr has quit [Ping timeout: 480 seconds]
03:13hdbngr has joined #asahi-re
03:21hdbngr has quit [Ping timeout: 480 seconds]
03:29hdbngr has joined #asahi-re
03:33chadmed has joined #asahi-re
03:41hdbngr has quit [Ping timeout: 480 seconds]
03:44pb17 has quit [Ping timeout: 480 seconds]
03:50hdbngr has joined #asahi-re
03:56pb17 has joined #asahi-re
03:59hdbngr has quit [Ping timeout: 480 seconds]
03:59Larwive has joined #asahi-re
04:06hdbngr has joined #asahi-re
04:15hdbngr has quit [Ping timeout: 480 seconds]
04:23hdbngr has joined #asahi-re
04:25gnuiyl has quit [Remote host closed the connection]
04:32hdbngr has quit [Ping timeout: 480 seconds]
04:32ddxtanx has joined #asahi-re
04:39chrisl has joined #asahi-re
04:40hdbngr has joined #asahi-re
04:47chrisl has quit [Ping timeout: 480 seconds]
04:49hdbngr has quit [Ping timeout: 480 seconds]
04:57hdbngr has joined #asahi-re
05:19nicolas17 has joined #asahi-re
05:23hdbngr has quit [Ping timeout: 480 seconds]
05:30hdbngr has joined #asahi-re
05:38Larwive has quit [Remote host closed the connection]
05:39hdbngr has quit [Ping timeout: 480 seconds]
05:42hdbngr has joined #asahi-re
05:44pb17 has quit [Ping timeout: 480 seconds]
05:45chrisl has joined #asahi-re
05:50hdbngr has quit [Ping timeout: 480 seconds]
05:51Larwive has joined #asahi-re
05:53chrisl has quit [Ping timeout: 480 seconds]
05:59hdbngr has joined #asahi-re
06:08hdbngr has quit [Ping timeout: 480 seconds]
06:09pb17 has joined #asahi-re
06:16hdbngr has joined #asahi-re
06:24Larwive has quit [Ping timeout: 480 seconds]
06:25hdbngr has quit [Ping timeout: 480 seconds]
06:32hdbngr has joined #asahi-re
06:41hdbngr has quit [Ping timeout: 480 seconds]
06:49hdbngr has joined #asahi-re
06:51chrisl has joined #asahi-re
06:58hdbngr has quit [Ping timeout: 480 seconds]
06:59chrisl has quit [Ping timeout: 480 seconds]
07:07hdbngr has joined #asahi-re
07:15hdbngr has quit [Ping timeout: 480 seconds]
07:24hdbngr has joined #asahi-re
07:35hdbngr has quit [Ping timeout: 480 seconds]
07:42chrisl has joined #asahi-re
07:42opticron has quit [Read error: Connection reset by peer]
07:42hdbngr has joined #asahi-re
07:43opticron has joined #asahi-re
07:48gnuiyl has joined #asahi-re
07:49pb17 has quit [Ping timeout: 480 seconds]
07:50chrisl has quit [Ping timeout: 480 seconds]
07:51hdbngr has quit [Ping timeout: 480 seconds]
07:59hdbngr has joined #asahi-re
08:08hdbngr has quit [Ping timeout: 480 seconds]
08:11hdbngr has joined #asahi-re
08:11glem810054889 has quit [Quit: Ping timeout (120 seconds)]
08:21pb17 has joined #asahi-re
08:21glem810054889 has joined #asahi-re
08:49chrisl has joined #asahi-re
08:57chrisl has quit [Ping timeout: 480 seconds]
09:34ohtwoone has joined #asahi-re
09:43hdbngr has quit [Ping timeout: 480 seconds]
09:44pb17 has quit [Ping timeout: 480 seconds]
09:48hightower2 has joined #asahi-re
09:50hdbngr has joined #asahi-re
09:57pb17 has joined #asahi-re
10:00hdbngr has quit [Ping timeout: 480 seconds]
10:00chrisl has joined #asahi-re
10:08chrisl has quit [Ping timeout: 480 seconds]
10:08hdbngr has joined #asahi-re
10:17hdbngr has quit [Ping timeout: 480 seconds]
10:26hdbngr has joined #asahi-re
10:34hdbngr has quit [Ping timeout: 480 seconds]
10:41hdbngr has joined #asahi-re
10:49hdbngr has quit [Ping timeout: 480 seconds]
10:58hdbngr has joined #asahi-re
11:07hdbngr has quit [Ping timeout: 480 seconds]
11:15hdbngr has joined #asahi-re
11:24hdbngr has quit [Ping timeout: 480 seconds]
11:27hdbngr has joined #asahi-re
11:43pb17 has quit [Ping timeout: 480 seconds]
12:00chrisl has joined #asahi-re
12:04nickchanprevious stage is pongoOS and the security and seprom stuff is typical jailbreak patches nothing special there
12:07nickchannow xnu uses ttbr1 so restoring m1n1 context is not a big problem in general... just like dealing with yet another userland thread... problem is of course before xnu rebases its pc to high address
12:08chrisl has quit [Ping timeout: 480 seconds]
12:08nickchanso on boot do not apply tracing patches till xnu rebases its pc when branching into shellcode from a hooked ret
12:10pb17 has joined #asahi-re
12:10nickchananother problem is that when xnu is switching into EL0 xnu unmaps basically all of kernel memory by increasing t1sz in tcr, this is unacceptable for tracing, though just skipping the t1sz modifcation is enough
12:12nickchandue to lack of wfi retention the cpu actually comes out of reset a lot and this one is tricking because unlike during bootup the kernel is *already* patched with undefined instructions
12:13svenso i still wonder if we'll have to resort to patching xnu for tracing m4+ or if it's easier to virtualize GL2, etc.
12:13nickchanthis one is kind of hacked around by writing magic values to x2 and patching how the kernel setup its stack after a cpu reset
12:13svenif we do the tracing all this work you've been doing sounds like a good base to start from though
12:14nickchanso the m1n1 stack remain usable (m1n1 is sandwidthed between xnu and top of kernel data so xnu's init pagetables will have m1n1 mapped)
12:16nickchan1. set pan, spsel 2. save gpr to kernel stack 3. save ttbr0_el1 tcr_el1 mair_el1 to kernel stack 4. recover m1n1's ttbr0 5. recover m1n1's mair 6. barrier instructions 7. branch into m1n1 8. set sp to m1n1's stack
12:22gnuiyl_ has joined #asahi-re
12:26gnuiyl has quit [Ping timeout: 480 seconds]
12:30nickchanthis is on a10x. a11 has more APRR stuff to care about but a10 already have the basics, don't think that would be a problem
12:30nickchanand a7-a9 has el3 but since the monitor has a grand total of two smc can just implement in m1n1
12:31nickchanone to set where to eret into after the cpu comes out of reset and one that locks down the kernel (this one is just going to be implemented as no op)
13:00chrisl has joined #asahi-re
13:08chrisl has quit [Ping timeout: 480 seconds]
13:08mattia013 has joined #asahi-re
13:27mattia013 has quit [Read error: No route to host]
13:33hdbngr has quit [Ping timeout: 480 seconds]
13:41hdbngr has joined #asahi-re
13:42chrisl has joined #asahi-re
13:50chrisl has quit [Ping timeout: 480 seconds]
13:50hdbngr has quit [Ping timeout: 480 seconds]
13:58hdbngr has joined #asahi-re
14:07hdbngr has quit [Ping timeout: 480 seconds]
14:14pb17 has quit [Ping timeout: 480 seconds]
14:15hdbngr has joined #asahi-re
14:20chrisl has joined #asahi-re
14:24hdbngr has quit [Ping timeout: 480 seconds]
14:28chrisl has quit [Ping timeout: 480 seconds]
14:31hdbngr has joined #asahi-re
14:32pb17 has joined #asahi-re
14:33jtingiris has quit [Quit: ZNC 1.9.1 - https://znc.in]
14:33jtingiris has joined #asahi-re
14:34jtingiris has quit [Remote host closed the connection]
14:34jtingiris has joined #asahi-re
14:55john-cabaj has joined #asahi-re
15:18chrisl has joined #asahi-re
15:23Larwive has joined #asahi-re
15:26chrisl has quit [Ping timeout: 480 seconds]
15:32hdbngr has quit [Ping timeout: 480 seconds]
15:39hdbngr has joined #asahi-re
16:01gnuiyl__ has joined #asahi-re
16:07hdbngr has quit [Ping timeout: 480 seconds]
16:07gnuiyl_ has quit [Ping timeout: 480 seconds]
16:09Larwive has quit [Ping timeout: 480 seconds]
16:14Larwive has joined #asahi-re
16:15hdbngr has joined #asahi-re
16:20chrisl has joined #asahi-re
16:24hdbngr has quit [Ping timeout: 480 seconds]
16:24Larwive has quit [Ping timeout: 480 seconds]
16:24aliasrush has joined #asahi-re
16:27hdbngr has joined #asahi-re
16:28chrisl has quit [Ping timeout: 480 seconds]
16:30Larwive has joined #asahi-re
16:36hdbngr has quit [Ping timeout: 480 seconds]
16:46hdbngr has joined #asahi-re
16:54hdbngr has quit [Ping timeout: 480 seconds]
17:02hdbngr has joined #asahi-re
17:10aliasrush_ has joined #asahi-re
17:10hdbngr has quit [Ping timeout: 480 seconds]
17:14aliasrush has quit [Ping timeout: 480 seconds]
17:16hdbngr has joined #asahi-re
17:22chrisl has joined #asahi-re
17:30chrisl has quit [Ping timeout: 480 seconds]
17:31hdbngr has quit [Ping timeout: 480 seconds]
17:38hdbngr has joined #asahi-re
17:41pthariensflame has joined #asahi-re
17:41pthariensflame has quit []
17:47hdbngr has quit [Ping timeout: 480 seconds]
17:49aliasrush_ has quit [Remote host closed the connection]
17:55hdbngr has joined #asahi-re
18:00pb17 has quit [Ping timeout: 480 seconds]
18:27pb17 has joined #asahi-re
18:28hdbngr has quit [Ping timeout: 480 seconds]
18:38hdbngr has joined #asahi-re
18:46hdbngr has quit [Ping timeout: 480 seconds]
18:56hdbngr has joined #asahi-re
19:04hdbngr has quit [Ping timeout: 480 seconds]
19:07hdbngr has joined #asahi-re
19:15hdbngr has quit [Ping timeout: 480 seconds]
19:25hdbngr has joined #asahi-re
19:33hdbngr has quit [Ping timeout: 480 seconds]
19:41hdbngr has joined #asahi-re
19:43opticron has quit [Read error: Connection reset by peer]
19:43opticron has joined #asahi-re
19:50hdbngr has quit [Ping timeout: 480 seconds]
19:59hdbngr has joined #asahi-re
20:08hdbngr has quit [Ping timeout: 480 seconds]
20:12pb17 has quit [Ping timeout: 480 seconds]
20:15hdbngr has joined #asahi-re
20:31aliasrush has joined #asahi-re
20:32pb17 has joined #asahi-re
20:52chrisl has joined #asahi-re
20:52Larwive has quit [Ping timeout: 480 seconds]
20:54hdbngr has quit [Ping timeout: 480 seconds]
21:00chrisl has quit [Ping timeout: 480 seconds]
21:02hdbngr has joined #asahi-re
21:11hdbngr has quit [Ping timeout: 480 seconds]
21:16hdbngr has joined #asahi-re
21:25hdbngr has quit [Ping timeout: 480 seconds]
21:33hdbngr has joined #asahi-re
21:42hdbngr has quit [Ping timeout: 480 seconds]
21:50hdbngr has joined #asahi-re
21:53chrisl has joined #asahi-re
21:57Calandracas has joined #asahi-re
22:01chrisl has quit [Ping timeout: 480 seconds]
22:02Calandracas__ has quit [Ping timeout: 480 seconds]
22:07hdbngr has quit [Ping timeout: 480 seconds]
22:14hdbngr has joined #asahi-re
22:26hdbngr has quit [Ping timeout: 480 seconds]
22:26pb17 has quit [Ping timeout: 480 seconds]
22:33hdbngr has joined #asahi-re
22:42hdbngr has quit [Ping timeout: 480 seconds]
22:46pb17 has joined #asahi-re
22:47chrisl has joined #asahi-re
22:51hdbngr has joined #asahi-re
22:55chrisl has quit [Ping timeout: 480 seconds]
23:00hdbngr has quit [Ping timeout: 480 seconds]
23:08hdbngr has joined #asahi-re
23:16hdbngr has quit [Ping timeout: 480 seconds]
23:18hdbngr has joined #asahi-re
23:19pthariensflame has joined #asahi-re
23:27hdbngr has quit [Ping timeout: 480 seconds]
23:33pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
23:35hdbngr has joined #asahi-re
23:44hdbngr has quit [Ping timeout: 480 seconds]
23:52hdbngr has joined #asahi-re
23:53chrisl has joined #asahi-re