2021-05-07
00:01matt6 has quit [Quit: Ping timeout (120 seconds)]
00:03matt6 has joined #asahi
00:15odmir has quit [Remote host closed the connection]
00:15marcanpipcet[m]: that's interesting, but if RVBAR required more alignment that'd cause m1n1 to have the same problem bringing up SMP itself
00:15odmir has joined #asahi
00:20odmir has quit [Ping timeout: 240 seconds]
00:22pipcet[m]good point. I was thinking maybe apple did something like rvbar = our_address &~ 0xffff, but maybe it's something else entirely. difficult to work out as long as "-v" doesn't work.
00:47odmir has joined #asahi
00:52odmir has quit [Ping timeout: 240 seconds]
01:26illya has quit [Ping timeout: 260 seconds]
01:28odmir has joined #asahi
01:33illya has joined #asahi
01:34odmir has quit [Ping timeout: 268 seconds]
01:43omoiti has joined #asahi
01:44omoiti has quit [Client Quit]
02:02jaXvi has quit [Ping timeout: 240 seconds]
02:04illya has quit [Ping timeout: 260 seconds]
02:06illya has joined #asahi
02:36phiologe has joined #asahi
02:37PhilippvK has quit [Ping timeout: 276 seconds]
02:47macc24 has quit [Ping timeout: 250 seconds]
02:51aquijoule__ has joined #asahi
02:53aquijoule_ has quit [Ping timeout: 246 seconds]
03:02vimal has quit [Ping timeout: 260 seconds]
03:33doof has left #asahi [#asahi]
04:02marvin24 has quit [Ping timeout: 245 seconds]
04:02marvin24 has joined #asahi
04:10zkrx has quit [Ping timeout: 240 seconds]
04:13zkrx has joined #asahi
04:38jeffmiw has joined #asahi
04:42jeffmiw has quit [Ping timeout: 246 seconds]
05:19macc24 has joined #asahi
05:31VinDuv has joined #asahi
05:52jaXvi has joined #asahi
06:23jeffmiw has joined #asahi
06:25VinDuv has quit [Quit: Leaving.]
06:28jeffmiw has quit [Ping timeout: 240 seconds]
06:28phire has quit [*.net *.split]
07:10aquijoule__ has quit [Remote host closed the connection]
07:15jeffmiw has joined #asahi
07:19jeffmiw has quit [Ping timeout: 240 seconds]
07:49jeffmiw has joined #asahi
07:54jeffmiw has quit [Ping timeout: 252 seconds]
08:03maknho____ has joined #asahi
08:05maknho___ has quit [Ping timeout: 252 seconds]
08:21maknho____ has quit [Quit: WeeChat 2.3]
08:22maknho has joined #asahi
08:24jeffmiw has joined #asahi
08:29jeffmiw has quit [Ping timeout: 260 seconds]
08:39herbas has joined #asahi
08:42herbas has quit [Client Quit]
08:59jeffmiw has joined #asahi
09:01phire has joined #asahi
09:04jeffmiw has quit [Ping timeout: 260 seconds]
09:49jeffmiw has joined #asahi
09:54jeffmiw has quit [Ping timeout: 260 seconds]
10:06Bublik_ has joined #asahi
10:07raster has joined #asahi
10:07Bublik has quit [Ping timeout: 265 seconds]
10:16arekm has joined #asahi
10:33KindTwo has joined #asahi
10:34KindOne has quit [Ping timeout: 260 seconds]
10:35anarsoul|2 has joined #asahi
10:35KindTwo is now known as KindOne
10:36anarsoul has quit [Ping timeout: 260 seconds]
10:39jeffmiw has joined #asahi
10:44jeffmiw has quit [Ping timeout: 252 seconds]
11:13choozy has joined #asahi
11:14jeffmiw has joined #asahi
11:18jeffmiw has quit [Ping timeout: 240 seconds]
12:10jeffmiw has joined #asahi
12:12marshmallowsven: but isn't the secure enclave used as sort of replacement for the secure world?
12:13marshmallow(considered that it involves external security coprocessor stuff)
12:14jeffmiw has quit [Ping timeout: 246 seconds]
12:18svensecure world runs on the same processor as the non-secure world which introduces all kinds of attack vectors
12:22marshmallowright, so secure enclave is even better than EL3 since it runs in a completely separated processor
12:34marshmallowright :-)
13:01jeffmiw has joined #asahi
13:06jeffmiw has quit [Ping timeout: 265 seconds]
13:07pipcet[m]sven: your USB driver works in m1n1 under macos, too! Thanks again, it's absolutely wonderful to be able to play with this hardware.
13:08pipcet[m]well, "under". MacOS has an efficiency core, m1n1 has a performance core but less RAM.
13:35modrobert has quit [Read error: Connection reset by peer]
13:35modrobert has joined #asahi
13:36jeffmiw has joined #asahi
13:40jeffmiw has quit [Ping timeout: 246 seconds]
13:51KindTwo has joined #asahi
13:53KindOne has quit [Ping timeout: 260 seconds]
13:53KindTwo is now known as KindOne
14:23maknho has quit [Quit: WeeChat 2.3]
14:29maknho has joined #asahi
14:30maknho has quit [Client Quit]
14:30ivanmedoedov[m] is now known as alexm[m]
14:31maknho has joined #asahi
14:31choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
14:41jeffmiw has joined #asahi
14:45jeffmiw has quit [Ping timeout: 265 seconds]
15:22modrobert has quit [Ping timeout: 252 seconds]
15:33modrobert has joined #asahi
15:34jeffmiw has joined #asahi
15:38jeffmiw has quit [Ping timeout: 246 seconds]
15:50Bublik_ has quit [Ping timeout: 240 seconds]
16:33maknho has quit [Ping timeout: 252 seconds]
16:33VinDuv has joined #asahi
16:35maknho has joined #asahi
16:44jeffmiw has joined #asahi
16:46jeffmiwI did not realize M1 does not have EL3. How was this figure out ? thanks to the Aarch feature registers ?
16:48jeffmiwpipcet[m]: I'm really interested to duplicate your booting macos under m1n1 with usb working to play with it and the hv from marcan :)
16:50pipcet[m](raw code is available for now, and I'm not home right now so can't test this very second, but I'd be delighted to get this working on another machine, or to see how it fails to)
16:51pipcet[m]it's not really one "under" the other. the two run in separate RAM areas on separate cores and are oblivious to each other. It's a bit surprising this all works.
16:56pipcet[m]ooh, and I just realized we don't even need to patch the macos kernel to disable the WDT, we can do it from the stolen core.
16:56maknho_ has joined #asahi
16:59maknho has quit [Ping timeout: 268 seconds]
17:06jeffmiw_ has joined #asahi
17:10jeffmiw_ has quit [Ping timeout: 260 seconds]
17:22marcanit's not surprising it works; not that much is shared between cores and the USB code deliberately has ~zero dependencies on other hardware, particularly interrupts
17:22maknho_ has quit [Ping timeout: 268 seconds]
17:22marcanit's not actually that much different from a hypervisor, except you're limited to passive RAM snooping, you can't take control of execution
17:23marcanthe HV isn't much different in that it still lets OSX control all the hardware except USB and not much else
17:23maknho_ has joined #asahi
17:25Bublik_ has joined #asahi
17:30svenjeffmiw: i don't actually know. all i know is that iboot gives us control in EL2. not sure if there's any bit somewhere that tells you if there's el3 as well
17:38jeffmiw_ has joined #asahi
17:39opticronjeffmiw_, ID_AA64PFR0_EL1[15:0] tell you whether each of EL0/1/2/3 are supported, 0b1 -> aarch64 support at that EL, 0b10 -> aarch64+aarch32 support
17:42jeffmiw_ has quit [Ping timeout: 265 seconds]
17:43odmir has joined #asahi
17:51TomJepp has quit [Ping timeout: 250 seconds]
18:03pipcet[m]marcan: yes, the hv is going to be much better. no -v yet, no idea what I'm doing wrong. There's an allowed-boot-args property but setting it doesn't make a difference.
18:09luca020400 has quit [Ping timeout: 240 seconds]
18:25jeffmiw_ has joined #asahi
18:29jeffmiw_ has quit [Ping timeout: 246 seconds]
18:31rann has quit [Ping timeout: 250 seconds]
18:31arnd has quit [Ping timeout: 250 seconds]
18:31austriancoder has quit [Ping timeout: 245 seconds]
18:34WhyNotHugo has quit [Ping timeout: 276 seconds]
18:35austriancoder has joined #asahi
18:35arnd has joined #asahi
18:35WhyNotHugo has joined #asahi
18:36rann has joined #asahi
18:47marcansee, this is the second time now you've done something weird instead of following instructions, didn't tell anyone, and left us to scratch our heads because nobody has the same problem you do
18:48marcannow you're changing boot-args in code instead of using nvram like our wiki mentions, and like every article on how macs boot explains
18:49marcanso *please*, if you're going to write code or pick random files out of your filesystem or anything else that isn't something documented, tell us *what* you're doing so we can figure out what the problem is
18:50marcanbecause everyone else has been using nvram as documented in every mac guide and therefore hasn't run into this
18:52marcanthere's no way for me to guess that you're editing BootArgs directly instead of changing the nvram variable
19:04marcanthe nvram variable definitely works for me, I just confirmed changing it changes the value of tba.video.display depending on whether -v is present or not
19:04TomJepp has joined #asahi
19:08luca020400 has joined #asahi
19:09jeffmiw_ has joined #asahi
19:11pipcet[m]https://eclecticlight.co/2020/11/28/startup-modes-for-m1-macs/ says 11.2, no idea what's true here
19:13marcan11.2 is when the useful kmutil was introduced, so that doesn't make a whole lot of sense, unless I'm still on a beta and they changed it for release.
19:14jeffmiw_ has quit [Ping timeout: 265 seconds]
19:37herbas has joined #asahi
19:43jeffmiw_ has joined #asahi
19:43davidrysk[m]pipcet: if you don't want to follow all the steps in the guide, it is imperative that you read all the manpages and documentation for all the steps and are familiar with what all those things do
19:43davidrysk[m]additionally, it is fairly trivial to revert to factory -- just use bputil to re-enable full security :)
19:48jeffmiw_ has quit [Ping timeout: 265 seconds]
19:56VinDuv has quit [Quit: Leaving.]
20:00maknho__ has joined #asahi
20:01maknho_ has quit [Ping timeout: 252 seconds]
20:04herbas has quit [Quit: herbas]
20:13jeffmiw_ has joined #asahi
20:17jeffmiw_ has quit [Ping timeout: 246 seconds]
20:23odmir has quit [Remote host closed the connection]
20:23odmir has joined #asahi
20:29odmir has quit [Ping timeout: 260 seconds]
20:29maknho___ has joined #asahi
20:32maknho__ has quit [Ping timeout: 260 seconds]
20:50jeffmiw has quit [Ping timeout: 240 seconds]
20:54klaus has quit [Ping timeout: 252 seconds]
20:55odmir has joined #asahi
20:56klaus has joined #asahi
21:10odmir has quit [Ping timeout: 240 seconds]
21:16jeffmiw has joined #asahi
21:17jeffmiw_ has joined #asahi
21:17jeffmiw has quit [Read error: Connection reset by peer]
22:22raster has quit [Quit: Gettin' stinky!]
22:37odmir has joined #asahi
22:41odmir has quit [Remote host closed the connection]
22:41odmir has joined #asahi
22:54modwizcode has quit [Ping timeout: 268 seconds]
22:54modwizcode has joined #asahi
23:03jeffmiw_ has quit [Remote host closed the connection]
23:16maknho____ has joined #asahi
23:18maknho___ has quit [Ping timeout: 240 seconds]
23:37jeffmiw has joined #asahi
23:41jeffmiw has quit [Ping timeout: 252 seconds]