#asahi · 2021-09-23 10:28
marcananyway, the screwdrivers should arrive tomorrow... though tomorrow I have some stuff to do, so I'm not so sure if I'll have time, we'll see#asahi · 2021-09-23 10:16
marcanthe production pcb is quite smaller than the intel one#asahi · 2021-09-23 10:14
marcanso I know those are probeable#asahi · 2021-09-23 10:14
marcanbetween the PD chip and the M1#asahi · 2021-09-23 10:14
marcanthere is a choke on the way of the USB lines#asahi · 2021-09-23 10:11
marcanyeah#asahi · 2021-09-23 10:11
marcanthat's not a thing though#asahi · 2021-09-23 10:11
marcanit makes no sense#asahi · 2021-09-23 10:11
marcanI'm going to scope out the USB lines to try to figure out the mystery of why the dwc3 thing locks up on internal hotplugs but not external ones#asahi · 2021-09-23 10:10
marcana second mac mini#asahi · 2021-09-23 10:07
marcanyeah, I just got the ifixit one on amazon#asahi · 2021-09-23 10:07
marcantophevich[m]: it would've started ~now were it not for... this problem#asahi · 2021-09-23 10:06
marcanplaces an order for a proper screwdriver set...#asahi · 2021-09-23 10:06
marcanI have down to TR7, then just T6 for smaller#asahi · 2021-09-23 10:06
marcanapparently this thing uses TR6 screws#asahi · 2021-09-23 10:06
marcanahaha, foiled by apple#asahi · 2021-09-23 06:36
marcanalright, might take a bit to set up, but let's see if I can do the teardown/USB debug stream today#asahi · 2021-09-22 18:09
marcanyeah, makes sense#asahi · 2021-09-22 17:16
marcanI'm thinking of always reporting LR in parentheses or so#asahi · 2021-09-22 17:16
marcannull: figures, good to know#asahi · 2021-09-22 06:01
marcanI don't know about that#asahi · 2021-09-22 05:56
marcanthe hv has to run on anything, including the guest running userspace code etc#asahi · 2021-09-22 05:56
marcanthe kernel knows itself and has its own symbol metadata#asahi · 2021-09-22 05:53
marcanyeah, with symbols and additional metadata it's much easier, but the hv has to be able to show backtraces without symbols too :)#asahi · 2021-09-22 05:23
marcanphire: not the case in linux at least, I think#asahi · 2021-09-22 02:20
marcanmaybe, as long as symbols are available, just check if lr is in the current function; if it is, skip it, otherwise display it#asahi · 2021-09-22 02:15
marcanand... I can't think of a way to know which it is#asahi · 2021-09-22 02:14
marcanfor the first frame, if it's a leaf function with no stack frame you need to use lr for the next entry, but if it's a non-leaf function then lr can be garbage and you need to go straight to the stack frame#asahi · 2021-09-22 02:14
marcansilly thing I was thinking about yesteday: is it possible to get complete stack traces on arm64 without function info?#asahi · 2021-09-21 17:06
marcanbut given the lineage of these chips, it wouldn't be surprising if details are the same#asahi · 2021-09-21 17:06
marcanyeah, it's not similar like uart is#asahi · 2021-09-21 16:47
marcanbut if I brick this thing it'll be a good experiment too :D#asahi · 2021-09-21 16:47
marcanwell, my mac minis only have nor...#asahi · 2021-09-21 16:44
marcanj_ey: I might spend some time poking at the hardware and figuring out how to redo it more sanely#asahi · 2021-09-21 16:37
marcanI should spend some time poking at spi after I tear down this thing...#asahi · 2021-09-21 16:36
marcanI wonder if CPHA/CPOL and some of the others are the same as that samsung#asahi · 2021-09-21 16:36
marcanknowing how the uart block works, that "REG_CONFIG_PIOEN" looks more like IRQ enabled? it's the same bit as the IRQ mode on the samsung spi (S3C2410_SPCON_SMOD_INT)#asahi · 2021-09-21 16:32
marcanyou can run dump_pmgr.py yourself though!#asahi · 2021-09-21 16:32
marcanah, I don't have spi3 because I'm on a mac mini :)#asahi · 2021-09-21 16:30
marcanyou could try poking bits in the control register to see if you can find a clock select where it suddenly works at 200MHz instead :p#asahi · 2021-09-21 16:28
marcan(where it's either the fixed 24M clock or the configurable one, except for the UART that one is configured to 24M anyway)#asahi · 2021-09-21 16:28
marcanj_ey: btw, I bet the spi has a selectable clock like the uart does#asahi · 2021-09-21 16:17
marcanwe've well established by now that the ADT is a giant mess and doesn't describe the hardware even remotely consistently#asahi · 2021-09-21 16:17
marcanit's probably correct#asahi · 2021-09-21 16:15
marcanso it would've ended up with refclk#asahi · 2021-09-21 16:15
marcanand I just checked and the driver does use the clock#asahi · 2021-09-21 16:15
marcanyeah, the old way had refclk trickle down to everything#asahi · 2021-09-21 16:14
marcanapple only lists the 200MHz clock for spi, but that might be a device clock or something, and then the IO clock is still refclk...#asahi · 2021-09-21 16:14
marcantry that#asahi · 2021-09-21 16:14
marcanj_ey: getting the feeling it's refclk after all