#
…

2025-03-14

00:00john-cabaj has quit [Ping timeout: 481 seconds]
00:02chrisl has quit [Ping timeout: 480 seconds]
00:03mischa85 has joined #asahi-dev
00:08nesnas has quit [Ping timeout: 480 seconds]
00:12mischa85 has quit [Ping timeout: 480 seconds]
00:17nesnas has joined #asahi-dev
00:22mischa85 has joined #asahi-dev
00:29nesnas has quit [Ping timeout: 480 seconds]
00:34pb17 has quit [Ping timeout: 480 seconds]
00:37nesnas has joined #asahi-dev
00:49chrisl has joined #asahi-dev
00:50nesnas has quit [Ping timeout: 480 seconds]
00:52john-cabaj has joined #asahi-dev
00:55Calandracas_ has quit [Ping timeout: 480 seconds]
00:56john-cabaj has quit []
00:57chrisl has quit [Ping timeout: 480 seconds]
00:57mischa85 has quit [Ping timeout: 480 seconds]
00:58pb17 has joined #asahi-dev
00:58nesnas has joined #asahi-dev
01:03yuyichao_ has quit [Ping timeout: 480 seconds]
01:06mischa85 has joined #asahi-dev
01:15nesnas has quit [Ping timeout: 480 seconds]
01:23nesnas has joined #asahi-dev
01:27mischa85 has quit [Ping timeout: 480 seconds]
01:33john-cabaj has joined #asahi-dev
01:35mischa85 has joined #asahi-dev
01:38nesnas has quit [Ping timeout: 480 seconds]
01:44mischa85 has quit [Ping timeout: 480 seconds]
01:46nesnas has joined #asahi-dev
01:52mischa85 has joined #asahi-dev
01:57chrisl has joined #asahi-dev
02:00mischa85 has quit [Ping timeout: 480 seconds]
02:05chrisl has quit [Ping timeout: 480 seconds]
02:05zeezie01 has joined #asahi-dev
02:06JayBeeFOSS has quit [Ping timeout: 480 seconds]
02:07john-cabaj has quit [Ping timeout: 480 seconds]
02:07JayBeeFOSS has joined #asahi-dev
02:08yuyichao_ has joined #asahi-dev
02:17sand4rt has quit [Ping timeout: 480 seconds]
02:20catred has quit [Ping timeout: 480 seconds]
02:22catred has joined #asahi-dev
02:25zeezie01 has quit [Quit: Leaving]
02:30jnn has joined #asahi-dev
02:33jn has quit [Ping timeout: 480 seconds]
02:44nora has joined #asahi-dev
02:46nora_ has quit [Ping timeout: 480 seconds]
02:57pb17 has quit [Ping timeout: 480 seconds]
03:01Calandracas has joined #asahi-dev
03:02chrisl has joined #asahi-dev
03:10chrisl has quit [Ping timeout: 480 seconds]
03:22pb17 has joined #asahi-dev
03:38nicolas17 has quit [Ping timeout: 480 seconds]
03:43chrisl has joined #asahi-dev
03:45yuyichao_ has quit [Ping timeout: 480 seconds]
03:51chrisl has quit [Ping timeout: 480 seconds]
03:51aditya has joined #asahi-dev
03:52mischa85 has joined #asahi-dev
03:55tobhe has joined #asahi-dev
04:01mischa85 has quit [Ping timeout: 480 seconds]
04:01tobhe_ has quit [Ping timeout: 480 seconds]
04:18ddxtanx has joined #asahi-dev
04:34chrisl has joined #asahi-dev
04:42chrisl has quit [Ping timeout: 480 seconds]
04:42nora_ has joined #asahi-dev
04:44nora has quit [Ping timeout: 480 seconds]
04:52pb17 has quit [Ping timeout: 480 seconds]
04:54aminoa1 has joined #asahi-dev
04:57aminoa has quit [Ping timeout: 480 seconds]
04:57aminoa1 is now known as aminoa
05:24pb17 has joined #asahi-dev
05:53mischa85 has joined #asahi-dev
06:01mischa85 has quit [Ping timeout: 480 seconds]
06:34chadmed has quit [Quit: Konversation terminated!]
06:34chadmed has joined #asahi-dev
06:34chadmed has quit []
06:34chadmed has joined #asahi-dev
06:34chadmed has quit []
06:35chadmed has joined #asahi-dev
06:35chadmed has quit []
06:36chadmed has joined #asahi-dev
06:36chadmed has quit []
06:36chadmed has joined #asahi-dev
06:37chadmed has quit []
06:37doti[mds] has left #asahi-dev [#asahi-dev]
06:37chadmed has joined #asahi-dev
06:38chadmed has quit []
06:40chadmed has joined #asahi-dev
06:41chadmed has quit []
06:41chadmed has joined #asahi-dev
06:41chadmed has quit []
06:42chadmed has joined #asahi-dev
06:42chadmed has quit []
06:42chadmed has joined #asahi-dev
06:57yuyichao_ has joined #asahi-dev
07:00tamar-away is now known as tamar
07:04ddxtanx has quit [Remote host closed the connection]
07:22pb17 has quit [Ping timeout: 480 seconds]
07:37ece314378925355 has joined #asahi-dev
07:44pb17 has joined #asahi-dev
07:44ece31437892535 has quit [Ping timeout: 480 seconds]
07:48ece3143789253554 has joined #asahi-dev
07:54mischa85 has joined #asahi-dev
07:56ece314378925355 has quit [Ping timeout: 480 seconds]
08:02mischa85 has quit [Ping timeout: 480 seconds]
08:07chrisl has joined #asahi-dev
08:09ddxtanx has joined #asahi-dev
08:15chrisl has quit [Ping timeout: 480 seconds]
09:01aditya has quit [Quit: Connection closed for inactivity]
09:08pb17 has quit [Ping timeout: 480 seconds]
09:15chrisl has joined #asahi-dev
09:21ariejan476 has quit [Quit: The Lounge - https://thelounge.chat]
09:21ariejan476 has joined #asahi-dev
09:23chrisl has quit [Ping timeout: 480 seconds]
09:45pb17 has joined #asahi-dev
09:45gladiac has quit [Ping timeout: 480 seconds]
09:55mischa85 has joined #asahi-dev
10:01mariogrip430 has quit [Quit: The Lounge - https://thelounge.chat]
10:03mischa85 has quit [Ping timeout: 480 seconds]
10:07chrisl has joined #asahi-dev
10:07mariogrip430 has joined #asahi-dev
10:15chrisl has quit [Ping timeout: 480 seconds]
10:23dcavalca8569 has quit [Ping timeout: 480 seconds]
10:36dcavalca8569 has joined #asahi-dev
10:51dcavalca85697 has joined #asahi-dev
10:56dcavalca8569 has quit [Ping timeout: 480 seconds]
11:08chrisl has joined #asahi-dev
11:14pb17 has quit [Ping timeout: 480 seconds]
11:16chrisl has quit [Ping timeout: 480 seconds]
11:22nesnas has quit [Ping timeout: 480 seconds]
11:31pb17 has joined #asahi-dev
11:48nesnas has joined #asahi-dev
11:55mischa85 has joined #asahi-dev
11:56nesnas has quit [Ping timeout: 480 seconds]
11:58chrisl has joined #asahi-dev
12:04mischa85 has quit [Ping timeout: 480 seconds]
12:06chrisl has quit [Ping timeout: 480 seconds]
12:16sand4rt has joined #asahi-dev
12:43chrisl has joined #asahi-dev
12:51chrisl has quit [Ping timeout: 480 seconds]
12:52nesnas has joined #asahi-dev
13:02pb17 has quit [Ping timeout: 480 seconds]
13:21john-cabaj has joined #asahi-dev
13:44pb17 has joined #asahi-dev
13:49chrisl has joined #asahi-dev
13:56mischa85 has joined #asahi-dev
13:57chrisl has quit [Ping timeout: 480 seconds]
14:22mischa85_ has joined #asahi-dev
14:23mischa85_meh. now on a different machine the python proxy doesn't want to connect. picocom works perfectly fine
14:24mischa85_i was on a mac earlier, now on linux. baud rate is set. what can it be?
14:26okb_ has joined #asahi-dev
14:29mischa85_it also doesn't do any baud rate switch at all. really seems like a pyserial issue of some sorts?
14:30mischa85_i just really cannot get anywhere with this. fuck./
14:33okb has quit [Ping timeout: 480 seconds]
14:33mazif you're using a USB connection, this isn't a real serial connection, so the baud rate is irrelevant.
14:34mischa85_that's the thing. i'm using the cs
14:34mazagain, if you're using the USB passthrough that the CS is giving you, there is no baud-rate to speak of.
14:35mazthe only significant baud-rate is for the serial console, and that's firmly set to 115200 in the CS firmware.
14:35mischa85_i'm using the USB port on the rpi pico that's soldered onto it
14:35mazthat's only for the serial console.
14:36mischa85_which is the only thing i have
14:36mazif you want to interact with the proxy, you need to use the micro-usb connector on the CS itself.
14:36mazthat's a direct USB2 connection to the target.
14:36mischa85_yes but the target doesn't do usb yet
14:36mazah, you're then stuck to 115200 then.
14:37mazit works, just slowly.
14:37mischa85_yes i had it working on my laptop
14:37mischa85_but now on my pc only terminal works but not the tooling
14:38mischa85_just timeouts on me: m1n1.proxy.UartTimeout: Expected 1 bytes, got 0 bytes
14:40mischa85_but you're right, if i really have to do hypervisor stuff before having usb i maybe gotta do so via another m1 device again
14:40mischa85_because then the baudrate will be higher
14:41alyssayeah the original m1 bringup was macvdmtool iirc
14:44mazalternatively, you can spend some quality time hacking the CS firmware to support higher baud dates. shouldn't be too hard...
14:56mischa85_hmmm. i was able to archieve some bonkers baudrates on the uart port of a beaglebone the other day
14:56mischa85_okay challenge accepted
14:57chrisl has joined #asahi-dev
15:05chrisl has quit [Ping timeout: 480 seconds]
15:08aditya has joined #asahi-dev
15:30fl0_ideven with a usb on the target it was a bit finicky for me. Most consistent was starting the target by plugging in the usb, but that's probably not your problem :)
15:34Calandracas_ has joined #asahi-dev
15:41pb17 has quit [Ping timeout: 480 seconds]
15:41Calandracas has quit [Ping timeout: 480 seconds]
15:41mazmischa85_: if you get there, I'll happily take patches.
15:45mischa85_i'm hacking cs-sw as we speak, but i'm running it on a pico 2 though
15:46mischa85_but i'll send you the patch if i succeed
15:46mazthanks!
15:52LarstiQmischa85_: I'm cheering for you!
15:53svenso... realistically you won't get the HV working before you get USB working :/
15:53svenit's much more complex and probably needs more random stuff to be up and running than usb 2
15:55svene.g. if they changed anything with gxf/sprr which they may have done on M4 to support that exclave stuff (though that may be ios only? dunno)
15:55svenand i really wouldn't want to upload a full xnu kernel over that slow serial either :/
15:55mischa85_well the slow serial is something that might be fixable
15:55mischa85_but as you know i cannot turn anything on via pmgr
15:58sveniirc the hv did something with pmgr as well, you may to patch that out and hope everything works
15:58svenM4 also has this weird SPTM thing which may or may not come with changes to GXF/SPRR and may or may not work with our current hv code
16:01mischa85_yeah i'll just block all pmgr reg access. these are just the early bringup struggles
16:03chrisl has joined #asahi-dev
16:03svengood luck :) would be nice to get at least m1n1 + hv to work on M4
16:04sand4rt has quit [Ping timeout: 480 seconds]
16:05mischa85_well i have a barebone m1n1 working. at least there's framebuffer lol
16:05pb17 has joined #asahi-dev
16:05mischa85_so the asahi logo is laughing at me
16:07fl0_iddoes somebody know if hv should work on m3? (otherwise I assume no)
16:08fl0_idpmgr still exists there I think, but dumping it gave not so nice output
16:09svenit'll probably need some minor changes at least
16:10sveniirc at least the cpu start logic
16:10fl0_idyeah, probably. I haven't tried it, but somebody got usb working so maybe
16:10svenor maybe that's already upstream? dunno
16:10sventhere are also still two or three open MRs, maybe rebasing these is enough
16:11chrisl has quit [Ping timeout: 480 seconds]
16:13fl0_iddoes it just need commit prettyfying?
16:14fl0_idand conflict resolving I mean
16:14svendunno, would have to take a closer look
16:16fl0_idok. for dumping adt I had to make a small hack to make it work, but not sure if that is actually the right way to do things ... or if I did sth wrong https://www.pastery.net/jgkwgt/
16:17fl0_id(I could make a PR if somebody confirms that this is ok to do...)
16:17fl0_id(and not just a dirty hack that potentially breaks stuff)
16:21john-cabaj has quit [Ping timeout: 480 seconds]
16:21cyrinux has quit []
16:21mischa85_yeah i also had to do some changes to the adt parsing for t6041
16:46adityaHi guys. I can I have an HID record of the trackpad on M1 Macs. I want to compare it with the t2 ones so that I can trace any chance of getting trackpad size using report ID. Otherwise libinput trackpad coordinates are anyways working well,
16:46aditya*Can I (not I can)
16:51adityaThere is also a long standing weird bug in your firmware collection script, which we discovered when using it for our Macs. I had sent a PR long ago here: https://github.com/AsahiLinux/asahi-installer/pull/277
16:52adityaAlso, hid devs might want to see this PR, https://github.com/AsahiLinux/linux/pull/372
17:02adityaBtw out of curiosity, I want to know how is the firmware dumped to Linux in Asahi Linux now?
17:02aditya*wifi firmware
17:04chaos_princessdumped as either tar or cpio on ESP, there is a kernel patch to add a secondary firmware directory, then hooks somewhere in boot process to mount a tmpfs there and extract the firmware from esp
17:12chrisl has joined #asahi-dev
17:15fl0_idI cleaned the t6030-bringup commits up a little by moving constants to midr.h - but I couldn't test this yet and don't know if a-ramses would be fine with me continuing it. (though ofc all their commits are still by them) https://github.com/step21/m1n1/tree/t6031-bringup (I renamed it t6031-bringup as I don't have a t6030 to test)
17:20chrisl has quit [Ping timeout: 480 seconds]
17:20fl0_idmmh, 6031 chip id is in hv/__ini__.py on main, but not sure if that is enough for hv
17:29chrisl has joined #asahi-dev
17:37chrisl has quit [Ping timeout: 480 seconds]
17:53fl0_idif there is UNUSED(rev); (or similar) does it mean it is actually unused or shouldn't be used or what's the dea? (yes I checked where that is defined, it didn't help)
17:55svenprobably to prevent a compiler warning when the argument of a function isn’t used anywhere
17:58pb17 has quit [Ping timeout: 480 seconds]
18:01fl0_idah right
18:02fl0_idinteresting comparing existing code for t6030 to t6031. a lot is the same but some bits are not, and not sure if that actually has a reason or not lol
18:02chrisl has joined #asahi-dev
18:02fl0_idif daniel berlin is here, do you have any idea what reg_set(s3_0_c15_c2_3, BIT(3)); (and the next line) does now?
18:03fl0_id(there's a comment saying "it is new but no idea what it does")
18:10chrisl has quit [Ping timeout: 480 seconds]
18:11mischa85_ has quit [Quit: Lost terminal]
18:15nicolas17 has joined #asahi-dev
18:17nela has quit [Quit: bye!]
18:18nela has joined #asahi-dev
18:18chrisl has joined #asahi-dev
18:20pb17 has joined #asahi-dev
18:25millefy14 has quit [Ping timeout: 480 seconds]
18:25alyssaDannyB: ^
18:26chrisl has quit [Ping timeout: 480 seconds]
18:39chrisl has joined #asahi-dev
18:47chrisl has quit [Ping timeout: 480 seconds]
18:49chadmed has quit [Quit: Konversation terminated!]
18:49chadmed has joined #asahi-dev
18:51chadmed has quit []
18:52chadmed has joined #asahi-dev
18:58chrisl has joined #asahi-dev
19:06chrisl has quit [Ping timeout: 480 seconds]
19:08aditya has quit [Quit: Connection closed for inactivity]
19:26svenlooks like some implementation defined register. unless there’s a name in xnu sources or whatever it’s going to be very hard to figure out what it does if it’s part of the chicken bit sequence
19:39nyx_o has joined #asahi-dev
19:40sand4rt has joined #asahi-dev
19:41nyx_o__ has quit [Ping timeout: 480 seconds]
19:41sand4rt has quit []
19:41nicolas17alyssa: DannyB hasn't talked on IRC since december 2023 btw
19:42sand4rt has joined #asahi-dev
19:48alyssanicolas17: damn, goals.
19:53chrisl has joined #asahi-dev
19:53kaazoo has joined #asahi-dev
20:01chrisl has quit [Ping timeout: 480 seconds]
20:04pb17 has quit [Ping timeout: 480 seconds]
20:05pb17 has joined #asahi-dev
20:07abrender has joined #asahi-dev
20:18mischa85 has quit [Ping timeout: 480 seconds]
20:27mrndm1 has joined #asahi-dev
20:37kaazoo has quit [Ping timeout: 480 seconds]
20:47mischa85 has joined #asahi-dev
20:48kaazoo has joined #asahi-dev
20:48john-cabaj has joined #asahi-dev
20:49john-cabaj has quit []
20:51john-cabaj has joined #asahi-dev
21:01mrndm1_ has joined #asahi-dev
21:03mrndm1 has quit [Ping timeout: 480 seconds]
21:03al3xtjames has joined #asahi-dev
21:09fl0_idalyssa haha
21:09fl0_idoh ok good to know, just saw that this was their commit I think
21:14fl0_iddoes someone know if the order of chicken bits usually needs to be in order? because I would like to simplify the previous (unmerged) t6030 bringup code by moving everything that is common to init_common_everest() but not all common parts right now are directly after another
21:14fl0_idand I cannot just test t6030 as I only have t6031
21:15svenI wouldn't touch the order
21:15svenit shouldn't matter but we really have no way of knowing
21:16svenif the bits are wrong you can everything from an obvious explosion early in the kernel to very subtle misbehavior later on
21:17alyssa^ something to reevaluate in a year from now to clean up. best not to sneeze on it yet
21:18fl0_idmmh ok sure
21:18alyssawe don't pay by the line from here ;)
21:18alyssawell we do in the kernel
21:18alyssanot in m1n1 tho
21:18fl0_idI was just comparing it to other socs and everywhere else init_common is used but not there
21:19mrndm1 has joined #asahi-dev
21:19svenwhich brings us back to <sven> it shouldn't matter but we really have no way of knowing
21:19svenand honestly, it's code that's called once and lives in its own file. it's allowed to be ugly :D
21:19fl0_idThen could I resubmit it for merging? (a-ramses did most of that work, I just resolved the conflicts by moving macros/defines to midr.h)
21:20fl0_id(which was basically just adding the t6030 define there)
21:20chrisl has joined #asahi-dev
21:20sveni think that pull request also suffered from a-ramses not squashing stuff like clang format fixes
21:20svenbut yeah, if you fix all that feel free to open a new one
21:21mrndm1_ has quit [Ping timeout: 480 seconds]
21:23nesnas has quit [Ping timeout: 480 seconds]
21:23mischa85fl0_id: if it helps you, my messing around with the chickens is in my m1n1 branch: https://github.com/mischa85/m1n1/tree/t6041
21:24alyssa(to be clear - i am very happy to see m3+ stuff in m1n1 c: )
21:24mischa85you should be a little less lost than i am, but just in case
21:25svenyeah, even if it's not fully working yet i'm happy to merge anything that looks reasonable and gets us closer to m3+
21:25sven(in m1n1 that is, kernel stuff should directly go upstream)
21:27fl0_idmischa85 yeah but you probably know more in general
21:27fl0_idand thanks
21:28fl0_idsven ok yeah i can do that, I think
21:28chrisl has quit [Ping timeout: 480 seconds]
21:29john-cabaj has quit [Remote host closed the connection]
21:30mischa85i barely know what i'm doing actually, i'm in the throwing spaghetti at the wall and seeing what sticks phase
21:31mischa85the tooling is put together very structural so that helps a lot
21:32mischa85just putting together the last bits of the cs-sw hack so i get to use the scrutinizer on steroids
21:32mrndm1_ has joined #asahi-dev
21:32mischa85110 mbyte on dialup speeds is no joke
21:33john-cabaj has joined #asahi-dev
21:33mrndm1 has quit [Ping timeout: 480 seconds]
21:33nesnas has joined #asahi-dev
21:35fl0_idmischa85 yeah but I assume in general, better C, architecture and stuff probably based on your github, but ofc just guessing. I feel like I wouldn't even know what to throw or would a lot more trial and error and reading up on architecture etc maybe
21:35fl0_idbut no matter
21:42nesnas has quit [Ping timeout: 480 seconds]
21:43john-cabaj has quit [Remote host closed the connection]
21:45john-cabaj has joined #asahi-dev
21:47mrndm1 has joined #asahi-dev
21:49mrndm1_ has quit [Ping timeout: 480 seconds]
21:49nesnas has joined #asahi-dev
21:53CME_ has joined #asahi-dev
21:53CME has quit []
21:59nesnas has quit [Ping timeout: 480 seconds]
22:00pb17 has quit [Ping timeout: 480 seconds]
22:08nesnas has joined #asahi-dev
22:12chrisl has joined #asahi-dev
22:17nesnas has quit [Ping timeout: 480 seconds]
22:18mrndm1_ has joined #asahi-dev
22:20chrisl has quit [Ping timeout: 480 seconds]
22:20mrndm1 has quit [Ping timeout: 480 seconds]
22:24nesnas has joined #asahi-dev
22:26pb17 has joined #asahi-dev
22:28chrisl has joined #asahi-dev
22:33nesnas has quit [Ping timeout: 480 seconds]
22:36chrisl has quit [Ping timeout: 480 seconds]
22:40nesnas has joined #asahi-dev
22:51nesnas has quit [Ping timeout: 480 seconds]
22:53nesnas has joined #asahi-dev
23:34chrisl has joined #asahi-dev
23:42chrisl has quit [Ping timeout: 480 seconds]
23:48mischa85 has quit [Ping timeout: 480 seconds]
…