#
…

2021-05-13

00:26taziden has joined #asahi
00:49raster has quit [Quit: Gettin' stinky!]
01:00DragoonAethis has quit [Quit: hej-hej!]
01:00DragoonAethis has joined #asahi
01:10meiji163[m] has quit [Ping timeout: 245 seconds]
01:10meiji163[m] has joined #asahi
01:25chivay has quit [Ping timeout: 260 seconds]
01:25ifthenelse has quit [Ping timeout: 252 seconds]
01:35ifthenelse has joined #asahi
01:35chivay has joined #asahi
01:55_alice has joined #asahi
01:56adamcstephens has quit [Quit: The Lounge - https://thelounge.chat]
02:10adamcstephens has joined #asahi
02:21adamcstephens has quit [Read error: Connection reset by peer]
02:28adamcstephens has joined #asahi
02:37adamcstephens has quit [Quit: The Lounge - https://thelounge.chat]
02:42PhilippvK has quit [Ping timeout: 245 seconds]
02:42phiologe has joined #asahi
03:25KindOne has quit [Ping timeout: 240 seconds]
03:37marvin24_ has quit [Ping timeout: 245 seconds]
03:37marvin24 has joined #asahi
03:38rjeffman has quit [Remote host closed the connection]
03:38rjeffman has joined #asahi
03:43synthmeat has quit [Ping timeout: 276 seconds]
04:10synthmeat has joined #asahi
04:56jeffmiw has joined #asahi
04:58TheJollyRoger has quit [Remote host closed the connection]
04:58TheJollyRoger has joined #asahi
05:01jeffmiw has quit [Ping timeout: 252 seconds]
05:16modwizcode has quit [Ping timeout: 252 seconds]
05:22VinDuv has joined #asahi
05:43awordnot has quit [Ping timeout: 250 seconds]
05:57imliubo has joined #asahi
06:00imliubo has quit [Client Quit]
06:03imliubo has joined #asahi
06:07maknho___ has quit [Quit: WeeChat 2.3]
06:23modwizcode has joined #asahi
06:49awordnot has joined #asahi
07:17kettenis has quit [Ping timeout: 260 seconds]
07:19kettenis has joined #asahi
07:47kettenis has quit [Ping timeout: 265 seconds]
08:23kettenis has joined #asahi
08:29svenpeterIt’s a wiki, feel free to add it yourself :-)
08:30svenpeterI’ll do it otherwise this evening
08:30j`eysvenpeter: I wouldn't do it justice!
08:34armarcan: btw, how do you feel about (pointing out) typos and such on patreon post?
08:34marcanar: please do
08:34imliubo has quit [Ping timeout: 240 seconds]
08:34armarcan: "The userspace side is being reverse engineering" - I'd change the "engineering" to "engineered"
08:48zocker has joined #asahi
09:01raster has joined #asahi
09:21vimal has joined #asahi
09:34j`eysvenpeter: https://blog.svenpeter.dev/posts/m1_sprr_gxf/ example code has write/read_sppr .. i guess that should be sprr
09:34svenpeterThanks, will fix that typo
09:37jeffmiw has joined #asahi
09:41jeffmiw has quit [Ping timeout: 240 seconds]
10:00kettenislooks like a physical address
10:19marcanhttps://mrcn.st/p/bIqri9OV <- this is as far as xnu under m1n1 hv gets (then pmgr kills my USB link, next up hooking that)
10:19marcanlooking good :)
10:20kettenislet the mmio tracing begin!
10:21marcan(also want to figure out why ACTLR faults in the guest; if I really am required to trap that, that emu code needs to move into the C side for performance)
11:43phire has quit [*.net *.split]
12:21phire has joined #asahi
12:24jottr has joined #asahi
12:27adamcstephens has joined #asahi
12:30marcanfigured out the hypervisor pauth thing that was breaking; now I can disable almost all traps and it runs super fast (until it breaks me as above)
12:55Shiznice stuff
12:56Shizvirtual bool AppleARMLightEmUp::start(IOService *): starting...
12:56Shiznice name
12:58svennice work!
12:58jottrI have a naive questin I couldn't find answered anywhere yet: How likely is it, that we will see full support of the Mac Mini M1 hardware at some point in time? I.e. will it be possible to dual-boot both Macos and a into a fully working linux desktop that works as a daily driver?
12:58svenvery likely i'd say
12:59jottrsven: what makes you think that exactly?
12:59pipcet[m]jottr: most stuff already works with the drivers we can use as documentation to write the real ones, and the rest does not seem too terrible to figure out.
13:00Shizaaa, both sven and svenpeter here is confusing :p
13:00Shizwill the real sven p. eter please stand up
13:00jottrInteresting
13:00svenShiz: svenpeter is just my alter ego :P
13:00pipcet[m]jottr: my MBP's perfectly usable, for example, the one big thing missing (for me) is audio.
13:00jottrhaha. so a core functionality is missing
13:01svenShiz: (svenpeter uses matrix and the irc bridge. sven uses an irc bouncer)
13:01jottrI've been hoping for full linux support for older mac hardware. It's still in a sad state https://github.com/Dunedan/mbp-2016-linux
13:01Shiz(i figured, it was just fun to remark :p)
13:01sventhere's also the GPU left which will require a lot of work. but bloom et al. have been making quite some amazing progress there already
13:02pipcet[m]sven: don't play 3D games, code, it's fast enough for that :-)
13:02jottrWhat about Wifi? This is still not working on the 2016 macbooks even five years after their release. Is it more likely to get this working on m1 hardware?
13:03jottrOr, let me rephrase my question: Which hardware in the M1 Mac Mini and Macbooks is causing the greatest headaches when it comes to driver support/reverse engineering?
13:03pipcet[m]the wifi driver's working and doesn't make any major changes, but right now you have to copy a firmware blob from the macos install.
13:04Shizrandom macbooks from the past are little use for the present :p
13:04Shiz(and more generallly, bad predictors)
13:07jottrOk, I'm looking at the M1 MBPs. They seem to still come with a TouchBar -.- Has anyone tried to talk to that hardware yet?
13:08pipcet[m]yes, I have. I can hijack it from macos and put stuff on the screen, but I really need mmiotrace to make further progress on that :-)
13:08marcanjottr: that requires display controller support, which we don't have yet
13:08marcan(hijacking the framebuffer in macos does not count :p)
13:08marcanbut it should come with the other DC stuff once it's done, I think
13:08pipcet[m]it's a variation of a documented chip, though, synergy mipi-dsi(m)
13:09marcanthat's just the phy, no?
13:09pipcet[m]oh, sorry, the display controller itself is also there :-)
13:09jottrIs there a big difference in display drivers for the strip when it comes to 2016 hardware and the current M1 chip?
13:09pipcet[m]and another device that's on the i2c bus that I hope we won't need.
13:10marcanjottr: yes
13:10marcanthey have nothing to do with each other
13:10marcanon intel hardware the touch bar is driven by bridgeos
13:10marcanthat has already been reverse engineered
13:11marcanbasically ~none of our work is going to be useful on 2016 macboos, because the stuff that doesn't work well on those is precisely the stuff driven by bridgeos
13:11marcan*macbooks
13:11marcanand thus, even if it's the same underlying hardware, is not driven the same way from the main OS
13:12marcanhowever, userspace support (i.e. figuring out what to *do* with the touchbar) can be shared
13:12marcanjust not the drivers
13:13svenasahi linux to replace bridgeos when? :-P
13:13jottrgood to know.
13:13marcansven: probably already runs tbh
13:13marcansomeone should try it
13:13jottrI really applaud your effort. It would be awesome to have access to the M1 macs without being locked into MacOS.
13:14marcanalso fyi, dual boot already works fine
13:14marcanthat's a built in feature
13:14ari wonder if the lack of dp-mst support on m1 macs is, like it was with x86 macs, just a macos limitation, or is it actually limited in DC this time around
13:14marcanyeah, I wonder about that one too
13:14jottrare the some videos that demonstrate the current state of asahi?
13:15marcanthere isn't much to show on video
13:15marcanthere will be a demo video when there's something worth showing :-)
13:15j`eyjottr: just imagine white text on a black background
13:16marcanI mean I have plenty of youtube streams where I boot it to a fbcon many times
13:16arjottr: or white text on black background in terminal emulator on another computer ;)
13:16jottrAh, true. The GPU needs to be reversed first
13:16marcanwell the GPU needs to be reversed to make it fast
13:16j`eythere's a framebuffer, so seomthing could blit to that
13:16marcanI could boot to a desktop today if I felt like it, sticking it all into an initramfs and doing SLIP over serial with barrierd or something silly like that
13:16marcanbut that would be a waste of time
13:17j`eyjottr: correlium posted some pics of a ubuntu desktop booted
13:17marcanlet's leave the demo video for when cool stuff works, like 3D :)
13:17marcancorellium did the moral equivalent of the above except they also have a working USB driver :P
13:17marcantheir first demo was everything hanging off of USB
13:17marcannot their first demo
13:17marcantheir first demo was just usb, storage too
13:18marcanbut I'm not interested in wasting time making demo videos that don't represent reality; let's get stuff done properly first
13:18marcanonce usb and nvme are done properly and the gpu works to render an accelerated desktop would be a good time for a demo video ;)
13:19sven i really need to stop shaving random yaks and finally submit clocks, address the dart driver comments and then finish usb stuff
13:19pipcet[m]i'm quite surprised at how fast the framebuffer is even without accel
13:19marcanthe cpu is fast :)
13:20marcansven: you know if you don't get that by the time mmiotrace is working I'm going to have to do it for you :p
13:22svenso essentially i have today and tomorrow :D
13:27pipcet[m]are you planning to emulate the actual mmio insns, or is there a trick to let the CPU do that for you? mapping the page and single-stepping, maybe?
13:30pipcet[m]not that aarch64 loads and stores are that complicated, particularly not the ones we actually need...
13:36marcanI already have emulation code
13:37marcanmissing the reg-index variant which I assume I'll hit
13:37marcanprobably not much more than that
13:37marcanthe emulation already works, in passthrough mode, for m1n1; haven't tried using it with xnu yet
13:38pipcet[m]oh, so short I missed it :-)
13:41jannaumarcan: did you forgot to add 'xnutools.py' in aebda5213ad9d33?
13:44VinDuv has quit [Quit: Leaving.]
13:46raster has quit [Quit: Gettin' stinky!]
13:48jannauworks. thanks
13:54raster has joined #asahi
14:10VinDuv has joined #asahi
14:33odmir has joined #asahi
14:33odmir has quit [Remote host closed the connection]
14:34odmir has joined #asahi
14:34odmir has quit [Remote host closed the connection]
14:36odmir has joined #asahi
15:41jottr has quit [Ping timeout: 252 seconds]
15:48odmir has quit [Remote host closed the connection]
15:51odmir has joined #asahi
15:56odmir has quit [Ping timeout: 260 seconds]
16:01jottr has joined #asahi
16:06zopieux has quit [Ping timeout: 250 seconds]
16:13odmir has joined #asahi
16:27zopieux has joined #asahi
16:39agnem has quit [Ping timeout: 240 seconds]
16:43agnem has joined #asahi
16:47odmir has quit [Ping timeout: 268 seconds]
17:28jottr_ has joined #asahi
17:31jottr has quit [Ping timeout: 246 seconds]
17:39agnem has quit [Ping timeout: 252 seconds]
17:42agnem has joined #asahi
17:44illya has quit [Ping timeout: 250 seconds]
17:46Bastian[m]marcan your HN comments are quoted/shown in the latest linus tech tips video at the end here https://youtu.be/Akqx0F5-gs4?t=765
17:48modrobert has quit [Quit: so long]
18:45maknho has joined #asahi
18:45KindOne has joined #asahi
18:46maknho has quit [Client Quit]
18:46maknho has joined #asahi
18:47maknho has quit [Client Quit]
18:47maknho has joined #asahi
18:48odmir has joined #asahi
18:51zopieux has quit [Ping timeout: 240 seconds]
18:51roxfanwhat comments?
18:53odmir has quit [Ping timeout: 260 seconds]
18:53brentr123[m]in the video on
18:53zopieux has joined #asahi
18:53brentr123[m]click on the link and it will automatically take you to the timestamp
18:53pugguu[m] has joined #asahi
18:54pugguu[m]Hay is it safe to update mac os or should i keep to the lowest version possible
18:56Bublik_ has joined #asahi
18:59pugguu[m]Welst waiting for it to be developed
18:59maknho has quit [Ping timeout: 252 seconds]
18:59Bublik has quit [Ping timeout: 268 seconds]
19:02maknho has joined #asahi
19:05illya has joined #asahi
19:05pugguu[m]By the way if i am in the wrong area do say
19:11modrobert has joined #asahi
19:14raster has quit [Quit: Gettin' stinky!]
19:20jottr has joined #asahi
19:21jottr_ has quit [Ping timeout: 240 seconds]
19:45raster has joined #asahi
19:53kettenis has quit [Ping timeout: 252 seconds]
19:55kettenis has joined #asahi
20:00jabashque has joined #asahi
20:04jeffmiw has joined #asahi
20:04hspak has quit [Quit: Ping timeout (120 seconds)]
20:05hspak has joined #asahi
20:05phire has quit [Quit: ZNC - http://znc.in]
20:07phire has joined #asahi
20:08jeffmiw has quit [Ping timeout: 265 seconds]
20:09saintdev has quit [*.net *.split]
20:09jonmason has quit [*.net *.split]
20:09NekomimiScience has quit [*.net *.split]
20:09mrasmus has quit [*.net *.split]
20:09saintdev has joined #asahi
20:09jonmason has joined #asahi
20:09mrasmus has joined #asahi
20:09NekomimiScience has joined #asahi
20:13kettenis has quit [Ping timeout: 240 seconds]
20:15kettenis has joined #asahi
20:20odmir has joined #asahi
20:21kettenis has quit [Ping timeout: 240 seconds]
20:23kettenis has joined #asahi
20:24odmir has quit [Ping timeout: 240 seconds]
20:41kettenisBastian: the block diagram presented in that video isn't accurate though
20:43artemistpugguu[m]: The method we use for getting Linux to boot is not through hacking. It's something that Apple has spent a lot of engineering time developing so that you can securely boot both macOS and other operating systems
20:43artemistIt's extremely unlikely that apple would remove that
21:17Bastian[m]<kettenis "Bastian: the block diagram prese"> I don't think the target audience will mind too much
21:30phireis there an accurate block diagram somewhere?
21:56VinDuv has quit [Quit: Leaving.]
22:08choozy has joined #asahi
22:10M0[m] has joined #asahi
22:28raster has quit [Quit: Gettin' stinky!]
22:42m0drobert has joined #asahi
22:46modrobert has quit [Ping timeout: 252 seconds]
22:51jottr has quit [Ping timeout: 260 seconds]
22:55artemistThe apple device tree gives you a very good idea but it's definitely not designed to be human readable
23:01raster has joined #asahi
23:04choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:08taziden has quit [Ping timeout: 246 seconds]
23:18Bublik_ has quit [Ping timeout: 268 seconds]
23:19jottr has joined #asahi
23:20Bublik_ has joined #asahi
23:22kettenis has quit [Ping timeout: 240 seconds]
23:24kettenis has joined #asahi
23:30raster has quit [Ping timeout: 240 seconds]
23:46taziden has joined #asahi
…