#
…

2023-01-28

00:01nicolas17it's not possible to enter 1TR before doing initial macOS setup and setting a password etc, right?
00:03tpw_rulesif it is, then could you do anything useful without having done that initial setup to create the machine owner?
00:04Tramtris1woops.. sorry bout that 🤔
00:06user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:13nicolas17tpw_rules: I want to like, dump the preboot volume
00:14nicolas17unfortunately I can't test this without DFU-wiping my mac to see what it looks like before setup
00:14nicolas17but I'm sure someone here knows already :P
00:14tpw_rulesyou can't extract it from the ipsw?
00:16nicolas17it's common for new macs to come with a preinstalled build that there is no public download for
00:28nicolas17(M2 Pro/Max are coming with 22A8380)
00:31user982492 has joined #asahi-dev
00:42hertz has joined #asahi-dev
00:48hertz_ has quit [Ping timeout: 480 seconds]
00:55amarioguy has quit [Remote host closed the connection]
01:09user982492 has quit [Quit: Textual IRC Client: www.textualapp.com]
01:26whomst has joined #asahi-dev
01:32capta1nt0ad has quit [Ping timeout: 480 seconds]
01:42nicolas17 has quit [Quit: Konversation terminated!]
01:43seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:43seeeath has joined #asahi-dev
02:00whomst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:06capta1nt0ad has joined #asahi-dev
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi-dev
02:59bluetail89482 has joined #asahi-dev
03:07bluetail8948 has quit [Ping timeout: 480 seconds]
03:13cylm has joined #asahi-dev
03:15capta1nt0ad has quit [Ping timeout: 480 seconds]
03:19maria has quit [Ping timeout: 480 seconds]
03:20capta1nt0ad has joined #asahi-dev
03:28maria has joined #asahi-dev
03:39capta1nt0ad has quit [Remote host closed the connection]
04:16hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:19whomst has joined #asahi-dev
04:36seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:53SalimTerryLi_ has quit [singleton.oftc.net coherence.oftc.net]
05:53duckworld has quit [singleton.oftc.net coherence.oftc.net]
05:53sirn has quit [singleton.oftc.net coherence.oftc.net]
05:53WindowPain has quit [singleton.oftc.net coherence.oftc.net]
05:54WindowPain has joined #asahi-dev
05:54duckworld has joined #asahi-dev
05:54SalimTerryLi_ has joined #asahi-dev
05:54sirn has joined #asahi-dev
06:04zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:05zzywysm has joined #asahi-dev
06:10zzywysm has quit []
06:17WindowPain has quit [singleton.oftc.net coherence.oftc.net]
06:17SalimTerryLi_ has quit [singleton.oftc.net coherence.oftc.net]
06:17sirn has quit [singleton.oftc.net coherence.oftc.net]
06:17duckworld has quit [singleton.oftc.net coherence.oftc.net]
06:18SalimTerryLi_ has joined #asahi-dev
06:18sirn has joined #asahi-dev
06:18WindowPain has joined #asahi-dev
06:18duckworld has joined #asahi-dev
07:13whomst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:46pg12_ has joined #asahi-dev
07:47greguu has quit [Quit: WeeChat 3.0]
07:47greguu has joined #asahi-dev
07:47pg12 has quit [Ping timeout: 480 seconds]
08:40mkurz has quit [Ping timeout: 480 seconds]
10:21bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
10:48pg12_ has quit []
10:48pg12 has joined #asahi-dev
10:48mazfunny how things work better when you handle S2 invalidation *with the correct MMU context*...
10:49hightower2 has quit [Ping timeout: 480 seconds]
10:53SalimTerryLi_ has left #asahi-dev [Leaving]
10:53mazand with that, EFI works in a L2 guest, and the Debian install ran to completion.
10:54maztoo bad it is too early for a beer!
10:55SalimTerryLi_ has joined #asahi-dev
10:58svenand is it ever too early for a beer? ;)
11:06mazyou're a wicked, wicked man!
11:20kettenissven: not sure if I want to have a bikeshed about it, but apple,t8103-usb4-dart would have been my choice for the compatible
11:21svendon't care either way :)
11:21svenlooks like I even have t8103-usb4-dart in the commit message *sigh*
11:36mkurz has joined #asahi-dev
11:39marcanoh heh, I missed that t8110 did get applied, yay
11:41marcansven: I'm guessing apple tell them apart with the sid-count property? either way, separate compatible is fine for us.
11:41svenyeah, they use that sid-count
11:41svenI haven't found anything in the DART_PARAMS that encode that sid count
11:43marcanshrug, works for me then
11:43marcanI do agree we probably want t8103-usb4-dart as the compatible probably though
11:46marcansven: if there are no comments in a couple days you can probably just v2 it with my acks and hopefully it'll get picked up this cycle
11:47svendoesn't matter all that much since there's no way thunderbolt is ready this cycle :D
11:47marcanthough some people do like watching the patch count drop for some reason :p
11:47sventrue :)
11:48marcanI should also send the initial t8112 DTs
11:48sveni hope to remove all the annoying duct tape that still holds usb4 together sometime in the next weeks
11:48marcandoes any of that help DP, or is that mostly separate?
11:49svenand hopefully $work has also delivered my new dock by then so that I can also test usb tunneling
11:49svenmostly separate
11:49svenbut DP-over-USB4 doesn't look too bad
11:49sventhe NHI part already just works afaict
11:50svenall that's missing is those DPIN things which aren't that many MMIO pokes and some glue for dcpext
11:50marcanyeah, just now
11:51jannaumarcan: I was planning to send the t8112 DTs as soon as I get the m2 mac mini to work
11:52marcansigh, looks like Robin ignored my request not to merge the binding change...
11:52marcanso we can't send the DTs until next cycle.
11:52mazyou can send a revert, I'm sure he'll take it.
11:53mazor even ask him to drop the patch altogether.
11:53marcanprobably not worth it
11:53marcanalso it was Joerg that merged it
11:54svenjoro is the iommu maintainer, robin does almost all the reviews ;)
11:54mazyeah, I'd love Robin to take a more active maintainer role, be he knows better! :D
11:54svenlol :D
11:55jannauI think it was acceptable to depend on binding changes merged through other trees if they are expected to land in the same cycle
11:55marcanrobher: ^ can you ack that?
11:56jannaubut we're rather late in the cycle for 6.3 anyway so let us merge them early in the next one
11:56jannauthey are not that useful anyway without keyboard and usb support
11:56marcanyeah. I do need to send arnd a pull for everything so far, but it's not much
11:56marcanjannau: except on the new mini... but that doesn't work for other reasons :p
11:57marcando we have any other pending DT/soc stuff we want to get in this cycle?
11:57marcan(other than the patches on the list which I haven't actually applied yet)
11:57svennothing from my side
11:58svenall the usb stuff is going to be fun anyway a cycle or two from now. with all its dependencies it'll probably be like 30 patches that all have to go through a single tree
11:59jannaunothing from my side either
11:59kettenisat least it isn't 30 diffs that have to go through 30 trees in a coordinated fashion ;)
12:00marcanI should also resend the brcmfmac stuff and see if it lands
12:00marcanwould be nice
12:01kettenisfwiw my u-boot pci/xhci diff made it into master
12:02svenyeah.. there's the thunderbolt core changes, the PCIe changes which will depend on them due to that OOB tunnel notification and the USB changes that probably also need the same OOB notification, probably also the PHY changes since it looks like I'll need a PHY_TYPE_USB4 used in both thunderbolt and the phy itself :/
12:02ketteniswe still may need a hack for the asmedia controllers
12:02marcankettenis: nice :) (and yeah)
12:02jannaukettenis: should be safe for asmedia as those all have a smc gpio for pwr enable
12:03kettenisI'll take a look at that once my m2 pro mini arrives
12:03kettenisjannau: ah, good
12:04kettenison the other hand, that means I need to add an smc driver
12:04kettenisand we need to sort out the PCIe power device tree bindings
12:05marcanjannau: j456 also? we don't have that in the DT and it does work
12:05jannauwe could try what happens if we enable them in m1n1 since I most likely will need smc to enable the dp2hdmi converter
12:06marcanj375c on the other hand needs some other GPIOs flipped to un-reset the USB3 hub that's in front
12:06jannaumarcan: I did not check the j456 adt
12:06marcanjannau: I see a gpio in the adt, but it must already be enabled by default because it works and we don't touch it..
12:07marcanstill, good to know we missed that
12:08marcankettenis: yeah, I also need to make that work properly with sleep/etc
12:08sventhe normal pcie darts also depends on the port's APCIE_PORT_APPCLK_EN to be set fwiw
12:08svenit just happens to work for them because m1n1 already enables that and leaves it on
12:09jannauah, so it might be enabled on the other devices as well. I'll check u-boot with pcie support on the studio
12:09kettenismarcan: yes, powering the chips off seems to save a smallish but non-negligible amount of power (~0.1W for the wifi/bluetooth chip)
12:10kettenisof course if you do that, they probably cannot be used for wakeup
12:10marcanmy guinea pig is the SD card reader, since we have external GPIOs for card insert so we actually can keep it working properly
12:10kettenis(which is something I don't care about and is unlikely to be supported in OpenBSD anyway)
12:11marcan(and it's a lot saner to validate stuff with than wifi)
12:11marcanwifi we currently put into soft S3 state, not sure exactly how much power that continues to waste (one would hope not much)
12:12kettenissee above (OpenBSD puts it in that soft sleep state as well)
12:12marcanah, that's on top of that?
12:12marcanyeah, then it would be nice to fully power down
12:12marcanthough then we need to do a full firmware set on power-up of course, but I know that already works because when I first brought this up there was an issue causing it to do that anyway
12:13marcan(assuming firmware state is lost if we drop the gpio)
12:13kettenisindeed (and yes the firmware state is lost)
12:13marcankettenis: so openbsd has the fancy new mailbox emulation thing I had to add already?
12:14kettenisI have a funny issue with reinitialization on OpenBSD
12:15kettenismarcan: yes, I don't need to queue up diffs, I just need an ok from bluerise ;)
12:16kettenis(I do appreciate that scaling up development to a larger number of developers is tricky)
12:16svenluckily we have mailing lists for that *sigh*
12:17marcanyup, bleeding edge tech there
12:21chadmedhas there ever been any serious discussion around nuking the mailing lists and replacing them with something sane
12:21chadmedor is it a "dont be preposterous the Ancient Ways must be preserved" type deal
12:27marcantbh I'm kind of tempted to just accepting PRs to the SoC tree on GitHub and try to figure out how to get the asahi list CCed on at least the PR notifs
12:28marcanand then we keep the r-b convention (and the submitter or merger still has to rewrite commits to add the tags), but at least it's on GitHub
12:28marcanand see if anyone shouts at me for it
12:31jannauthere are discussions to switch drm to gitlab. main argument against it is how to make sure everyone (most) convert to gitlab
12:31marcanit's not like anyone but us and ericcurtin is reviewing the RTKit stuff anyway, I'll have to ask him but I assume everyone else would be fine with github
12:32marcanthen for DT stuff it's up to that crowd or we can keep just that on the ML
13:05svenmarcan: kettenis: so I guess for PCIe apple,usb4-pcie then? (plus the usual tXXXX-usb4-pcie)
13:05marcanyeah, sounds about right
13:05kettenisdoesn't trigger my OCD ;)
13:06svenlol :D
13:06kettenisseparate compatibles are better here than additional optional properties I think
13:06svenyeah, the usb4 pcie thing require a different init sequence and doesn't even have that reset gpio e.g.
13:07kettenisespecially since it means we can't accidentally expose on outward facing port just because the compatible happens to match
13:32robhermarcan: merging thru separate trees for bindings and dts is fine. That's been the norm, but schema warnings changes that.
13:34chengsun has joined #asahi-dev
14:02___nick___ has joined #asahi-dev
14:03chengsun_ has joined #asahi-dev
14:03___nick___ has quit []
14:05___nick___ has joined #asahi-dev
14:07chengsun has quit [Ping timeout: 480 seconds]
14:16chengsun has joined #asahi-dev
14:19chengsun_ has quit [Ping timeout: 480 seconds]
15:21robinp has quit [Remote host closed the connection]
15:21chadmed_ has quit [Ping timeout: 480 seconds]
15:22robinp has joined #asahi-dev
15:38hertz has joined #asahi-dev
16:23hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:32hertz has joined #asahi-dev
16:34hertz has quit []
16:42seeeath has joined #asahi-dev
17:09linuxgemini6 has quit []
17:09linuxgemini has joined #asahi-dev
17:09linuxgemini has quit []
17:12linuxgemini has joined #asahi-dev
17:19bluetail89482 has quit [Read error: Connection reset by peer]
17:21bluetail89482 has joined #asahi-dev
17:22linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
17:22linuxgemini has joined #asahi-dev
17:34amarioguy has joined #asahi-dev
18:02mkurz has quit [Read error: Connection reset by peer]
18:02mkurz has joined #asahi-dev
18:06seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:07seeeath has joined #asahi-dev
18:12bcrumb has joined #asahi-dev
18:17bcrumb has quit [Quit: WeeChat 3.8]
18:22eiln has joined #asahi-dev
18:24eilnexhausted from moving boxes all day, just set up a hotspot from my phone so i can even write this. i read the logs, so ill get back to anyone in <2 days #timing #amirite
18:24eiln has quit []
18:41seeeath has quit [Read error: Connection reset by peer]
18:41seeeath_ has joined #asahi-dev
18:53gladiac has joined #asahi-dev
19:00cylm has quit [Ping timeout: 480 seconds]
19:16hertz has joined #asahi-dev
19:26hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:45zzywysm has joined #asahi-dev
20:07jluthra has quit [Remote host closed the connection]
20:07jluthra has joined #asahi-dev
20:24gladiac has quit [Quit: k thx bye]
21:00seeeath_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:06seeeath has joined #asahi-dev
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:11jeffmiw has joined #asahi-dev
21:36bluetail894825 has joined #asahi-dev
21:40bluetail894825 has quit [Read error: Connection reset by peer]
21:42hertz has joined #asahi-dev
21:43bluetail89482 has quit [Ping timeout: 480 seconds]
22:33whomst has joined #asahi-dev
22:39chadmed_ has joined #asahi-dev
22:47DarkShadow44 has quit [Quit: ZNC - https://znc.in]
22:47DarkShadow44 has joined #asahi-dev
23:22hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:38whomst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:39seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:43seeeath has joined #asahi-dev
23:45seeeath has quit []
23:52whomst has joined #asahi-dev
23:53seeeath has joined #asahi-dev
…