#
✕ nick:marcan
#asahi · 2021-01-13 22:37
marcanand I may start lter
#asahi · 2021-01-13 22:37
marcanj`ey: you can sleep a bit more, it won't be over in 2 hours
#asahi · 2021-01-13 22:37
marcanso also useful for people who want to mess with xnu/darwin builds, once they finally publish code with M1 support
#asahi · 2021-01-13 22:37
marcanalso this should be able to boot darwin via serial (and usb once that works)
#asahi · 2021-01-13 22:37
marcanthat's the plan :)
#asahi · 2021-01-13 22:36
marcanand then write a relocating mach-o loader to do it better
#asahi · 2021-01-13 22:36
marcandavidrysk[m]: as soon as I have the uartproxy I can do that in principle
#asahi · 2021-01-13 22:36
marcanwith maybe a dinner break
#asahi · 2021-01-13 22:36
marcanbut it'll probably go on for hours
#asahi · 2021-01-13 22:36
marcanI'm going to guess 15:00 JST ish, maybe
#asahi · 2021-01-13 22:32
marcan(and it reboots fast)
#asahi · 2021-01-13 22:32
marcan(I have enough time before it barks for it to be useful)
#asahi · 2021-01-13 22:32
marcanI will implement the uartproxy first so I can experiment with the wdt through that
#asahi · 2021-01-13 22:31
marcanthe wdt is in the devtree, yeah
#asahi · 2021-01-13 22:26
marcanI was looking for a way to get into 1TR without touching it!
#asahi · 2021-01-13 22:26
marcanI already have that!
#asahi · 2021-01-13 22:26
marcanlol :D
#asahi · 2021-01-13 22:25
marcan:p
#asahi · 2021-01-13 22:25
marcan... I guess that's going to be near the top of the list of hardware to reverse engineer
#asahi · 2021-01-13 22:25
marcanthe thing reboots endlessly, every minute or half or so
#asahi · 2021-01-13 22:25
marcanalso, uh, apparently there's a watchdog
#asahi · 2021-01-13 22:18
marcanhttps://hub.marcan.st/t/wacko_colors.png turns out this is what happens when you try to put a 24bpp logo on 30bpp framebuffer :-) (testing on mac mini via HDMI capture, doing the tweet with the Air was for effect)
#asahi · 2021-01-13 22:16
marcan:p
#asahi · 2021-01-13 22:16
marcanalready thought of that
#asahi · 2021-01-13 22:15
marcanbrentr123[m]: which my code puts on screen
#asahi · 2021-01-13 22:15
marcanbecause of *course* apple uses a 30bpp framebuffer. that's 10 bits per color. for the ultimate apple logo smoothness.
#asahi · 2021-01-13 22:15
marcanj`ey: the colors were wrong the first time.
#asahi · 2021-01-13 22:14
marcanturns out yolo works sometimes :-)
#asahi · 2021-01-13 22:12
marcantomorrow will be lots of fun.
#asahi · 2021-01-13 22:11
marcanokay, I can sleep now.
#asahi · 2021-01-13 22:11
marcanhttps://twitter.com/marcan42/status/1349478954982232064
#asahi · 2021-01-13 22:01
marcanupload them somewhere
#asahi · 2021-01-13 21:59
marcanwell then. time starts counting now.
#asahi · 2021-01-13 21:58
marcanha.
#asahi · 2021-01-13 21:41
marcanyeah
#asahi · 2021-01-13 21:26
marcanthe xnu bootinfo stuff/fb I have not tested, but there is some basic scaffolding in there... I mean it's not complicated code... should work right? :p
#asahi · 2021-01-13 21:26
marcanI tested the relocation code to make sure that worked at least, so I know I'm not doing anything dumb in the startup
#asahi · 2021-01-13 21:25
marcanunlikely it's *that* bad :p
#asahi · 2021-01-13 21:25
marcan(famous last words)
#asahi · 2021-01-13 21:25
marcanI mean it *should* work, right?
#asahi · 2021-01-13 21:24
marcanwondering if I should just yolo something quick with what I have of mini so far...
#asahi · 2021-01-13 20:56
marcanthat will be a fun stream.
#asahi · 2021-01-13 20:56
marcanwell then.
#asahi · 2021-01-13 20:40
marcanwell it'll certainly be interesting if we did finally get kmutil
#asahi · 2021-01-13 20:39
marcanis it 2 days?
#asahi · 2021-01-13 20:38
marcanthough I suspect talking about it would violate the developer agreement on paper at least :p
#asahi · 2021-01-13 20:35
marcanshould I pay the dev ransom and find out?
#asahi · 2021-01-13 13:10
marcan:p
#asahi · 2021-01-13 13:10
marcan... but given it's so weak it doesn't even work properly, that also sounds like a terrible idea
#asahi · 2021-01-13 13:10
marcanin my PS2

plus ›