marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
OOD_ has quit [Read error: Connection reset by peer]
odmir has quit [Remote host closed the connection]
_whitelogger has joined #asahi
nicolas17 has quit [Quit: sleep]
marvin24 has quit [Ping timeout: 260 seconds]
marvin24 has joined #asahi
amw has joined #asahi
amw has quit [Ping timeout: 246 seconds]
nonemu has quit [Remote host closed the connection]
_whitelogger has joined #asahi
Bublik has quit [Ping timeout: 265 seconds]
Bublik has joined #asahi
haneja has joined #asahi
haneja has quit [Client Quit]
nonemu has joined #asahi
<marcan>
ar: you mean kettenis? he's here :p
<ar>
oh, didn't realize
<marcan>
kettenis: so what do you need to use m1n1, just the pcie phy init at this stage? DART bypass?
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak has joined #asahi
VinDuv has joined #asahi
BaughnLogBot has joined #asahi
ronyrus[m] has joined #asahi
amw has joined #asahi
amw has quit [Ping timeout: 256 seconds]
zkrx has quit [Ping timeout: 272 seconds]
zkrx has joined #asahi
JJJollyjim has joined #asahi
vimal has joined #asahi
phiologe has quit [Ping timeout: 240 seconds]
raster has joined #asahi
phiologe has joined #asahi
Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kettenis>
I currently rely on U-Boot bringing up PCIe which involves some clock gating, pin muxing, gpio poking and a hanshake with the SMC over a mailbox
<kettenis>
I also rely on U-Boot enabling the DART clocks
<kettenis>
Since I haven't found a way to but the DART in bypass mode I manage the DART from OpenBSD
<kettenis>
cheating a bit by doing a 1:1 mapping of about 1G of RAM and telling the kernel to use that block for DMA
<never_released>
kettenis: see the Corellium tree
<never_released>
Thunderbolt supported nowadays
<kettenis>
I don't have any thunderbolt hardware so that isn't really a priority for me
<never_released>
also there's support for legacy interrupts on PCIe now
<never_released>
you might want to look at that
<Shiz>
re:hidden boot mode, if it's not blessed as 1TR by the LLB, doesn't it make it effectively just another rOS
<sven>
I'm not convinced all darts support bypass mode fwiw. I'm rather sure the display one doesn't.
<marcan>
well, to be fair, nobody was pretending *that one* wasn't copyright infringement on paper
* eta
saw that and was like "that can't possibly be legal"
<marcan>
I'm not nominally opposed to projects like that, they are cool and educational and help game preservation, so long as everyone understands you can't slap GPL on the result, and it's up to the goodwill of the publisher to not have you taken down :P
<eta>
well yeah, you kinda need the publisher's (implicit) consent
<eta>
> [...] what we typically do is work with the output of the decompiler and massage it back into readable C++
* eta
:thonking:
<davidrysk[m]>
The more responsible of those projects never ship the original code but rather a set of tools that perform the transformations on the original code
<davidrysk[m]>
And you are responsible for sourcing the original code and running said tools
<marcan>
that's more useful for modding projects, or straight porting tools, and even then there are going to be questions around the derivative work status of the patches themselves
<marcan>
AIUI the GTA one reverses the code but doesn't provide the game assets, which is still practically "well, this is useless if you don't own the game"
<marcan>
so honestly that is fine in my book from a *moral* standpoint, again, as long as everyone is aware of exactly what happened and that it is a blatant derivative work
<marcan>
but of course I wouldn't touch any such code with a 10 foot pole if I were working on something open source
<marcan>
it's just a completely different class of project
BaughnLogBot has quit [Ping timeout: 265 seconds]
BaughnLogBot has joined #asahi
odmir has quit [Remote host closed the connection]
<nicolas17>
it also gets confusing when the game developers are *okay* with reversing and modding, and encourage it, and make official modding channels on the official game discord, but there's still no explicit license so everything remains gray
<modwizcode>
That's the trick they use to avoid having to explicitly say what they don't want done. No chance of arguing, just "oh it violates the license"
titanous has quit [Ping timeout: 260 seconds]
titanous has joined #asahi
Tokamak has joined #asahi
<krbtgt>
yeah the zzt one had permission from tim sweeney, basically