#
…

2023-10-08

00:34hightower3 has joined #asahi-alt
00:39jeisom has quit [Ping timeout: 480 seconds]
00:41hightower2 has quit [Ping timeout: 480 seconds]
01:46hex-spell has quit [Ping timeout: 480 seconds]
02:13hex-spell has joined #asahi-alt
03:44cylm has quit [Ping timeout: 480 seconds]
04:11hex-spell has quit [Ping timeout: 480 seconds]
04:33dylanchapell has quit [Read error: Connection reset by peer]
04:49dylanchapell has joined #asahi-alt
06:05balrog has quit [Ping timeout: 480 seconds]
06:09balrog has joined #asahi-alt
07:47compassion17850 has joined #asahi-alt
07:53r0ni has quit [Ping timeout: 480 seconds]
07:53compassion1785 has quit [Ping timeout: 480 seconds]
07:53compassion17850 is now known as compassion1785
08:44ydalton has joined #asahi-alt
08:44chadmedydalton: pretty much just differences in the kernel
08:44chadmedmostly the firmware loading
08:45chadmedi had to change how i was copying the firmware from the ESP into the squashfs of the initrd since the dracut hooks couldnt do it anymore
08:45ydaltonare we using dracut for fedora?
08:45chadmedit all works properly once gentoo is actually installed on the machine with its own kernel, and going forward the plan is to offer both an asahi kernel equipped livecd for usb booting and a gentoo fork of the asahi installer
08:45j`eyydalton: yes fedora uses dracut
08:45chadmedyeah dracut everywhere
08:46ydaltoni've been spoiled by mkinitcpio lol
08:46chadmedgentoo releng folks are even looking to transition to it away from genkernel
08:46chadmeddracut shits all over mkinitcpio :P
08:46chadmedno stupid custom syntax i just write a shell script and i have exactly what i want in the ESP
08:46chadmedinitramfs*
08:46ydaltonmaybe i should look into it
08:49leiofor an installer that would work for anyone, we need to get suitable kernel and modules and initramfs going, m1n1 stage2 build with u-boot included too of course, and add a bunch of packages in a stage4 catalyst build
08:49leioI just did a stage3 moved into filesystem image, with a hand-made m1n1/boot.bin with kernel embedded added to it to get my device going
08:51ydaltonboot.bin you just concatenate m1n1 stage 2 + dtb + uboot right?
08:51leiomeant a lot of follow-up fixing for the missing bits over m1n1 proxy, and all non-distributable as I needed to embed the firmware in kernel to get anywhere
08:51leioyes, I think so, for a generic thing
08:51leiofor my device uboot just crashes on start, so I had to do m1n1+dtb+kernel
08:52leiowhich is why I can't take this further myself well
08:52ydaltonj`ey: u-boot is gzipped then right?
08:52leioyes, so m1n1 can detect the end
08:53j`eyydalton: yup, see ntex line
08:53ydaltonyeah i see
08:54j`eym1n1 needs to know the size of the payloads to be able to iterate over them, I think it works unzipped if you dont need anything else after it
09:06leioI have a list of stuff that needs work on Gentoo with clang and thinlto optimized flags, bti-enabled compiler flags and such too, if anyone would like to help ;) and some more generic arm64 stuff
09:07ydalton has quit [Remote host closed the connection]
09:07ydalton has joined #asahi-alt
09:13hightower3 has quit [Ping timeout: 480 seconds]
09:19chadmed has quit [Remote host closed the connection]
09:20jeisom has joined #asahi-alt
09:27ydalton has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
09:31chadmed has joined #asahi-alt
09:38cyrinux has quit []
09:40cyrinux has joined #asahi-alt
09:40cyrinux has quit []
09:40cyrinux has joined #asahi-alt
09:41cyrinux has quit []
09:41cyrinux has joined #asahi-alt
09:52espo has quit [Quit: WeeChat 4.0.5]
09:59espo has joined #asahi-alt
10:14hex-spell has joined #asahi-alt
10:48cy8aer has quit [Remote host closed the connection]
10:56cy8aer has joined #asahi-alt
10:57jeisom has quit [Ping timeout: 480 seconds]
11:41stinteljust upgraded m1n1 to v1.4.2 and u-boot to git HEAD on asahi branch on my 15" air and keyboard/touchpad are no longer working. any suggestions what to look at?
11:41j`eydmesg!
11:41stintelkeyboard doesn't work in u-boot, grub and linux
11:42j`eywait, you upgraded u-boot too?
11:42stintelI was still on whatever I cross-compiled when I installed gentoo on this device 2 months ago or so
11:43stintelI kept a backup of boot.bin so I can easily revert - booting the "bad" version again now to check dmesg
11:43j`eywhich u-boot version did you use then?
11:43jannegstintel: upgraded u-boot to what?
11:43stintelgit HEAD on asahi branch
11:44janneguse asahi-releng
11:44stinteldoes that support 15" air?
11:45jannegnothing to support specifically for the 15-inch air
11:46stintelusing the live ebuilds for u-boot and m1n1
11:46chadmedif you use live ebuilds you get to pick up the broken pieces :)
11:46j`eylive == 9999?
11:47chadmedkeywords exist for a reason
11:47jannegyes, the live ebuild is broken though
11:47chadmedive got like 100 billion commits queued for the overlay
11:47chadmedlast week was rough on academic and employment fronts
11:48jannegstintel: use u-boot-2023.07.02_p2.ebuild there is afaik nothing in the repos which would warrant an update
11:49stinteljanneg: I've just switched to that, rebooting
11:49stintelok that works, that was easy
11:50jannegu-boot doesn't have to be updated for new devices. dtb is enough as long it's not a new SoC
11:51stintelI used 9999 because I saw 3d4ff95b8591 ("arm: dts: apple: Add Apple M2 device trees") in there
11:51* stintelshould probably redo his install with LUKS before traveling
11:52chadmedstintel: the dts come from the kernel tree
11:52stintelchadmed: yeah, I've been reading update-m1n1 and running it with sh -x
11:53stintelalso set DTBS="/usr/src/linux/arch/arm64/boot/dts/apple/t8112-j415.dtb" in /etc/default/update-m1n1 to not append dtbs I don't need
11:54* stintelreboots in macOS to get the camera calibration file
11:54leioI think the dts in the u-boot tree are used for BSD or something?
11:55stintelso now I've upgraded macOS to 14.0 ... the gentoo startup disk still shows 13.5. can I update that to 14.0 somehow? and do I need to extract new firmwares that come with the macOS upgrade?
11:56chadmedno you do not update the stub
11:56chadmedit is totally independent of your macos install
11:56chadmedapart from systemwide firmware
12:07jeisom has joined #asahi-alt
12:12dcow has joined #asahi-alt
12:12ChaosPrincess has quit [Quit: ChaosPrincess]
12:13ChaosPrincess has joined #asahi-alt
12:41r0ni has joined #asahi-alt
12:50mpsis firmare needed for camera, looks like it works fine without it
12:53mpsaha, thanks for link
13:02mpshmm, didn't helped, looks like my asahi-fwupdate doesn't work
13:02mpsor, where it put resulting firmware on linux FS
13:05j`eydid you also update asahi-fwupdate?
13:05j`eyseems not
13:05mpsj`ey: yes. 0.6.8 version
13:06j`eyoh ok, just not pushed
13:07mps`tar tvf /boot/efi/asahi/all_firmware.tar.gz | grep appleh13c` shows '-rw-r--r-- mps/mps 2599792 2023-10-08 14:59 ./appleh13camerad'
13:11j`eycheck the firmware.{cpio,tar*}
13:13mpsj`ey: checked tar, only brcm dir, apple/dfrmtfw-j293.bin and asmedia/asm2214a-apple.bin
13:14mpscpio show same
13:15j`eyand the script definitely ran/
13:15mpsyes, `asahi-fwextract /boot/efi/asahi/ x` where 'x' is local dir
13:16mpsand in it are cpio and tar files
13:19espo has quit [Quit: WeeChat 4.0.5]
13:35j`eyI guess you'll have to do some debugging to see if you can see whats going on
13:35j`eyit seems to produces logs, but im not sure how to turn them on
13:38mpsI have no idea how to debug python scripts
13:39j`eyisp.py is installed right?
13:40mpsI guess, else asahi-fwextract will fail
13:43j`eydoes it print? after looking into the logging stuff, it seems it should print by default
13:45mpsno, it quietly create firmware.{cpio,tar}, manifest.txt and u-boot/asmedia/asm2214a-apple.bin
13:52j`eyyou can modify update.py to change logging.basicConfig() to logging.basicConfig(level='DEBUG')
13:57mpsj`ey: rebuilt asahi-fwextract, clean everything from previous and install new, rerun and got error msg https://tpaste.us/PEvJ
13:58j`eyprogress
14:00jannegfrom which macos version is your appleh13camerad?
14:01espo has joined #asahi-alt
14:01mpsforgot exact version but iirc it is about year old, recovery partition from which I copied it
14:02mpsmaybe should copy from macos which I upgraded about 2-3 weeks ago
14:03mpsis it also in /usr/sbin on macos
14:04mpsthanks, will try again later at evening/night. now I expect guests to come
14:17hightower2 has joined #asahi-alt
14:38hightower2 has quit [Read error: Connection reset by peer]
14:57dcow has quit [Remote host closed the connection]
15:05dcow has joined #asahi-alt
15:10hightower2 has joined #asahi-alt
15:17dcow has quit [Ping timeout: 480 seconds]
15:19hightower3 has joined #asahi-alt
15:19hightower2 has quit [Read error: Connection reset by peer]
15:21hightower4 has joined #asahi-alt
15:26hightower4 has quit [Read error: Connection reset by peer]
15:28hightower3 has quit [Ping timeout: 480 seconds]
15:41jeisom has quit [Ping timeout: 480 seconds]
15:50dcow has joined #asahi-alt
15:53j`eymps: markan should have fixed it now
15:56mpsj`ey: thanks. I see on #asahi-dev
15:58dcow has quit [Ping timeout: 480 seconds]
16:06hightower2 has joined #asahi-alt
16:17dcow has joined #asahi-alt
16:21dcow has quit [Remote host closed the connection]
16:25dcow has joined #asahi-alt
16:33dcow has quit [Ping timeout: 480 seconds]
16:39dcow has joined #asahi-alt
16:42ah-and pretty nicely contained with the microvm that has fex and the rootfs etc. all ready to go
16:43cyrinux has quit []
16:45dcow has quit [Remote host closed the connection]
16:45cyrinux has joined #asahi-alt
16:45dcow has joined #asahi-alt
17:05dcow has quit [Remote host closed the connection]
17:08dcow has joined #asahi-alt
17:11dcow has quit [Remote host closed the connection]
17:11dcow has joined #asahi-alt
17:18dcow has quit [Remote host closed the connection]
17:25jacksonchen666 has quit [Ping timeout: 480 seconds]
17:26dcow has joined #asahi-alt
17:33j`eylooks like there's no default config for gentoo?
17:33j`eyI mean, kernel .config
17:35zzywysm has joined #asahi-alt
17:46jeisom has joined #asahi-alt
17:50dcow has quit [Remote host closed the connection]
17:57dcow has joined #asahi-alt
17:57psykose has quit [Remote host closed the connection]
17:58psykose has joined #asahi-alt
18:05dcow has quit [Ping timeout: 480 seconds]
18:10dcow has joined #asahi-alt
18:12dcow has quit [Remote host closed the connection]
18:16dcow has joined #asahi-alt
18:19dcow has quit [Remote host closed the connection]
18:26mpsj`ey: janneg: now asahi-fwextract works, thank you
18:26mpsand thank you marcan for fast fix
18:55hex-spell has quit [Quit: WeeChat 4.0.5]
19:26lynndotpy has quit [Quit: bye bye]
19:26lynndotpy has joined #asahi-alt
19:51SalimTer- has joined #asahi-alt
19:55SalimTerryLi has quit [Ping timeout: 480 seconds]
20:14hex-spell has joined #asahi-alt
21:05cylm has joined #asahi-alt
23:09jeisom has quit [Remote host closed the connection]
23:11jeisom has joined #asahi-alt
23:52dcow has joined #asahi-alt
…