#
…

2022-06-21

01:21dhromw^ has quit [Ping timeout: 480 seconds]
01:23dhromw^ has joined #asahi-dev
01:35riker77_ has joined #asahi-dev
01:39riker77 has quit [Ping timeout: 480 seconds]
01:39riker77_ is now known as riker77
01:57opticron has joined #asahi-dev
01:58mmarchini_ has joined #asahi-dev
02:12timokrgr has quit [Quit: User left the chat]
02:14timokrgr has joined #asahi-dev
02:19timokrgr has quit [Quit: User left the chat]
02:20timokrgr has joined #asahi-dev
02:28phiologe has joined #asahi-dev
02:31PhilippvK has quit [Ping timeout: 480 seconds]
03:12dhromw^ has quit [Ping timeout: 480 seconds]
03:15dhromw^ has joined #asahi-dev
03:33dhromw^ has quit [Ping timeout: 480 seconds]
03:40dhromw^ has joined #asahi-dev
03:55dhromw^ has quit [Ping timeout: 480 seconds]
04:21nicolas17 has quit [Ping timeout: 480 seconds]
04:35the_lanetly_052 has joined #asahi-dev
04:47dhromw^ has joined #asahi-dev
05:04dhromw^ has quit [Ping timeout: 480 seconds]
05:59jluthra has quit [Remote host closed the connection]
05:59jluthra has joined #asahi-dev
06:29MajorBiscuit has joined #asahi-dev
06:39MajorBiscuit has quit [Ping timeout: 480 seconds]
06:43MajorBiscuit has joined #asahi-dev
06:51Catyre has joined #asahi-dev
06:53Catyre has quit []
06:54Catyre has joined #asahi-dev
06:57Catyre has quit []
07:06Catyre has joined #asahi-dev
07:13psykosetest failed
07:14Catyreironically that means the test passed...thanks!
07:20jannauv3 of the t6000 dart series sent
07:44psykose has quit [Ping timeout: 480 seconds]
08:25the_lanetly_052__ has joined #asahi-dev
08:31the_lanetly_052 has quit [Ping timeout: 480 seconds]
09:09j`eyjannau: cool, lets hope robin is happy..ier with this!
09:26mazj`ey: you want to stock up on the GF beer and tempt him with that!
09:26dhromw^ has joined #asahi-dev
09:40j`eyI dont have a t6000 so no need for me to bribe him :P
09:45___nick___ has joined #asahi-dev
09:46___nick___ has quit []
09:48___nick___ has joined #asahi-dev
10:43marcanI *think* I managed to get my inbox mostly under control... mostly...
10:52mazstop bragging.
10:53arwhat is this "inbox control" you speak of?
10:53marcanmaz: "under control" is defined as "325 messages but at least I have some categories to make sense of them"
10:54mazmarcan: ah, you call that control! I feel relieved, in a slightly perverse way... ;-)
10:56marcansomeone should give a class on handling email as a kernel maintainer
10:56marcanI still haven't figured it out
10:57mazfilters, and a liberal use of the 'd' key.
10:57marcanI use the 'a' key but... yeah
11:11Foxboronmarcan: looked at the b4 and lei tooling that has been released recentlyt?
11:12Foxboronrecently*
11:12marcanI haven't, got a pointer?
11:12FoxboronMmm, youtube video or blogpost?
11:12FoxboronKonstantin has done both to promote the tooling
11:14Foxboronit does patch attestation and gets you mboxes from lore essentially
11:14mazyeah, there is no life without b4 if you're taking patches off a ML.
11:14marcanb4.sh I do know about, I use that all the time
11:15marcanalso I do subscribe to the LKML, but it goes into archive folders of course. I assume the author means nobody *reads* LKML :-)
11:16FoxboronLei helps you do refined searches on lore for threads you are following and then throw it into an mbox
11:16FoxboronSo you could do a mbox with a search like "cc:person1 and cc:person2". Which is neat
11:19marcanjannau: updated linux/u-boot/m1n1 packages pushed to asahi-dev
11:19marcanplease test :)
11:19marcanif they look good I'll build an installer and test it on the Studio
11:31jannauu-boot doesn't find the the nvme on the macos 13 macbook
11:32marcanah, that wasn't in asahi yet, right
11:32marcanlet me merge that
11:37marcanalso I messed up the version number :-)
11:37roxfan has joined #asahi-dev
11:38marcanjannau: fixed and pushed
11:38marcanmight have to manually downgrade though
11:38marcansince I botched the version number...
11:50erincandescent has joined #asahi-dev
11:50lonjil has joined #asahi-dev
11:53jannaumarcan: works on the studio
11:59jannaumarcan: macos 13 works as well, nvme in u-boot and smc in linux
12:04jannaumarcan: 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"
12:06jannaulooks like SNAFU on Apple's side
13:15pjakobsson has joined #asahi-dev
14:03null_ is now known as null
14:05yuniwonder how bad DCP will be to uprev
14:10_jannau_yuni: ontop of the updated t6000 dart series? should be not huge problem, modifications to io-pgtable-arm where mostly superficial
14:11_jannau_it's only the handling of the locked dcp dart which was limited to apple_dart_alloc_pgtable()
14:13dhromw^ has quit [Ping timeout: 480 seconds]
14:16Gaspare has joined #asahi-dev
14:32yuniYeah, I just meant ABI changes for 12->13
14:36_jannau_ah, no idea. I haven't looked at anything in macos 13 besides the system wide firmware interfaces
14:38svenwe'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 ;)
14:39_jannau_update from macos 11 to 12 wasn't that complicated. a few renumbered Calls/Callbacks and even less new Calls
14:39_jannau_the only annoyance will be that we have to support multiple firmware versions
14:40svenyeah :/
14:40_jannau_M2 will be 12.5 and not 13, for the macbook pro possibly even macos 12.4
14:43yuniOh, I assumed M2 would be 13, alright
14:51_jannau_apple seems to do yearly macos updates in the fall. there will be a public macos 13 beta in july
14:57marcanI 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
14:57marcanbecause we do know they change structs, calls, etc to some extent every time
14:58yuniYeah, that's fair
15:02_jannau_let's hope there are no random differences between m1 and m2 firmwares of the same version
15:29zzywysm has quit [Remote host closed the connection]
15:29zzywysm has joined #asahi-dev
15:42psykose has joined #asahi-dev
15:46Gaspare has quit [Quit: Gaspare]
15:54zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:02zzywysm has joined #asahi-dev
16:04bisko has joined #asahi-dev
16:15MajorBiscuit has quit [Quit: WeeChat 3.5]
16:24zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:28zzywysm has joined #asahi-dev
16:52Gaspare has joined #asahi-dev
17:20nicolas17 has joined #asahi-dev
17:23bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:31null has quit [Quit: oh no.]
17:32null has joined #asahi-dev
18:29svenwhat’s so special about that commit?
18:34jannauthe commits in "Fixes:" have commit dates more than 10 years ago
18:36svenso it fixes a bug that’s rarely hit? I’m just confused how that commit is related to a asahi rebase
18:42millenialhacker has joined #asahi-dev
18:44millenialhackerSilly 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
18:45j`eymillenialhacker: proxyclient/tools/reset_panic_counter.py may be of some use
18:46millenialhackervery helpful!
18:47j`eyand in the shell there definitely is a way, i just forgot how
18:47j`eyrun_script()?
18:47svenjust reload iirc
18:47svenOr yeah, just run the script again
18:47jannaumillenialhacker: rebase ontop current main. run_guest will reset the panic counter automatically
18:49j`eyoh nice, missed that
18:50jannausee b6e9333cd6403c61
18:50svenhrm, I think I actually hacked reload in some script myself. run_script to start the same thing again should work though
18:52svenI think that does something else :D
18:52svenpretty sure I just had a custom reload function that really just ran my script again at one point
18:53luke has joined #asahi-dev
18:55Gaspare has quit [Quit: Gaspare]
18:56Gaspare has joined #asahi-dev
19:29millenialhackerI 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
19:32millenialhackerI'm writing really bad english (worse than I speak it), I probably should go to bed.
19:34svennice! And it even comes with documentation :)
19:35millenialhackerI'm not so great in RE/HW skills so I tried to shine in other aspects sven :)
19:50___nick___ has quit [Ping timeout: 480 seconds]
20:09the_lanetly_052__ has quit [Remote host closed the connection]
20:23luke has quit [Ping timeout: 480 seconds]
20:35luke has joined #asahi-dev
20:42VinDuvmillenialhacker: 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.
20:43VinDuvThe 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
20:48VinDuvIf you want to reload the class of an object without re-running a whole script you can also run “obj._reloadme()”
21:20Gaspare has quit [Quit: Gaspare]
21:21Gaspare has joined #asahi-dev
21:24luke has quit [Quit: leaving]
22:06Gaspare has quit [Quit: Gaspare]
23:13amarioguysent 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)
23:14amarioguyi 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
23:14amarioguy(this is my first pull request for the project please be understanding lol)
23:15j`eyamarioguy: you should squash your commits
23:18amarioguyi 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)
23:19j`eyyou can, pushing to the pr again updates it
23:22j`eyand you could probably share more code between macho/raw
23:27amarioguytrue, should probably update the code just a bit more (had to close the PR but reopening it to do it more "properly")
23:28amarioguyagain not the best git person out there so don't mean to make silly mistakes and all
23:32Catyre has quit [Remote host closed the connection]
23:32Catyre has joined #asahi-dev
23:45amarioguynot too sure how i could reduce the redundant code into a separate method unless I can call another method within a method
23:58amarioguynever mind, figured it out lol
…