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
BaughnLogBot has quit [Ping timeout: 240 seconds]
qyousef has quit [Ping timeout: 240 seconds]
qyousef has joined #asahi
<ar> someone got openbsd booting to multiuser on m1: https://marc.info/?l=openbsd-arm&m=161386122115249&w=2
<ar> it looks like with something providing uefi services
<ar> and, appraently, working usb
<ar> and some weird memory mapping, as only 4GB seems to be available
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<nico_32> ar: efi0: Das U-Boot rev 0x20210100
<nico_32> u-boot as a secondary bootloader to get efi
OOD has joined #asahi
phiologe has quit [Ping timeout: 240 seconds]
phiologe has joined #asahi
OOD_ has joined #asahi
OOD has quit [Ping timeout: 240 seconds]
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.
inglor_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
inglor has joined #asahi
odmir has joined #asahi
Bublik has quit [Ping timeout: 260 seconds]
Bublik has joined #asahi
<marcan> kettenis: right, I mean to run u-boot; for pcie you use the tunable poke stuff, right? Anything else that should be moved into m1n1?
<kettenis> yes, u-boot does the tunable pokes
<kettenis> nothing really *needs* to move into m1n1
<kettenis> although I think that if you want to apply the tunables, you'll need to do clocl management as well
<kettenis> clock management I mean
<kettenis> if m1n1 turns into some sort of runtime firmware component to implement psci it could also implement scmi to do clock management
<marcan> yeah, that would be an interesting approach
<marcan> we need basic clock management anyway, since I want to support *some* things in m1n1 (e.g. usb at least, to speed up the proxyclient stuff)
peterkovar[m] has quit [Quit: Idle for 30+ days]
<never_released> marcan: I mean why not u-boot for that
<marcan> because u-boot isn't m1n1?
<never_released> well
<marcan> I mean I guess you could implement the same proxy thing in u-boot but... at that point we're kind of blurring the line here
<marcan> m1n1 is intended to do less than u-boot does
<never_released> you can directly upload a kernel over fast boot, marcan
<marcan> it's not just about kernel boot
<marcan> I want to be able to use the m1n1 python client stuff over usb gadget, eventually
<marcan> both for speed and to increase the accessibility - at that point all you need is a normal cable
_whitelogger has joined #asahi
PeterEaston has joined #asahi
BaughnLogBot has quit [Ping timeout: 260 seconds]
TheJollyRoger has quit [Quit: TheJollyRoger]
BaughnLogBot has joined #asahi
<never_released> u-boot supports USB gadget just fine
<marcan> yes but it's not m1n1? I'm not sure what you're proposing here
<marcan> throwing uartproxy.c into u-boot?
PeterEaston is now known as TheJollyRoger
nicolas17 has joined #asahi
<eta> today in marcan getting vindicated, some people dirty-room reverse engineering GTA 3 get DMCA'd https://lobste.rs/s/adbcll/how_small_group_gta_fanatics_reverse
<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
<krbtgt> the super mario 64 one is more dubious
niv has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
niv has joined #asahi
n1v has joined #asahi
n1v has quit [Client Quit]
niv has quit [Ping timeout: 264 seconds]
<modwizcode> Nintendo in general is pretty litigious and doesn't seem to care a lot about project specifics as much.
niv has joined #asahi
niv has quit [Client Quit]
niv has joined #asahi
niv has quit [Client Quit]
niv has joined #asahi
niv has quit [Client Quit]
PeterEaston has joined #asahi
TheJollyRoger has quit [Quit: TheJollyRoger]
PeterEaston is now known as TheJollyRoger
vimal has quit [Remote host closed the connection]
niv has joined #asahi
odmir has joined #asahi
odmir has quit [Ping timeout: 240 seconds]
doof has quit [Ping timeout: 260 seconds]
doof has joined #asahi
arnd has quit [Ping timeout: 256 seconds]
arnd has joined #asahi
choozy has joined #asahi
plainbits has joined #asahi
ephe_meral has quit [Ping timeout: 272 seconds]
odmir has joined #asahi
plainbits has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
VinDuv has quit [Quit: Leaving.]
amw has joined #asahi
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi
mxw39 has quit [Ping timeout: 264 seconds]
raster has quit [Quit: Gettin' stinky!]