#
✕ nick:marcan
#asahi · 2021-12-15 16:13
marcancorrect
#asahi · 2021-12-15 16:12
marcaneventually there will be an "update my m1n1" option in the installer, so you can just do the same curl and it'll run kmutil for you
#asahi · 2021-12-15 16:11
marcantpw_rules: correct; no, u-boot does not have access to the ADT and cannot be taught to do what m1n1 does
#asahi · 2021-12-15 15:51
marcanthat's not too surprising
#asahi · 2021-12-15 15:51
marcanoh you mean the iBoot bring-up?
#asahi · 2021-12-15 15:50
marcan12.0 messed with DCP a lot, maybe it improved?
#asahi · 2021-12-15 15:49
marcanyes :p
#asahi · 2021-12-15 15:48
marcanhow was I supposed to know that was going to work that well :D
#asahi · 2021-12-15 15:48
marcanI mean https://twitter.com/marcan42/status/1468617255147941888/photo/1
#asahi · 2021-12-15 15:47
marcanI think alyssa just tried to rebase it recently?
#asahi · 2021-12-15 15:47
marcantpw_rules: it is not
#asahi · 2021-12-15 15:47
marcansven: every time I try to sacrifice it I come up with some way to achieve the same thing through software!
#asahi · 2021-12-15 15:47
marcanbut yeah, tbh I just added it to test the SPI driver, but I might disable it by default
#asahi · 2021-12-15 15:46
marcanI have a brand new Mini here... maybe it should be sacrificed to science...
#asahi · 2021-12-15 15:46
marcanI should actually test that though :-)
#asahi · 2021-12-15 15:46
marcansupposedly the restore process actually phones home to apple to download the calibration/etc info
#asahi · 2021-12-15 15:46
marcantpw_rules: well, I'm also not advertising this to end users yet, and also I hear you can't actually brick it by wiping NOR
#asahi · 2021-12-15 15:45
marcanbut then again if you have 12.0 HDMI won't work at all right now without DCP :D
#asahi · 2021-12-15 15:45
marcantpw_rules: you need the DCP driver, but that's limited to 11.4 right now; it's on my list of things to look at and forward-port to 12.0...
#asahi · 2021-12-15 15:45
marcanhaving extremely verbose debug logs behind the scenes would be very helpful (and also make it easier for me to trim down the output)
#asahi · 2021-12-15 15:44
marcanI get the feeling I need to add a logging framework (not log4j :p) to the installer and have it copy out its log to the target Preboot partition or so, for post-facto debugging
#asahi · 2021-12-15 15:44
marcanheh
#asahi · 2021-12-15 15:42
marcanthe GUI diskutil is... limited and broken in interesting ways
#asahi · 2021-12-15 15:42
marcanyes, blank space is easiest, but you need the commandline diskutil for that
#asahi · 2021-12-15 15:41
marcanI should test it again
#asahi · 2021-12-15 15:41
marcanalso, I think I haven't tested existing-container mode in a long time, maybe that's broken!
#asahi · 2021-12-15 15:41
marcanthat's not the volume name, just the mountpoint
#asahi · 2021-12-15 15:41
marcanthe mountpoint gets a number appended if there is another one with the same name already
#asahi · 2021-12-15 15:40
marcanwonder if it's a diskutil issue...
#asahi · 2021-12-15 15:40
marcanbut I didn't expect it to outright say ''
#asahi · 2021-12-15 15:40
marcanyeah, if you have multiple with the same name it gets confusing
#asahi · 2021-12-15 15:38
marcantpw_rules: do you remember if that message had the right thing in the parentheses?
#asahi · 2021-12-15 15:38
marcanprint(f"Installing stub macOS into {self.part.name} ({self.part.label})")
#asahi · 2021-12-15 15:38
marcanprint(f"/Volumes/{shlex.quote(self.part.label)}/step2.sh")
#asahi · 2021-12-15 15:36
marcanyeah, I wonder what happened there...
#asahi · 2021-12-15 15:35
marcanFWIW the real URL will be alx.sh once this is properly published :)
#asahi · 2021-12-15 15:35
marcan(in HN it was under a disclaimer that this is for kernel devs :p)
#asahi · 2021-12-15 15:35
marcanI just did on HN a few minutes ago; I'm reluctant to put it in any high-visibility doc of ours just *yet* but I certainly want people who are going to try to run this to use it
#asahi · 2021-12-15 15:33
marcanI just hope it doesn't end up on Hacker News prematurely :-)
#asahi · 2021-12-15 15:33
marcan(even for myself, once I get around to starting to bundle u-boot with the installer)
#asahi · 2021-12-15 15:33
marcanyeah, some docs to point people to are helpful
#asahi · 2021-12-15 15:32
marcanthough at least if you're telling people how to set up u-boot + grub, that's a lot more useful than people burning kernels into m1n1 with kmutil :p
#asahi · 2021-12-15 15:31
marcanI won't stop you, but I do want to work on making that less painful myself in the very near future...
#asahi · 2021-12-15 15:30
marcanI sure hope it transplants the memory range at least... if it doesn't then you're lucky it works at all
#asahi · 2021-12-15 15:30
marcanthen it might not even do that
#asahi · 2021-12-15 15:29
marcanI actually wonder what u-boot does about the framebuffer? I guess it transplants /chosen at least... but yeah, there's more than that
#asahi · 2021-12-15 15:29
marcanit might not break things very badly (yet) but it's still a terrible idea :-)
#asahi · 2021-12-15 15:29
marcanyes
#asahi · 2021-12-15 15:29
marcanbasically, device trees must go through the m1n1 kboot.c code (which is called by both the embedded payload runner and linux.py)
#asahi · 2021-12-15 15:28
marcanand no DTs anywhere else after that

plus ›