ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
derzahl has joined #asahi-dev
eldriitch has quit [Quit: Leaving...]
avonyx has joined #asahi-dev
avonyx has quit [Quit: WeeChat 4.0.4]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
gabuscus has quit []
gabuscus has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristan2_ has joined #asahi-dev
tristan2 has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
chadmed_ has joined #asahi-dev
novafacing9926 has quit [Read error: Connection reset by peer]
chadmed_ has quit [Remote host closed the connection]
jeisom has quit [Ping timeout: 480 seconds]
stek has joined #asahi-dev
<stek> How would I go about extracting the fw bin for j414s from macos?
stek has quit [Remote host closed the connection]
weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
weitcis has joined #asahi-dev
<jannau> stek: 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
crabbedhaloablut has joined #asahi-dev
<jannau> please 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"
gabor has joined #asahi-dev
stek has joined #asahi-dev
<stek> Here is the log https://pastebin.com/evBcLpPc
<jannau> stek: it's extracted. "apple/tpmtfw-j414s.bin", please check that it is included in /boot/efi/vendorfw/firmware.tar
gabor has quit [Ping timeout: 480 seconds]
<jannau> is this a stock fedora-asahi / asahilinux (alarm) install?
<stek> Hm, strange, it is there.
<stek> jannau: 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
<jannau> mostly modifying anything related to the boot process (except updating u-boot)
<stek> I didn't change anything in the boot process but update u-boot for the keyboard to work
<jannau> does tpmtfw-j414s.bin exists in /lib/firmware/vendor
<stek> No, it's an empty folder as far as i can tell
<stek> So that might be problematic
<jannau> is tpmtfw-j414s.bin in /boot/efi/vendorfw/firmware.cpio ? use lsinitrd to check
<stek> lsinitrd?
<jannau> yes
<jannau> lsinitcpio on alarm
<stek> yes, it is there: vendorfw/apple/tpmtfw-j414s.bin
<jannau> does `tr '\0' '\n' < /proc/device-tree/chosen/asahi,efi-system-partition ` output the correct partuuid of your ESP?
<stek> There is not such file,
<stek> only iboot,kblang, m1n1, osfw,systemfw
<jannau> what 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
<jannau> you have a broken install support for that is not on-topic in #asahi-dev
<stek> jannau: I added the macos version and nothing else to the install script
<jannau> please upload your whole installer.log
nst has quit [Quit: WeeChat 3.8]
<stek> pastebin found offensive words lol
<jannau> how did you update m1n1/boot.bin? see what update-m1n1 does. I would bet you didn't compress u-boot-nodtb.bin
<stek> This is the output it gives
<stek> and to how I updated it, I followed the wiki page in asahi docs for u boot
midou has joined #asahi-dev
<stek> jannau: yes, I used that
<stek> itÅs broken?
psykose has quit [Ping timeout: 480 seconds]
<stek> Then how can I go about updating u-boot the correct way?
<jannau> see what update-m1n1 does. it is a shell script
<jannau> I fixed the wiki page
<stek> Okay, one minú
<stek> Reading m1n1 config from /etc/m1n1.conf:
<stek> System ESP not identified in device tree, using /boot/efi
<stek> Mounted System ESP /dev/nvme0n1p4 at /run/.system-efi
<stek> m1n1 updated at /run/.system-efi/m1n1/boot.bin
<stek> oof, i wanted to post that in one message
<jannau> why post that at all? it has no information
<stek> Sorry, brain went to sleep
slp has joined #asahi-dev
nst has joined #asahi-dev
nst has quit []
nst has joined #asahi-dev
stek has quit [Ping timeout: 480 seconds]
stek has joined #asahi-dev
stek has quit [Remote host closed the connection]
stek has joined #asahi-dev
<stek> Okay, did it with the gzip line, and lo and behold it now works! Thank you!
stek has quit [Quit: leaving]
<sven> 00003dc0: 4849 5044 2830 0420 d042 0420 5c00 0420 HIPD(0. .B. \..
<sven> 00003dd0: 4449 5343 c91a 0420 2143 4d44 424f 4f54 DISC... !CMDBOOT
<sven> hah
<sven> this is incredibly janky but kinda works now :D
<sven> i have to keep it in reset and send the read commands N times manually because it sometimes just refuses to reply
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #asahi-dev
qyliss has quit [Quit: bye]
qyliss has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
stek has joined #asahi-dev
<sven> 0002a5c0: 0000 0000 0000 0000 0000 0000 4344 3332 ............CD32
<sven> 0002a5d0: 3137 2020 2048 5720 2020 2020 4657 3030 17 HW FW00
<sven> 0002a5e0: 302e 3030 302e 3030 205a 4143 4532 2d41 0.000.00 ZACE2-A
<sven> alright, let me dump it again to make sure there are no errors now
stek has quit []
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
<sven> hrm, a bunch of flipped bits. i guess i'll just dump it a few times and then just live with that
chadmed has joined #asahi-dev
nimprod3l has joined #asahi-dev
<PaulFertser> Nice thing it has SWD working under reset. Not all MCU manufacturers did it right with cortex-m even though the specs require it iirc.
eldriitch has joined #asahi-dev
<sven> it'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 🤷‍♂️
eldriitch has quit [Quit: Leaving...]
nimprod3l has quit [Quit: Leaving]
mps_ is now known as mps
<sven> 00029c00: 4d45 4d72 973e 0200 4d45 4d77 973e 0200 MEMr.>..MEMw.>.. that looks like a hidden memory/read write command. wonder if that just works
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit []
psykose has joined #asahi-dev
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-dev
<chadmed> did anyone end up testing the hwmon driver? writing up a commit message
amarioguy2 has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
jeisom has joined #asahi-dev
eiln has joined #asahi-dev
<povik> jannau: yeah, re "detected mic" it's as you say
<_jannau_> yes, I looked into the code. I was convinced that headsets were announced as "headset" or similar
<_jannau_> there are a few users for which pipewire apparently doesn't pick the ucm config up although alsaucm reports no issues
<_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
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit []
ourdumbfuture has joined #asahi-dev
<sven> https://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
jjanzic1 has quit [Read error: Connection reset by peer]
jjanzic has joined #asahi-dev
<sven> huh, there's also hpmdiagnose which seems to just print all regs of those chips when running macos. how did I miss that one before
<povik> _jannau_: ah haven't seen those, should sign for notifications there
<povik> _jannau_: tagged v2
<_jannau_> thanks, not sure if those fixes are urgent enough for releasing them before we add support for more devices
cylm has joined #asahi-dev
amarioguy2 has quit [Ping timeout: 480 seconds]
amarioguy2 has joined #asahi-dev
nyx_o_ has joined #asahi-dev
nyx_o has quit [Ping timeout: 480 seconds]
eiln has quit [Ping timeout: 480 seconds]
amarioguy2 has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<marcan> kernel rebased on 6.5, kernel&m1n1 updates pushed to asahi-dev.
pg12 has quit [Ping timeout: 480 seconds]
pg12 has joined #asahi-dev
eiln has joined #asahi-dev
jacksonchen666 has joined #asahi-dev
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
<cy8aer> Sorry, 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.
<cy8aer> I am not able to compile without reverting it, sorry
<cy8aer> I need to revert the patch. Now it is complete confusing..
MajorBiscuit has quit [Ping timeout: 480 seconds]
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-dev
flom84 has joined #asahi-dev
jeisom has quit [Read error: No route to host]
jeisom has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
flom_84 has joined #asahi-dev
<cy8aer> ok, you really need a new bindgen. With patch it compiles with 1.72.0/0.68.1, but not with older bindgens...
flom84 has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
flom_84 has quit []
axboe has quit [Remote host closed the connection]
axboe has joined #asahi-dev
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-dev
billak has joined #asahi-dev
chadmed has joined #asahi-dev
billak has quit [Quit: Konversation terminated!]
crabbedhaloablut has quit []
midou has quit [Read error: Connection reset by peer]
midou has joined #asahi-dev
mps has quit [Quit: Lost terminal]
hxliew has joined #asahi-dev
mps has joined #asahi-dev
hightower2 has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
dylanchapell has quit [Read error: Connection reset by peer]
hightower2 has joined #asahi-dev
<leio> my 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 :)
dylanchapell has joined #asahi-dev
<marcan> cy8aer: next kernel will require a new bindgen anyway, none of us have been using that old bindgen for a long time now.
<cy8aer> marcan: no problem, I have only been put off by the kernel compilation message warning against newer versions.
<axboe> asahi-6.5-2 throws a lot of unsigned vs u64 errors for me, rust side
<axboe> known?
nyx_o_ has quit [Ping timeout: 480 seconds]
<axboe> bindgen 0.60.1 fwiw
ckb has quit [Ping timeout: 480 seconds]
<axboe> in case it isn't known: https://pastebin.com/4U4xDJcC
<axboe> well maybe that was just noise, works with bindgen 0.66.1
<axboe> yep all good with updated bindgen, and boots/works too
midou has quit [Ping timeout: 480 seconds]
<axboe> about to travel, and everybody knows you should update your system and kernel right before that
<j`ey> :-)
midou has joined #asahi-dev
c10l has quit [Quit: Bye o/]
ckb has joined #asahi-dev
c10l has joined #asahi-dev
jacksonchen666 has quit [Ping timeout: 480 seconds]
eiln has quit [Quit: WeeChat 4.0.4]
NateWeav has joined #asahi-dev
NateWeav has quit [Quit: The Lounge - https://thelounge.chat]