#
…

2023-09-20

00:18derzahl has joined #asahi-dev
00:20eldriitch has quit [Quit: Leaving...]
00:42avonyx has joined #asahi-dev
00:47avonyx has quit [Quit: WeeChat 4.0.4]
00:55ourdumbfuture has joined #asahi-dev
01:35ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:35ourdumbfuture has joined #asahi-dev
02:00gabuscus has quit []
02:34gabuscus has joined #asahi-dev
02:42chadmed has quit [Quit: Konversation terminated!]
02:42chadmed has joined #asahi-dev
02:44ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:07tristan2_ has joined #asahi-dev
03:09tristan2 has quit [Ping timeout: 480 seconds]
03:36cylm has quit [Ping timeout: 480 seconds]
03:45chadmed_ has joined #asahi-dev
04:04novafacing9926 has quit [Read error: Connection reset by peer]
04:31chadmed_ has quit [Remote host closed the connection]
04:59jeisom has quit [Ping timeout: 480 seconds]
05:08stek has joined #asahi-dev
05:08stekHow would I go about extracting the fw bin for j414s from macos?
05:11stek has quit [Remote host closed the connection]
05:17weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
05:37weitcis has joined #asahi-dev
06:10jannaustek: no need to extract from macOS, see https://github.com/AsahiLinux/asahi-installer/tree/main/asahi_firmware and the source files should be available in /boot/efi/asahi/all_firmware.tar.gz
06:14crabbedhaloablut has joined #asahi-dev
06:15jannauplease paste from the installer log (/boot/efi/asahi/installer.log) the segment handling fw extraction. starting with "StubInstaller.collect_firmware()" to "Making fallback firmware archive"
06:35gabor has joined #asahi-dev
06:36stek has joined #asahi-dev
06:42jannaustek: it's extracted. "apple/tpmtfw-j414s.bin", please check that it is included in /boot/efi/vendorfw/firmware.tar
06:43gabor has quit [Ping timeout: 480 seconds]
06:43jannauis this a stock fedora-asahi / asahilinux (alarm) install?
06:45stekHm, strange, it is there.
06:46stekjannau: What do you define as a stock install? Aside from getting it to install I didn't change anything else, it is a default alarm arch install
06:48jannaumostly modifying anything related to the boot process (except updating u-boot)
06:48stekI didn't change anything in the boot process but update u-boot for the keyboard to work
06:49jannaudoes tpmtfw-j414s.bin exists in /lib/firmware/vendor
06:50stekNo, it's an empty folder as far as i can tell
06:51stekSo that might be problematic
06:51jannauis tpmtfw-j414s.bin in /boot/efi/vendorfw/firmware.cpio ? use lsinitrd to check
06:52steklsinitrd?
06:53jannaulsinitcpio on alarm
06:53stekyes, it is there: vendorfw/apple/tpmtfw-j414s.bin
06:56jannaudoes `tr '\0' '\n' < /proc/device-tree/chosen/asahi,efi-system-partition ` output the correct partuuid of your ESP?
06:59stekThere is not such file,
07:00stekonly iboot,kblang, m1n1, osfw,systemfw
07:05jannauwhat did you do exactly to get it installed? the first level m1n1 need to set that, see tr '\0' '\n' < /proc/device-tree/chosen/asahi,efi-system-partition
07:05jannauyou have a broken install support for that is not on-topic in #asahi-dev
07:06stekjannau: I added the macos version and nothing else to the install script
07:09jannauplease upload your whole installer.log
07:11nst has quit [Quit: WeeChat 3.8]
07:14stekpastebin found offensive words lol
07:18jannauhow did you update m1n1/boot.bin? see what update-m1n1 does. I would bet you didn't compress u-boot-nodtb.bin
07:20stekThis is the output it gives
07:21stekand to how I updated it, I followed the wiki page in asahi docs for u boot
07:24midou has joined #asahi-dev
07:24stekjannau: yes, I used that
07:25stekitÅs broken?
07:25psykose has quit [Ping timeout: 480 seconds]
07:29stekThen how can I go about updating u-boot the correct way?
07:29jannausee what update-m1n1 does. it is a shell script
07:30jannauI fixed the wiki page
07:30stekOkay, one minú
07:36stekReading m1n1 config from /etc/m1n1.conf:
07:36stekSystem ESP not identified in device tree, using /boot/efi
07:36stekMounted System ESP /dev/nvme0n1p4 at /run/.system-efi
07:36stekm1n1 updated at /run/.system-efi/m1n1/boot.bin
07:37stekoof, i wanted to post that in one message
07:43jannauwhy post that at all? it has no information
07:44stekSorry, brain went to sleep
07:45slp has joined #asahi-dev
07:53nst has joined #asahi-dev
07:54nst has quit []
07:55nst has joined #asahi-dev
08:00stek has quit [Ping timeout: 480 seconds]
08:01stek has joined #asahi-dev
08:02stek has quit [Remote host closed the connection]
08:06stek has joined #asahi-dev
08:07stekOkay, did it with the gzip line, and lo and behold it now works! Thank you!
08:18stek has quit [Quit: leaving]
08:25sven00003dc0: 4849 5044 2830 0420 d042 0420 5c00 0420 HIPD(0. .B. \..
08:25sven00003dd0: 4449 5343 c91a 0420 2143 4d44 424f 4f54 DISC... !CMDBOOT
08:25sventhis is incredibly janky but kinda works now :D
08:26sveni have to keep it in reset and send the read commands N times manually because it sometimes just refuses to reply
08:28crabbedhaloablut has quit [Read error: Connection reset by peer]
08:29crabbedhaloablut has joined #asahi-dev
08:31qyliss has quit [Quit: bye]
08:33qyliss has joined #asahi-dev
08:37MajorBiscuit has joined #asahi-dev
08:44stek has joined #asahi-dev
08:46sven0002a5c0: 0000 0000 0000 0000 0000 0000 4344 3332 ............CD32
08:46sven0002a5d0: 3137 2020 2048 5720 2020 2020 4657 3030 17 HW FW00
08:46sven0002a5e0: 302e 3030 302e 3030 205a 4143 4532 2d41 0.000.00 ZACE2-A
08:46svenalright, let me dump it again to make sure there are no errors now
08:46stek has quit []
08:51crabbedhaloablut has quit [Read error: Connection reset by peer]
08:52crabbedhaloablut has joined #asahi-dev
08:57chadmed has quit [Remote host closed the connection]
08:58svenhrm, a bunch of flipped bits. i guess i'll just dump it a few times and then just live with that
08:58chadmed has joined #asahi-dev
09:12nimprod3l has joined #asahi-dev
09:13PaulFertserNice thing it has SWD working under reset. Not all MCU manufacturers did it right with cortex-m even though the specs require it iirc.
09:14eldriitch has joined #asahi-dev
09:16svenit's much more stable under reset in my crappy setup even. maybe it doesn't like that I only connected a single GND ball or maybe I'm missing some other important connection 🤷‍♂️
09:20eldriitch has quit [Quit: Leaving...]
09:22nimprod3l has quit [Quit: Leaving]
09:33mps_ is now known as mps
09:55sven00029c00: 4d45 4d72 973e 0200 4d45 4d77 973e 0200 MEMr.>..MEMw.>.. that looks like a hidden memory/read write command. wonder if that just works
10:45ourdumbfuture has joined #asahi-dev
10:47ourdumbfuture has quit []
10:57psykose has joined #asahi-dev
11:00psykose has quit [Remote host closed the connection]
11:01psykose has joined #asahi-dev
11:13chadmeddid anyone end up testing the hwmon driver? writing up a commit message
11:25amarioguy2 has joined #asahi-dev
11:54chadmed has quit [Quit: Konversation terminated!]
11:54chadmed has joined #asahi-dev
11:55jeisom has joined #asahi-dev
11:55eiln has joined #asahi-dev
11:57povikjannau: yeah, re "detected mic" it's as you say
12:07_jannau_yes, I looked into the code. I was convinced that headsets were announced as "headset" or similar
12:09_jannau_there are a few users for which pipewire apparently doesn't pick the ucm config up although alsaucm reports no issues
12:11_jannau_btw I have two pull requests for the our ucm config. would be nice to merge them before we start copying the mistakes to configs for m2 based devices
12:13ourdumbfuture has joined #asahi-dev
12:14ourdumbfuture has quit []
12:15ourdumbfuture has joined #asahi-dev
12:17svenhttps://www.digikey.de/en/products/detail/texas-instruments/CD3218B12ACER/18182392 lol, I guess that's the reason why google used to suggest the tps6598x chips when you searched for cd3218 even before that was well known :D
12:20jjanzic1 has quit [Read error: Connection reset by peer]
12:20jjanzic has joined #asahi-dev
12:26svenhuh, there's also hpmdiagnose which seems to just print all regs of those chips when running macos. how did I miss that one before
12:27povik_jannau_: ah haven't seen those, should sign for notifications there
12:36povik_jannau_: tagged v2
12:37_jannau_thanks, not sure if those fixes are urgent enough for releasing them before we add support for more devices
12:42cylm has joined #asahi-dev
12:47amarioguy2 has quit [Ping timeout: 480 seconds]
12:48amarioguy2 has joined #asahi-dev
13:04nyx_o_ has joined #asahi-dev
13:04nyx_o has quit [Ping timeout: 480 seconds]
13:29eiln has quit [Ping timeout: 480 seconds]
14:03amarioguy2 has quit [Ping timeout: 480 seconds]
14:05ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:11marcankernel rebased on 6.5, kernel&m1n1 updates pushed to asahi-dev.
14:12pg12 has quit [Ping timeout: 480 seconds]
14:13pg12 has joined #asahi-dev
14:22eiln has joined #asahi-dev
14:41jacksonchen666 has joined #asahi-dev
15:23crabbedhaloablut has quit [Read error: Connection reset by peer]
15:24crabbedhaloablut has joined #asahi-dev
15:48ourdumbfuture has joined #asahi-dev
15:53cy8aerSorry, but change 2dc7e1e94502d makes problems for me. I am only able to compile 6.5-2 with reverting it. Tried with rustc 0.68.2/bindgen 0.56.0 (bindgen does not know --blocklist-type) and rustc 1.72.0/0.66.1 (compile error later). Without 2dc7e1e94502d everything compiles fine.
15:54cy8aerI am not able to compile without reverting it, sorry
16:25cy8aerI need to revert the patch. Now it is complete confusing..
16:44MajorBiscuit has quit [Ping timeout: 480 seconds]
17:00jacksonchen666 has quit [Remote host closed the connection]
17:00jacksonchen666 has joined #asahi-dev
17:18flom84 has joined #asahi-dev
17:27jeisom has quit [Read error: No route to host]
17:27jeisom has joined #asahi-dev
17:47jeisom has quit [Ping timeout: 480 seconds]
18:00flom_84 has joined #asahi-dev
18:03cy8aerok, you really need a new bindgen. With patch it compiles with 1.72.0/0.68.1, but not with older bindgens...
18:06flom84 has quit [Ping timeout: 480 seconds]
18:07chadmed has quit [Ping timeout: 480 seconds]
18:07flom_84 has quit []
18:29axboe has quit [Remote host closed the connection]
18:37axboe has joined #asahi-dev
19:01jacksonchen666 has quit [Remote host closed the connection]
19:02jacksonchen666 has joined #asahi-dev
19:09billak has joined #asahi-dev
19:10chadmed has joined #asahi-dev
19:22billak has quit [Quit: Konversation terminated!]
19:23crabbedhaloablut has quit []
19:24midou has quit [Read error: Connection reset by peer]
19:24midou has joined #asahi-dev
19:26mps has quit [Quit: Lost terminal]
19:27hxliew has joined #asahi-dev
19:46mps has joined #asahi-dev
20:03hightower2 has quit [Ping timeout: 480 seconds]
20:07jeisom has joined #asahi-dev
20:10cylm has quit [Ping timeout: 480 seconds]
20:10dylanchapell has quit [Read error: Connection reset by peer]
20:21hightower2 has joined #asahi-dev
20:37leiomy Mac Studio M2 Ultra has arrived, in case there's updates on what I need to dirty my hands with, presumably https://github.com/AsahiLinux/m1n1/pull/329 first :)
21:17dylanchapell has joined #asahi-dev
21:27marcancy8aer: next kernel will require a new bindgen anyway, none of us have been using that old bindgen for a long time now.
21:29cy8aermarcan: no problem, I have only been put off by the kernel compilation message warning against newer versions.
21:59axboeasahi-6.5-2 throws a lot of unsigned vs u64 errors for me, rust side
22:00nyx_o_ has quit [Ping timeout: 480 seconds]
22:07axboebindgen 0.60.1 fwiw
22:12ckb has quit [Ping timeout: 480 seconds]
22:28axboewell maybe that was just noise, works with bindgen 0.66.1
22:36axboeyep all good with updated bindgen, and boots/works too
22:36midou has quit [Ping timeout: 480 seconds]
22:36axboeabout to travel, and everybody knows you should update your system and kernel right before that
23:05midou has joined #asahi-dev
23:09c10l has quit [Quit: Bye o/]
23:11ckb has joined #asahi-dev
23:14c10l has joined #asahi-dev
23:23jacksonchen666 has quit [Ping timeout: 480 seconds]
23:28eiln has quit [Quit: WeeChat 4.0.4]
23:42NateWeav has joined #asahi-dev
23:57NateWeav has quit [Quit: The Lounge - https://thelounge.chat]
…