ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
dhromw^ has quit [Ping timeout: 480 seconds]
dhromw^ has joined #asahi-dev
riker77_ has joined #asahi-dev
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
opticron has joined #asahi-dev
mmarchini_ has joined #asahi-dev
timokrgr has quit [Quit: User left the chat]
timokrgr has joined #asahi-dev
timokrgr has quit [Quit: User left the chat]
timokrgr has joined #asahi-dev
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
dhromw^ has quit [Ping timeout: 480 seconds]
dhromw^ has joined #asahi-dev
dhromw^ has quit [Ping timeout: 480 seconds]
dhromw^ has joined #asahi-dev
dhromw^ has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi-dev
dhromw^ has joined #asahi-dev
dhromw^ has quit [Ping timeout: 480 seconds]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
Catyre has joined #asahi-dev
<Catyre> test
Catyre has quit []
Catyre has joined #asahi-dev
Catyre has quit []
Catyre has joined #asahi-dev
<psykose> test failed
<Catyre> ironically that means the test passed...thanks!
<jannau> v3 of the t6000 dart series sent
psykose has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has joined #asahi-dev
the_lanetly_052 has quit [Ping timeout: 480 seconds]
<j`ey> jannau: cool, lets hope robin is happy..ier with this!
<maz> j`ey: you want to stock up on the GF beer and tempt him with that!
dhromw^ has joined #asahi-dev
<j`ey> I dont have a t6000 so no need for me to bribe him :P
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
<marcan> I *think* I managed to get my inbox mostly under control... mostly...
<maz> stop bragging.
<ar> what is this "inbox control" you speak of?
<marcan> maz: "under control" is defined as "325 messages but at least I have some categories to make sense of them"
<maz> marcan: ah, you call that control! I feel relieved, in a slightly perverse way... ;-)
<marcan> :p
<marcan> someone should give a class on handling email as a kernel maintainer
<marcan> I still haven't figured it out
<maz> filters, and a liberal use of the 'd' key.
<marcan> I use the 'a' key but... yeah
<Foxboron> marcan: looked at the b4 and lei tooling that has been released recentlyt?
<Foxboron> recently*
<marcan> I haven't, got a pointer?
<Foxboron> Mmm, youtube video or blogpost?
<Foxboron> Konstantin has done both to promote the tooling
<Foxboron> it does patch attestation and gets you mboxes from lore essentially
<maz> yeah, there is no life without b4 if you're taking patches off a ML.
<marcan> b4.sh I do know about, I use that all the time
<marcan> also I do subscribe to the LKML, but it goes into archive folders of course. I assume the author means nobody *reads* LKML :-)
<Foxboron> Lei helps you do refined searches on lore for threads you are following and then throw it into an mbox
<Foxboron> So you could do a mbox with a search like "cc:person1 and cc:person2". Which is neat
<marcan> jannau: updated linux/u-boot/m1n1 packages pushed to asahi-dev
<marcan> please test :)
<marcan> if they look good I'll build an installer and test it on the Studio
<jannau> marcan: did you merge the u-boot nvme fixes from https://github.com/jannau/u-boot-1/commits/releng/installer-release
<jannau> u-boot doesn't find the the nvme on the macos 13 macbook
<marcan> ah, that wasn't in asahi yet, right
<marcan> let me merge that
<marcan> also I messed up the version number :-)
roxfan has joined #asahi-dev
<marcan> jannau: fixed and pushed
<marcan> might have to manually downgrade though
<marcan> since I botched the version number...
erincandescent has joined #asahi-dev
lonjil has joined #asahi-dev
<jannau> marcan: works on the studio
<marcan> yay :)
<jannau> marcan: macos 13 works as well, nvme in u-boot and smc in linux
<jannau> marcan: apple cdn SSL problem is resolved for me. CDN served for some time an intermediate certificate signed by "Issuer: C = US, O = GeoTrust Inc., OU = (c) 2007 GeoTrust Inc. - For authorized use only, CN = GeoTrust Primary Certification Authority - G2"
<jannau> looks like SNAFU on Apple's side
pjakobsson has joined #asahi-dev
null_ is now known as null
<yuni> wonder how bad DCP will be to uprev
<_jannau_> yuni: ontop of the updated t6000 dart series? should be not huge problem, modifications to io-pgtable-arm where mostly superficial
<_jannau_> it's only the handling of the locked dcp dart which was limited to apple_dart_alloc_pgtable()
dhromw^ has quit [Ping timeout: 480 seconds]
Gaspare has joined #asahi-dev
<yuni> Yeah, I just meant ABI changes for 12->13
<_jannau_> ah, no idea. I haven't looked at anything in macos 13 besides the system wide firmware interfaces
<sven> we're installing the 12.3 DCP firmware right now anyway. it'll only be required for M2 so we can just ignore it for now ;)
<_jannau_> update from macos 11 to 12 wasn't that complicated. a few renumbered Calls/Callbacks and even less new Calls
<_jannau_> the only annoyance will be that we have to support multiple firmware versions
<sven> yeah :/
<_jannau_> M2 will be 12.5 and not 13, for the macbook pro possibly even macos 12.4
<yuni> Oh, I assumed M2 would be 13, alright
<_jannau_> apple seems to do yearly macos updates in the fall. there will be a public macos 13 beta in july
<marcan> I don't expect DCP to be painful to figure out changes for, the main thing is how painful is it going to be to support multiple ABIs together at all
<marcan> because we do know they change structs, calls, etc to some extent every time
<yuni> Yeah, that's fair
<_jannau_> let's hope there are no random differences between m1 and m2 firmwares of the same version
zzywysm has quit [Remote host closed the connection]
zzywysm has joined #asahi-dev
psykose has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zzywysm has joined #asahi-dev
bisko has joined #asahi-dev
MajorBiscuit has quit [Quit: WeeChat 3.5]
zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zzywysm has joined #asahi-dev
Gaspare has joined #asahi-dev
nicolas17 has joined #asahi-dev
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
null has quit [Quit: oh no.]
null has joined #asahi-dev
<sven> what’s so special about that commit?
<jannau> the commits in "Fixes:" have commit dates more than 10 years ago
<sven> so it fixes a bug that’s rarely hit? I’m just confused how that commit is related to a asahi rebase
millenialhacker has joined #asahi-dev
<millenialhacker> Silly question: There's a way to force reload of hypervisor scripts without actually restarting the laptop? I'm almost sure I saw marcan doing this in one of his videos long time ago, but I do not remember and rebooting more than three times makes my M1 go to 1TR/Recovery
<j`ey> millenialhacker: proxyclient/tools/reset_panic_counter.py may be of some use
<millenialhacker> j`ey thanks!
<millenialhacker> very helpful!
<j`ey> and in the shell there definitely is a way, i just forgot how
<j`ey> run_script()?
<sven> just reload iirc
<sven> Or yeah, just run the script again
<jannau> millenialhacker: rebase ontop current main. run_guest will reset the panic counter automatically
<j`ey> oh nice, missed that
<millenialhacker> Thanks guys!
<jannau> see b6e9333cd6403c61
<sven> hrm, I think I actually hacked reload in some script myself. run_script to start the same thing again should work though
<millenialhacker> reload(0)?
<sven> I think that does something else :D
<sven> pretty sure I just had a custom reload function that really just ran my script again at one point
luke has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
<millenialhacker> I have send a PR to include ISP tracer rebased on top of latest M1n1. It is still an early tracer implementation, but I wanted to contribute official in some way :) Enjoy it: https://github.com/AsahiLinux/m1n1/pull/223
<millenialhacker> I have sent*
<millenialhacker> I'm writing really bad english (worse than I speak it), I probably should go to bed.
<sven> nice! And it even comes with documentation :)
<millenialhacker> I'm not so great in RE/HW skills so I tried to shine in other aspects sven :)
___nick___ has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has quit [Remote host closed the connection]
luke has quit [Ping timeout: 480 seconds]
luke has joined #asahi-dev
<VinDuv> millenialhacker: The classes in the m1n1 proxy inherit from a special “Reloadable” class that allows them to be reloaded from disk if their source code changes; basically you can do “SomeClass = SomeClass._reloadcls()” after modifying the source code of SomeClass and then SomeClass() will produce objects of the reloaded class.
<VinDuv> The trace scripts do that (see for instance https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/hv/trace_gpio.py#L38) so when run_script is called, it will reload the classes if needed
<VinDuv> If you want to reload the class of an object without re-running a whole script you can also run “obj._reloadme()”
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
luke has quit [Quit: leaving]
Gaspare has quit [Quit: Gaspare]
<amarioguy> sent a PR adding raw binary support to hv scripts (a lot of the "load_macho" logic ended up working perfectly for the raw binary logic so besides accounting for differences between macho and raw binaries it was a really simple change)
<amarioguy> i needed this for stuff i'm doing, and i wanted to contribute back to the project so i figured i'd put in a pull request for this so that I can give back to the community
<amarioguy> (this is my first pull request for the project please be understanding lol)
<j`ey> amarioguy: you should squash your commits
<amarioguy> i actually was not familiar with that ngl (i usually just wait to commit until i've done initial polishing) but yes i'll note it for the future (if i can amend the PR, i'll do so asap)
<j`ey> you can, pushing to the pr again updates it
<j`ey> and you could probably share more code between macho/raw
<amarioguy> true, should probably update the code just a bit more (had to close the PR but reopening it to do it more "properly")
<amarioguy> again not the best git person out there so don't mean to make silly mistakes and all
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
<amarioguy> not too sure how i could reduce the redundant code into a separate method unless I can call another method within a method
<amarioguy> never mind, figured it out lol