#
…

2024-02-14

00:06wrender has quit [Ping timeout: 480 seconds]
00:08mariogrip has quit [Ping timeout: 480 seconds]
00:30zzywysmnicolas17: that kernel config you're using doesn't have touchbar enabled, it's pretty old
00:30nicolas17it's failing to load *any* firmware though
00:31zzywysmwhat you can do is load in firmware directly into the kernel image itself, instead of relying on it being in the initramfs
00:31zzywysmyou have to list the paths to the firmware images in CONFIG_EXTRA_FIRMWARE
00:31nicolas17it seems /lib/dracut/hooks/{pre-udev/10-load-asahi-firmware.sh,cleanup/99-install-asahi-firmware.sh} expect to find a firmware tarball in EFI
00:54nicolas17zzywysm: why does putting them in the initramfs not work though?
00:55nicolas17the wiki says "for tethered boot we recommend a kernel with modules disabled (all built-in). You can ignore the Arch Linux initramfs, but you should instead provide an initramfs with /lib/firmware/{brcm/apple} to make sure the built-in modules can find their firmware early"
00:55zzywysmputting them in the initramfs should work
00:55nicolas17I must be putting them in the wrong place ._.
00:56zzywysmyou can try putting them in /lib/firmware/vendor instead
00:56zzywysmthat's the Asahi official spot
00:57wrender has joined #asahi-dev
00:58WindowPa- has quit [Quit: ZNC 1.8.2 - https://znc.in]
01:00WindowPain has joined #asahi-dev
01:07nicolas17putting it in the initramfs in /vendorfw worked
01:08nicolas17because then the dracut script copied it to the tmpfs in the final root too
01:09nicolas17hmm that fixed trackpad but not brcm
01:11nicolas17putting the brcm firmware in both /vendorfw and /lib/firmware makes m1n1 run out of memory (initramfs too big?)
01:14nicolas17brcm in /lib/firmware makes Wi-Fi work, apple in /vendorfw makes trackpad work
01:15nicolas17I think I need marcan_ to look into this and see if it's a documentation issue, a code issue, or a me-doing-it-wrong issue
01:15nicolas17zzywysm: what kernel config do I need for the touchbar btw?
01:20zzywysmCONFIG_TOUCHSCREEN_APPLE_Z2=m
01:20nicolas17CONFIG_DRM_ADP + CONFIG_TOUCHSCREEN_APPLE_Z2
01:22nicolas17(that was mainly out of curiosity, I don't *need* touchbar for what I plan to test under the hv :p)
01:23zzywysmif you're that low on memory, you might want to only copy the brcm drivers that correspond to your silicon
01:24zzywysmfor example, on my M1 MacBook Air, i only need the brcm drivers that contain "shikoku". you can find the string that corresponds to your silicon in the devicetrees
01:25jeisom has quit [Read error: Connection reset by peer]
01:25jeisom has joined #asahi-dev
01:25nicolas17I think the brcm firmware is in fact the biggest thing in the initramfs
01:25nicolas17so that's a good idea
01:27jeisom has quit [Remote host closed the connection]
01:28jeisom has joined #asahi-dev
01:33nicolas17I enabled CONFIG_TOUCHSCREEN_APPLE_Z2 and now it crashes when tiny-dfr starts
01:34nicolas17then proxyclient runs objdump to get the disassembly or something, objdump outputs some unicode, and proxyclient crashes... why are computers like this /o\ (LANG=C fixes that)
01:35nicolas17https://paste.rs/rErgc.txt this is the crash; but I'll just turn the touchbar back off and move on >.>
02:00KxCORP has quit [Quit: Bye!]
02:00KxCORP has joined #asahi-dev
02:05Bertrand___ has quit [Ping timeout: 480 seconds]
02:07jeisom has quit [Ping timeout: 480 seconds]
02:10Bertrand___ has joined #asahi-dev
03:02nicolas17what does it mean when ctx is None in the proxyclient?
03:05nicolas17like if there's a MMIO write and ctx is None there, does it mean it was written by other hardware and not the CPU?
03:09john-cabaj1 has joined #asahi-dev
03:09john-cabaj has quit [Read error: Connection reset by peer]
03:09john-cabaj1 is now known as john-cabaj
03:17john-cabaj has quit [Ping timeout: 480 seconds]
03:44nicolas17looks like trace/pcie.py doesn't understand PCI capabilities, that may be useful to add, at the very least so that we can see the MMIO accesses in the log and say "oh it's caps I can ignore that"
04:02Bertrand___ has quit [Remote host closed the connection]
04:03Bertrand___ has joined #asahi-dev
04:11nicolas17...actually I think the Linux brcm driver doesn't properly understand capabilities either? :|
04:46al3xtjames has joined #asahi-dev
04:50al3xtjames has quit []
04:50al3xtjames has joined #asahi-dev
04:54tristan2_ has joined #asahi-dev
04:55tristan2 has quit [Ping timeout: 480 seconds]
04:56wrender has quit [Ping timeout: 480 seconds]
06:22SalimTer- has quit [Quit: ZNC - https://znc.in]
06:22SalimTerryLi has joined #asahi-dev
06:27Ge0rges has joined #asahi-dev
06:29Ge0rges_ has joined #asahi-dev
06:29Ge0rges has quit []
07:19loki_val has joined #asahi-dev
07:22crabbedhaloablut has quit [Ping timeout: 480 seconds]
07:30Bertrand___ has quit [Ping timeout: 480 seconds]
07:57Bertrand___ has joined #asahi-dev
08:09crabbedhaloablut has joined #asahi-dev
08:11loki_val has quit [Ping timeout: 480 seconds]
08:14pjakobsson has joined #asahi-dev
08:14kraem has quit [Remote host closed the connection]
08:19kraem has joined #asahi-dev
08:24mkurz_ has joined #asahi-dev
08:27mkurz has quit [Ping timeout: 480 seconds]
09:12maria has joined #asahi-dev
09:15maria has quit []
09:18maria has joined #asahi-dev
09:21maria has quit []
09:24maria has joined #asahi-dev
09:25maria has left #asahi-dev [#asahi-dev]
09:29Dementor97 has joined #asahi-dev
09:34Dementor9 has quit [Ping timeout: 480 seconds]
09:34Dementor97 is now known as Dementor9
10:01CME has quit [Ping timeout: 480 seconds]
10:47kraem has quit [Remote host closed the connection]
10:52kraem has joined #asahi-dev
11:12kraem has quit [Remote host closed the connection]
11:14kraem has joined #asahi-dev
11:17CME has joined #asahi-dev
11:29CME_ has joined #asahi-dev
11:34CME has quit [Ping timeout: 480 seconds]
11:43chadmed_ has joined #asahi-dev
11:44wrender has joined #asahi-dev
11:47chadmed has quit [Ping timeout: 480 seconds]
11:52wrender has quit [Ping timeout: 480 seconds]
12:05jeisom has joined #asahi-dev
12:38sam_ has quit [Quit: ZNC - http://znc.in]
13:03sam_ has joined #asahi-dev
13:07Bertrand___ has quit [Ping timeout: 480 seconds]
13:08Bertrand___ has joined #asahi-dev
13:12psykose has joined #asahi-dev
13:15sam_ has quit [Quit: ZNC - http://znc.in]
13:22sam_ has joined #asahi-dev
13:28Bertrand___ has quit [Ping timeout: 480 seconds]
13:42zumi has quit [Remote host closed the connection]
13:49zumi has joined #asahi-dev
14:02john-cabaj has joined #asahi-dev
14:20kidplayer666 has joined #asahi-dev
15:40SalimTer- has joined #asahi-dev
15:43SalimTerryLi has quit [Ping timeout: 480 seconds]
16:00Bertrand___ has joined #asahi-dev
16:58SalimTerryLi has joined #asahi-dev
17:01SalimTer- has quit [Ping timeout: 480 seconds]
17:22Bertrand___ has quit [Ping timeout: 480 seconds]
17:22Bertrand___ has joined #asahi-dev
18:03SalimTer- has joined #asahi-dev
18:04Bertrand___ has quit [Read error: Connection reset by peer]
18:05Bertrand___ has joined #asahi-dev
18:07SalimTerryLi has quit [Ping timeout: 480 seconds]
18:34lawrence has quit [Quit: The Lounge - https://thelounge.chat]
19:04aspargas2 has quit [Ping timeout: 480 seconds]
19:33anders__2 has joined #asahi-dev
19:36jeisom has quit [Ping timeout: 480 seconds]
19:41anders_2 has quit [Ping timeout: 480 seconds]
20:05maximbaz has quit [Quit: bye]
20:06maximbaz has joined #asahi-dev
20:17dcavalca1 has quit []
20:17dcavalca6 has joined #asahi-dev
21:09zkrx has quit []
21:11zkrx has joined #asahi-dev
21:52martinr has joined #asahi-dev
22:56jeisom has joined #asahi-dev
23:10qyliss has quit [Quit: bye]
23:12qyliss has joined #asahi-dev
23:31martinr has quit [Ping timeout: 480 seconds]
…