#
✕ nick:marcan
#asahi · 2021-01-08 13:40
marcanit's all a scattered mess, so this will be a good chance to clean it up a bit too
#asahi · 2021-01-08 13:40
marcanso I can poke a register and watch what other registers change
#asahi · 2021-01-08 13:40
marcanI have scripts somewhere for things like dumping whole register blocks and highlighting changes
#asahi · 2021-01-08 13:39
marcanby me just trying random bits and seeing what they do
#asahi · 2021-01-08 13:39
marcana lot of the wii hardware details, including bits that the official software never uses, were worked out this way
#asahi · 2021-01-08 13:39
marcanit's a heap implementation that keeps metadata on the python side, to be used by this stuff :p
#asahi · 2021-01-08 13:38
marcanI even have malloc.py lying around somewhere
#asahi · 2021-01-08 13:38
marcanexcept, you know, python :p
#asahi · 2021-01-08 13:38
marcanand yeah, thankfully I expect a lot of hw init to be handled by iBoot, but not everything
#asahi · 2021-01-08 13:37
marcanand of course I can trivially add useful special purpose functions
#asahi · 2021-01-08 13:37
marcanso I can run little code snippets
#asahi · 2021-01-08 13:37
marcanI have a thing for compiling little asm blocks in python and running them
#asahi · 2021-01-08 13:37
marcanalso cache ops, upload, download, call function
#asahi · 2021-01-08 13:37
marcanyes
#asahi · 2021-01-08 13:37
marcan(extra bonus: adds another layer between any binary reversing of macos, hence more distance for avoiding copyright infringement claims)
#asahi · 2021-01-08 13:36
marcanand then write the real linux drivers off of that
#asahi · 2021-01-08 13:36
marcanso I might well end up with an entire M1 driver prototype folder full of python scripts that run on the host
#asahi · 2021-01-08 13:36
marcanand will boot faster than a kernel when it does crash and burn
#asahi · 2021-01-08 13:36
marcanit tends to have a much faster test cycle than kernel modules, and be a lot less likely to crash and burn
#asahi · 2021-01-08 13:36
marcanlike, depending on how much it interacts with other kernel frameworks, I could see gpu bringup happening here first even (we'll see)
#asahi · 2021-01-08 13:35
marcanwhich easily makes testing and reverse engineering unknown hardware orders of magnitude faster
#asahi · 2021-01-08 13:35
marcanthe main purpose of the RPC thing is to allow experimenting from a PC, remotely, without rebooting, and to be robust enough to gracefully recover from simple faults
#asahi · 2021-01-08 13:34
marcanit's a testbench
#asahi · 2021-01-08 13:34
marcanbut it'll be the beginning
#asahi · 2021-01-08 13:33
marcanwhether it ends up used in the "final version" or whatever, I don't care
#asahi · 2021-01-08 13:33
marcanwhich is just what I need for early bringup and experiments
#asahi · 2021-01-08 13:33
marcanbut more importantly it's dumb and simple and I know how it works and it's trivial to copy-paste-hack into a new platform
#asahi · 2021-01-08 13:33
marcan(on a different CPU)
#asahi · 2021-01-08 13:33
marcanit's actually what runs *with* linux on the wii
#asahi · 2021-01-08 13:33
marcansomething like that
#asahi · 2021-01-08 13:27
marcanI'll port it to arm64
#asahi · 2021-01-08 13:26
marcanit's just basic arm32 scaffolding and an RPC framework
#asahi · 2021-01-08 13:26
marcanmini is https://github.com/fail0verflow/mini
#asahi · 2021-01-08 13:24
marcanI'm familiar with the SPL thing
#asahi · 2021-01-08 13:03
marcanbusy right now in fact :p
#asahi · 2021-01-08 13:03
marcanI said I'd work on stuff today, not that I'd stream. I ended up too busy to stream
#asahi · 2021-01-08 13:02
marcannot today
#asahi · 2021-01-08 12:41
marcanj`ey: they can
#asahi · 2021-01-08 12:11
marcanultimately the point is, I don't think apple *cares*
#asahi · 2021-01-08 12:09
marcanseeing as literally anyone can get the public ones
#asahi · 2021-01-08 12:09
marcanall the other seeds
#asahi · 2021-01-08 12:09
marcanalso I think that's *intended* for, you know, non public betas
#asahi · 2021-01-08 12:08
marcanthat was in the regular EULA too IIRC
#asahi · 2021-01-08 12:05
marcanheh
#asahi · 2021-01-08 12:02
marcan*point
#asahi · 2021-01-08 12:02
marcandavidrysk[m]: good poitn
#asahi · 2021-01-08 12:02
marcanI don't think so, but even if it were we wouldn't be able to build and run patched versions
#asahi · 2021-01-08 12:00
marcaneven though it's in the manpage
#asahi · 2021-01-08 12:00
marcanor rather that tool is missing the "please run my custom kernel" options
#asahi · 2021-01-08 12:00
marcanyes

plus ›