#
…

2021-05-06

00:25scubasteve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
00:26scubasteve has joined #asahi
00:51TheJollyRoger has joined #asahi
01:13riker77_ has joined #asahi
01:14riker77 has quit [Ping timeout: 260 seconds]
01:17riker77_ is now known as riker77
01:17zopieux has quit [Ping timeout: 248 seconds]
01:17zopieux has joined #asahi
01:18niv has quit [Ping timeout: 276 seconds]
01:18DarkShadow44 has quit [Ping timeout: 276 seconds]
01:19niv has joined #asahi
01:19DarkShadow44 has joined #asahi
01:34odmir has quit [Remote host closed the connection]
01:35odmir has joined #asahi
01:38marcanlazarosser[m]: RYF means nothing, the FSF is happy to RYF certify stuff with giant proprietary blobs you can't see
01:39marcanit absolutely does not mean "everything is open source"
01:39marcanit means "you can't see the blobs so we can pretend they don't exist"
01:40marcanit's useless and hurts freedom because a device with visible blobs is more free than a device with hidden blobs
01:40odmir has quit [Ping timeout: 260 seconds]
01:41marcanbut RYF causes vendors to try to hide blobs
01:44grange_c2 has joined #asahi
01:46odmir has joined #asahi
01:46odmir has quit [Remote host closed the connection]
01:52tomtastic has quit [*.net *.split]
01:52grange_c has quit [*.net *.split]
01:52roxfan has quit [*.net *.split]
01:52kido has quit [*.net *.split]
01:52ch3sh1r3c4t has quit [*.net *.split]
01:52grange_c2 is now known as grange_c
01:52rbenua has quit [*.net *.split]
01:53rbenua has joined #asahi
01:53roxfan has joined #asahi
01:53ch3sh1r3c4t has joined #asahi
01:53tomtastic has joined #asahi
01:53kido has joined #asahi
01:55marshmallow has quit [Ping timeout: 265 seconds]
01:57marshmallow has joined #asahi
02:14raster has quit [Quit: Gettin' stinky!]
02:38phiologe has quit [Ping timeout: 276 seconds]
02:38PhilippvK has joined #asahi
02:44odmir has joined #asahi
02:56odmir has quit [Remote host closed the connection]
03:06marvin24_ has joined #asahi
03:06marvin24 has quit [Ping timeout: 276 seconds]
03:40matt6 has joined #asahi
04:03marvin24_ has quit [Ping timeout: 245 seconds]
04:03marvin24 has joined #asahi
04:27Namidairo has quit [Ping timeout: 252 seconds]
04:32Namidairo has joined #asahi
04:44scubasteve has quit [Ping timeout: 240 seconds]
04:58scubasteve has joined #asahi
05:28bgianf has quit [Ping timeout: 240 seconds]
05:54ephe_meral1 has joined #asahi
06:08jeffmiw has joined #asahi
06:12VinDuv has joined #asahi
06:13jeffmiw has quit [Ping timeout: 268 seconds]
06:21Bublik has joined #asahi
06:22VinDuv has quit [Quit: Leaving.]
06:23Bublik_ has quit [Ping timeout: 240 seconds]
07:50bgianf has joined #asahi
08:06aquijoule_ has quit [Remote host closed the connection]
08:06aquijoule_ has joined #asahi
08:21scooby2 has quit [Ping timeout: 250 seconds]
08:24choozy has joined #asahi
08:48scooby2 has joined #asahi
09:00fstokesman[m] has quit [Quit: Idle for 30+ days]
09:08Emantorsven: nice writeup, thanks :)
09:19raster has joined #asahi
09:29choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
09:41nmg has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
09:42choozy has joined #asahi
10:03bgianf has quit [Remote host closed the connection]
10:13klaus has quit [Ping timeout: 268 seconds]
10:16pcm720[m] has joined #asahi
10:21klaus has joined #asahi
11:20CDFH_ has quit [Quit: That's it, I quit]
11:21CDFH has joined #asahi
12:05jeffmiw has joined #asahi
12:09jeffmiw has quit [Ping timeout: 240 seconds]
12:28mechpilotace has joined #asahi
12:30maknho__ has joined #asahi
12:32vimal has joined #asahi
12:33maknho_ has quit [Ping timeout: 260 seconds]
12:34marshmallowsven: very nice writeup!
12:34marshmallowso basically Secure Enclave replaces EL3 TrustZone in M1?
12:37choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
12:39vimal has quit [Ping timeout: 260 seconds]
12:48svenmarshmallow: thanks! Secure Enclave is an entirely separate processor
12:48scubasteve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
12:48svenapple never used trust zone for that afaik
12:49scubasteve has joined #asahi
12:51scubasteve has quit [Client Quit]
12:52scubasteve has joined #asahi
12:52vimal has joined #asahi
12:55scubasteve has quit [Client Quit]
12:56scubasteve has joined #asahi
12:57scubasteve has quit [Client Quit]
12:57_rjeffman is now known as rjeffman
12:58scubasteve has joined #asahi
12:59scubasteve has quit [Client Quit]
13:00scubasteve has joined #asahi
13:10scubasteve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
13:12scubasteve has joined #asahi
13:15zkrx has quit [Ping timeout: 252 seconds]
13:18scubasteve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
13:18scubasteve has joined #asahi
13:33zkrx has joined #asahi
13:34modrobert has quit [Read error: Connection reset by peer]
13:35modrobert has joined #asahi
13:41vimal has quit [Ping timeout: 260 seconds]
13:52vimal has joined #asahi
14:07odmir has joined #asahi
14:32odmir has quit [Remote host closed the connection]
14:33odmir has joined #asahi
14:36pipcet[m]okay, so I've had to patch a single insn in the kernel and mess with the device tree a bit, but I can get a usable macos desktop chain-loaded through m1n1 now. Can't wait for the hypervisor!
14:37pipcet[m]single-core, but still
14:38pipcet[m]and this time I'm on the right architecture, too!
14:38odmir has quit [Ping timeout: 260 seconds]
14:39delrothcan you document the changes you needed to do? I suspect this might save marcan a few minutes/hours when he tries doing this (since iirc his last uick attempt didn't end up with a usable desktop)
14:40pipcet[m]currently trying to whittle down my various changes to what's actually necessary, will open a PR then :-)
14:41pipcet[m]load average at 52, it's not a happy system on a single efficiency core
14:45omoiti00 has joined #asahi
14:45omoiti has joined #asahi
14:45omoiti has quit [Client Quit]
14:46omoiti00 has quit [Client Quit]
15:04odmir has joined #asahi
15:09odmir has quit [Ping timeout: 265 seconds]
15:22odmir has joined #asahi
15:29Bublik_ has joined #asahi
15:31Bublik has quit [Ping timeout: 240 seconds]
15:33marcanpipcet[m]: why since core?
15:33marcanthere is no reason to be stuck in single core mode outside the HV
15:34marcanI'm turning off the other cores for the HV because it is not SMP-safe right now (it will be, eventually; I need to write some spinlocks and make sure peripheral emulation and iodev stuff is serialized)
15:34marcan(and also virtualize the cpustart stuff)
15:34pipcet[m]had to do that to get it to boot, and also I'm still planning to steal CPU cores from macos.
15:35marcanthen that's another issue that needs to be fixed
15:35pipcet[m]I can't debug further unless someone tells me the magic trick to get macos kernel debug output without uart access :-)
15:35marcanframebuffer?
15:35pipcet[m]of course if the hypervisor is done before then that would be much, much bett.r
15:40pipcet[m]framebuffer would be ideal, yes.
15:43pipcet[m]any way to tell macos to put anything but a progress bar there? -noprogress still works, the other options that used to control kernel output don't.
15:57odmir has quit [Remote host closed the connection]
15:57odmir has joined #asahi
16:03marcan-v enables framebuffer debug output
16:03marcanworks fine here, in fact I get framebuffer *first* and it only switches to serial later
16:07pipcet[m]just "-v"? No debug= or anything?
16:09pipcet[m]you're not using macho sections for m1n1, are you?
16:09pipcet[m]just segments?
16:10pipcet[m]because I think what might be happening is that macos assumes it can use a physical address to write to the secondary CPUs' rvbar register, and that needs to be aligned to, I think, 64 KB
16:17Bublik has joined #asahi
16:17marcanchainload.py loads in-place
16:17marcanthat means macos ends up exactly where it would've ended up if loaded by iBoot2
16:18marcanwhich is required for RVBAR on CPU0, which is locked by iBoot2 (I'm not sure if this actually matters on M1 or not; I think it did for earlier designs without PC-preserving wfi but it may still matter for some kind of deeper sleep modes)
16:18Bublik_ has quit [Ping timeout: 260 seconds]
16:19marcan(that is not to say the mach-o loader code isn't buggy in some way, but I'd expect things to break worse if it were; feel free to dig deeper though)
16:38davidrysk[m]pipcet: yes just -v in the bootargs
16:38davidrysk[m](security needs to allow custom bootargs, ofc)
16:54VinDuv has joined #asahi
16:58sven_ has joined #asahi
16:59ephe_meral1 has quit [Ping timeout: 260 seconds]
16:59sven has quit [Ping timeout: 240 seconds]
16:59sven_ is now known as sven
17:13odmir has quit [Remote host closed the connection]
17:13odmir has joined #asahi
17:18odmir has quit [Remote host closed the connection]
17:18odmir has joined #asahi
17:21pipcet[m]marcan: I'm pretty sure iBoot2 looks at the alignment property of the macho sections it loads.
17:21pipcet[m]at least it did for my linux images; they were aligned to 128KB or something, not to 2MB as I'd requested.
17:22pipcet[m]I can pass bootargs, they have an effect (in the case of "-noprogress"), but if I pass "-v" instead of "-noprogress", nothing happens.
17:23pipcet[m]maybe "-v" counts as a custom bootarg and "-noprogress" doesn't, somehow.
17:31tbodt_ has joined #asahi
17:31maknho___ has joined #asahi
17:34maknho__ has quit [Ping timeout: 240 seconds]
17:36tbodt_ has quit [Ping timeout: 268 seconds]
18:13marcan has quit [Ping timeout: 240 seconds]
18:17marcan has joined #asahi
19:02TheJollyRoger has quit [Remote host closed the connection]
19:02TheJollyRoger has joined #asahi
19:03ivanmedoedov[m] has joined #asahi
19:21zkrx has quit [Ping timeout: 265 seconds]
19:37jeffmiw has joined #asahi
19:41zkrx has joined #asahi
19:42jeffmiw has quit [Ping timeout: 252 seconds]
19:42choozy has joined #asahi
19:48jeffmiw has joined #asahi
20:03Bublik has quit [Ping timeout: 240 seconds]
20:05Bublik has joined #asahi
20:06odmir has quit [Remote host closed the connection]
20:06odmir has joined #asahi
20:11odmir has quit [Ping timeout: 240 seconds]
20:14frode_0xa has joined #asahi
20:15frode_0xa has quit [Quit: leaving]
20:19JustinWhite[m] has joined #asahi
20:22VinDuv has quit [Quit: Leaving.]
20:38odmir has joined #asahi
20:42jeffmiw has quit [Ping timeout: 268 seconds]
20:48JustinWhite[m]Hello everyone! Excited to learn and follow along. I'm a web and software developer from Illinois, excited at the rapid progress of the project and honored to be a part of the community.
20:48JustinWhite[m]Happy to help in any way I can, but just excited to be here and mingle!
20:55odmir has quit [Ping timeout: 260 seconds]
21:03jeffmiw has joined #asahi
21:03odmir has joined #asahi
21:03sven has quit [Remote host closed the connection]
21:04sven has joined #asahi
21:06marcan has quit [Ping timeout: 260 seconds]
21:08jeffmiw has quit [Ping timeout: 268 seconds]
21:08marcan has joined #asahi
21:14odmir has quit [Remote host closed the connection]
21:15odmir has joined #asahi
21:18odmir has quit [Remote host closed the connection]
21:18odmir has joined #asahi
22:04synthmeat has quit [Ping timeout: 252 seconds]
22:08synthmeat has joined #asahi
22:12choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:42raster has quit [Quit: Gettin' stinky!]
…