#asahi-dev · 2022-11-01 15:41
marcanwhich seems a lot saner#asahi-dev · 2022-11-01 15:41
marcanthe timeout in m1n1 is 50ms, for the record#asahi-dev · 2022-11-01 15:41
marcanyes#asahi-dev · 2022-11-01 15:40
marcanwho decided that was a good idea? I'm seeing clock stretching from this thing of... exactly 10ms#asahi-dev · 2022-11-01 15:40
marcanthe i2c timeout is hardcoded at 10ms#asahi-dev · 2022-11-01 15:40
marcanI know what this is#asahi-dev · 2022-11-01 15:40
marcanoh wait uhhh#asahi-dev · 2022-11-01 15:37
marcanlovely...#asahi-dev · 2022-11-01 15:22
marcanI don't know that that's the problem yet but that's broken#asahi-dev · 2022-11-01 15:22
marcanok, for starters there's a bug in the IRQ handler. if the event read fails, event is uninitialized, but then it decides whether to return IRQF_HANDLED or not based on that.#asahi-dev · 2022-11-01 14:38
marcanlet me see if I can pull off some hardware i2c logging...#asahi-dev · 2022-11-01 14:37
marcanjannau: ok, reproduced#asahi-dev · 2022-11-01 12:44
marcanI think that ticks off all the longtime installer snags people have been running into#asahi-dev · 2022-11-01 12:44
marcanfixed the installer issues when there is a pending macOS upgrade (I think)#asahi-dev · 2022-11-01 11:35
marcanjannau: So one charger and one device?#asahi-dev · 2022-11-01 11:04
marcan(I remember stuff like that mattering in the past)#asahi-dev · 2022-11-01 11:04
marcan(just want to get it 100% identical)#asahi-dev · 2022-11-01 11:04
marcanjannau: re tipd on M2, any particular devices/charger you use?#asahi-dev · 2022-11-01 08:45
marcanyeah, I thought of that, though it's not ideal#asahi-dev · 2022-11-01 08:38
marcan(hence, Rust)#asahi-dev · 2022-11-01 08:38
marcanparsing descriptors and all that "fun" stuff#asahi-dev · 2022-11-01 08:38
marcanthat's the worst part IMO#asahi-dev · 2022-11-01 08:38
marcanxHCI isn't that bad, but then you also need to do the whole USB stack thing (hubs, etc.)#asahi-dev · 2022-11-01 08:33
marcanI haven't tested it yet, but I think it should be possible to make such an external drive bootable on another Mac by re-running the installer in the "fix my boot policy" mode #asahi-dev · 2022-11-01 08:33
marcanbut I'm going to commit the required installer shenanigans as expert-only and only allow the m1n1/tethered install option, so people can play around with it#asahi-dev · 2022-11-01 08:32
marcanonly problem is m1n1 now needs an xHCI+USBMS stack written in Rust ;)#asahi-dev · 2022-11-01 08:32
marcanok, so it actually works! we can do stage1 installs directly to USB#asahi-dev · 2022-11-01 07:53
marcan... how did I end up with a 0-byte m1n1.bin?#asahi-dev · 2022-11-01 07:49
marcanoh... I think I screwed this up, lol#asahi-dev · 2022-11-01 07:43
marcanI wonder if any of this is fixed in newer macOS versions...#asahi-dev · 2022-11-01 07:42
marcan#2 I'm not sure yet, it's bootlooping#asahi-dev · 2022-11-01 07:41
marcanthere's at least two problems, #1 kmutil doesn't read the adminuser file from the right place#asahi-dev · 2022-11-01 07:41
marcanaand nope, fuOS on USB doesn't work.#asahi-dev · 2022-11-01 06:35
marcan... why is Apple tooling so broken#asahi-dev · 2022-11-01 06:34
marcanError finding last partition on map (there must pre-exist at least one partition): Invalid request (-69886)#asahi-dev · 2022-11-01 06:34
marcanThe new partition to be added will be of a filesystem personality of APFS apfs APFS 7C3457EF-0000-11AA-AA11-00306543ECAC#asahi-dev · 2022-11-01 06:34
marcan$ diskutil addPartition disk7 apfs 'Asahi External' 2499805184#asahi-dev · 2022-11-01 06:34
marcanso I just tried to do an Asahi install to an external disk because why not (it might work, though locked to one machine) and:#asahi-dev · 2022-11-01 05:47
marcanlike enough memory-memory dependencies that the speculation can't do anything about it#asahi-dev · 2022-11-01 05:47
marcanit could be there is something particularly sub-optimal about whatever xdelta is doing#asahi-dev · 2022-11-01 05:46
marcannicolas17: could be :)#asahi-dev · 2022-11-01 04:45
marcanbecause compiling doesn't parallelize at that level#asahi-dev · 2022-11-01 04:44
marcanit only helps you do more of them in parallel, which compiling doesn't#asahi-dev · 2022-11-01 04:44
marcanadding more bandwidth isn't going to help memory accesses go quicker#asahi-dev · 2022-11-01 04:44
marcannicolas17: compiling does not benefit from memory bandwidth, everyone confuses bandwidth and latency :)#asahi-dev · 2022-11-01 01:46
marcanrmk: thank you :)#asahi-dev · 2022-10-31 14:35
marcan(I can deal with code reviews and design bikeshedding and whatever, but this kind of silliness gets to me)#asahi-dev · 2022-10-31 14:35
marcan(sorry, I'm in a bad mood dealing with this after the argument last week, bad upstreaming interactions make me cranky)#asahi-dev · 2022-10-31 14:34
marcanshittier code it is.#asahi-dev · 2022-10-31 14:34
marcanright. it's more code, and therefore obviously a bad solution, but it sounds like the maintainer of the subsystem intended for this purpose doesn't actually want his subsystem used for this purpose so...