#
✕ nick:marcan
#asahi · 2021-12-15 15:28
marcanwith the HV you should be loading a m1n1 + devicetree + u-boot payload, where m1n1 takes care of the DT munging
#asahi · 2021-12-15 15:27
marcanthat's completely unsupported; m1n1 is the source of truth there, it's not just about hypervisor stuff
#asahi · 2021-12-15 15:27
marcanyou need to stop overriding the device tree
#asahi · 2021-12-15 15:27
marcanyes
#asahi · 2021-12-15 15:26
marcanopen the second ttyACM device
#asahi · 2021-12-15 15:26
marcanthe hypervisor has a virtual UART
#asahi · 2021-12-15 15:26
marcanit would under the hypervisor too, if you do that (e.g. run it over vUART, though most people wouldn't do that)
#asahi · 2021-12-15 15:26
marcantpw_rules: linux.py does
#asahi · 2021-12-15 15:20
marcanif you're somehow overriding the device tree that m1n1/the HV cooks up with a fresh one, that won't work
#asahi · 2021-12-15 15:20
marcanare you passing in a device tree at some point post-m1n1?
#asahi · 2021-12-15 14:21
marcannilsi[m]: thanks, just updated it :)
#asahi · 2021-12-15 13:50
marcanI wanted to do it today but ended up with too many things to pick at
#asahi · 2021-12-15 13:50
marcanj`ey: yes, haven't decided when yet though
#asahi · 2021-12-15 11:12
marcanfixed, thanks :)
#asahi · 2021-12-15 06:59
marcanbut either way cache flushes shouldn't kill performance like they do
#asahi · 2021-12-15 06:59
marcanwhich we don't know
#asahi · 2021-12-15 06:58
marcanchadmed: it is *if* designed that way
#asahi · 2021-12-15 06:58
marcanit's normal for a low power machine to run for a second or so off of the main SMPS reservoir cap
#asahi · 2021-12-15 06:58
marcanthere is no magic battery
#asahi · 2021-12-15 06:58
marcanand the capacitor of the system PSU might also be enough to do the same on desktops, if it has last-gasp notification too, though I'm not sure how that works out with the iMacs having it external
#asahi · 2021-12-15 06:57
marcanit's obviously safe to not flush caches on a laptop if you have last-gasp handling of some sort
#asahi · 2021-12-15 06:57
marcanyes, it can
#asahi · 2021-12-15 06:56
marcanGlanzmann: all laptops have a battery, ???
#asahi · 2021-12-15 06:29
marcanlike many other things about this SoC
#asahi · 2021-12-15 06:29
marcanit's custom, embedded in the SoC
#asahi · 2021-12-15 06:26
marcanwell of course it isn't, otherwise we wouldn't have to write a driver for it
#asahi · 2021-12-15 06:25
marcanthe controller is in the SoC, there is no supercapacitor for that
#asahi · 2021-12-15 06:22
marcanbecause we are *not* putting dcpep support in m1n1
#asahi · 2021-12-15 06:21
marcannone of this helps what I want to do in m1n1 which implies writing a minimal RTKit stack in C for m1n1 and then reverse engineering and writing a minimal client for the iBoot DISP0 service endpoint
#asahi · 2021-12-15 06:21
marcanI am fully aware of the kernel driver she wrote based on my python :)
#asahi · 2021-12-15 06:21
marcanthat is not using the iBoot protocol nor is it C
#asahi · 2021-12-15 06:21
marcanI wrote the DCP python stuff
#asahi · 2021-12-15 06:20
marcanthose are python
#asahi · 2021-12-15 06:19
marcanand nobody has even reverse engineered the iBoot protocol yet
#asahi · 2021-12-15 06:19
marcanm1n1 has no native DCP support
#asahi · 2021-12-15 06:19
marcan?
#asahi · 2021-12-15 06:18
marcan(sigh, thanks apple)
#asahi · 2021-12-15 06:18
marcanit's looking like I'll have to add iBoot-protocol DCP support to m1n1 to bring up the display
#asahi · 2021-12-15 06:18
marcanyes we know
#asahi · 2021-12-15 06:18
marcananything <12.0.1
#asahi · 2021-12-15 06:17
marcanGlanzmann: anything <12.0.1 works, please don't tell people to go to the oldest firmware for no reason
#asahi · 2021-12-15 06:16
marcantpw_rules: you want keep_bootcon when stuff fails right after the serial init
#asahi · 2021-12-14 15:05
marcanbefore DCP you get a progress bar and no logo, as the older 2nd stage iBoot2 initializes DCP but doesn't draw the logo :)
#asahi · 2021-12-14 15:05
marcan(on the mini)
#asahi · 2021-12-14 15:05
marcanafter DCP initializes the graphics stack redraws the logo
#asahi · 2021-12-14 15:05
marcanthe apple logo is gone if you boot e.g. 11.4 on 12.0.1 or later firmware, until DCP initializes
#asahi · 2021-12-14 15:03
marcanfirefox317: yes
#asahi · 2021-12-14 14:58
marcankettenis: mini and all HDMI output, not just some models
#asahi · 2021-12-14 09:38
marcanI really need to do something about this... it's kind of a release blocker :/
#asahi · 2021-12-14 09:38
marcanyeah, if you build your m1n1 partition off of macOS 11.4 (in the installer) it will work

plus ›