2021-11-20
00:11d0p1 has quit [Ping timeout: 480 seconds]
00:24marcanRealityVoid: the old repo probably had AIC code that does not work as a VM guest (which needs to use different registers), hence the undefined instruction exception.
00:27squags has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
00:32squags has joined #asahi
00:32squags has quit []
00:33squags has joined #asahi
01:06squags has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
01:07squags has joined #asahi
01:41squags has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
01:56yuyichao_ has quit [Ping timeout: 482 seconds]
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi
02:24nico_32 has quit [Remote host closed the connection]
02:27nico_32 has joined #asahi
02:50yuyichao_ has joined #asahi
03:18phiologe has joined #asahi
03:20slicey has joined #asahi
03:21PhilippvK has quit [Ping timeout: 480 seconds]
03:46hspak has quit [Remote host closed the connection]
03:46hspak has joined #asahi
03:56marcanj_ey: fwiw m1n1 should now propagate USB disabling from the HV to the dtb, so you no longer need to comment out the dwc3 to avoid it stealing it
04:03kov has quit [Quit: Coyote finally caught me]
04:03kov has joined #asahi
04:27marvin24_ has joined #asahi
04:30marvin24 has quit [Ping timeout: 480 seconds]
04:59leah has joined #asahi
05:57marvin24_ has quit [Remote host closed the connection]
05:58marvin24 has joined #asahi
06:33slicey has quit [Quit: zzz]
06:37_chamomile has quit [Ping timeout: 480 seconds]
07:32squags has joined #asahi
07:33chamomile has joined #asahi
07:41chamomile has quit [Ping timeout: 480 seconds]
08:00* MagMell[m]uploaded an image: (264KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/tNSpRnmOpHbbLnfOSCOkadlg/photo_2021-11-20_15-59-31.jpg >
08:00MagMell[m]where my eth card?
08:00cth451_desktop has joined #asahi
08:01gabuscus has quit [Read error: Connection reset by peer]
08:01MagMell[m]s/eth/ethernet/
08:05gabuscus has joined #asahi
08:09MagMell[m]* PKGBUILD: https://github.com/jannau/AsahiLinux-PKGBUILD to make kernel (Mac mini m1)
08:40jannauMagMell[m]: I haven't actually tested that build myself (just a build of the same kernel/config on my PC)
08:41jannauMagMell[m]: how do you boot the kernel? you need the dtb from that build for the ethernet card to work
08:44cth451_desktopOP here.
08:44cth451_desktopThe kernel was sideloaded with linux.py
08:45cth451_desktopI'm pretty sure that I've used the dtb from the kernel build
08:45MagMell[m]t8103-j274
08:47cth451_desktopI was planning to boot off root on iSCSI and currently stuck in initrd shell
08:52jannaucth451_desktop: works for me with `tools/linux.py /tmp/m1/boot/Image.gz /tmp/m1/boot/dtbs/apple/t8103-j274.dtb -b "root=/dev/sda2 rootwait"` after unpacking the kernel package in /tmp/m1/
08:52cth451_desktopIs /dev/sda2 a USB drive?
08:52cth451_desktopI probably should make a thumb stick with a rootfs and try that first
08:54jannauyes, it's usb drive with http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
09:01cth451_desktopDo you happen to know which specific firmware blob this card requires?
09:01cth451_desktopMy m1n1 has a 10GE card
09:06jannaudo you have means to access the device? either screen and keyboard or with a usb ethernet adapter?
09:06cth451_desktopI have a USB keyboard hooked to mini
09:07cth451_desktopPoking around /sys/bus/pci/devices gives 3 pinctrl devices and 1 dart pcie controller
09:08tertu has quit [Quit: so long...]
09:08tertu has joined #asahi
09:09___nick___ has joined #asahi
09:09jannauthe kernel misses the driver: please replace "# CONFIG_NET_VENDOR_AQUANTIA is not set" with "CONFIG_AQTION=y" to the config
09:10cth451_desktopWill do
09:13cth451_desktopUSB hotplugging works but apparently the kernel doesn't have driver for my USB ethernet dongle either
09:29cth451_desktop0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
09:30jannauthat one should built-in. I fear USB-C is not working since I forgot to actually applying the patches
09:32cth451_desktopI do see the usb device recognized by the kernel in dmesg but there's no eth interface
09:32cth451_desktop(btw this is a usb-c to ethernet dongle)
09:35jannauconnected to the usb-c port? that should not have been visible since I forgot to apply the patches in the PKGBUILD
09:38cth451_desktopWell I did applied the patches myself
09:53slicey has joined #asahi
09:59___nick___ has quit []
10:00___nick___ has joined #asahi
10:01___nick___ has quit []
10:02___nick___ has joined #asahi
10:04Dcow has joined #asahi
10:52aleasto has joined #asahi
10:56slicey has quit [Quit: zzz]
11:18FireFox317mps, that is correct. You probably want to use the patches from jannau: https://github.com/jannau/AsahiLinux-PKGBUILD
11:20j_eyhttps://github.com/jannau/linux/commit/8130ab3cc5b16f815851389c28d59fe43c98374d is the main part
11:24jannauhttps://github.com/jannau/linux/commit/1d28f8696bc0cd9ee6ad80a950e0bc0efebaaaf5 is needed as well
11:28mpshmm, 'can't find file to patch at input line 47' => a/arch/arm64/boot/dts/apple/t8103-j293.dts
11:36mpsnow i will try with patched dtb and if it fails then I will clone and build one of these above
12:24Techcable has quit [Quit: ZNC - https://znc.in]
12:25Techcable has joined #asahi
12:29bps has joined #asahi
12:54Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
13:06bps has quit [Ping timeout: 480 seconds]
13:09bps has joined #asahi
13:14gladiac is now known as Guest6367
13:14gladiac has joined #asahi
13:17aleasto has quit [Remote host closed the connection]
13:20Guest6367 has quit [Ping timeout: 480 seconds]
13:22nskl has quit [Remote host closed the connection]
13:23nskl has joined #asahi
13:38chamomile has joined #asahi
13:47FireFox317does anyone know where the wifi firmware is located on the macos install? I want to try to get wifi working on my macbook air with allysa patches
13:51FireFox317kettenis, j_ey, thanks!
14:27bps has quit [Ping timeout: 480 seconds]
14:29d0p1 has joined #asahi
14:41slicey has joined #asahi
14:43slicey has quit []
15:13nskl has quit [Quit: WeeChat 3.3]
15:13nsklaus has joined #asahi
15:13nsklaus has quit []
15:16nsklaus has joined #asahi
15:19d0p1 has quit [Ping timeout: 480 seconds]
15:48FireFox317mps, if you apply all the patches from jannau on top of v5.16-rc1 and also use the config that they provided then nvme will work out of the box
15:51mpsfirefox317: thanks, though it will be cumbersome to reapply such number of patches every monday when new -rc kernels are released
15:55mpsj_ey: I'm thinking to make alpine linux package using https://github.com/jannau/AsahiLinux-PKGBUILD
15:56FireFox317mps, i would wait a bit for things start to settle
15:56FireFox317all the stuff that we are currently doing is still kinda experimental, and its not for general user yet
16:04jannaumakepkg (arch linux pkg build tool) even complained about having the patches in directory. I did not read the manual though
16:06d0p1 has joined #asahi
16:13svenjannau: that i2c dt binding fix looks reasonable to me as well. Maybe just keep the old “wrong” compatible as deprecated in there (see e.g. snps,dwc3 for how that’s done)
16:14kettenisdoesn't matter at this point, so it is best to fix it now instead of carrying it forever
16:31gladiac is now known as Guest6373
16:31gladiac has joined #asahi
16:37Guest6373 has quit [Ping timeout: 480 seconds]
17:15jmr2 has joined #asahi
17:16jmr2marcan: in the small cleanups category, would you mind doing chmod +x proxyclient/experiments/*.py please?
17:21X-Scale has joined #asahi
17:26X-Scale` has quit [Ping timeout: 480 seconds]
17:41jmr2marcan: FYI, with the latest m1n1, it's no longer possible to use alyssa's trick to get wifi to work on the Air (running experiments/smc.py between tools/chainload.py and tools/linux.py)
17:58FireFox317jmr2, for me it works
17:59FireFox317however i'm running the kernel through the hypervisor but i think that shouldnt matter
18:00chamomile has quit [Ping timeout: 480 seconds]
18:02nsklaus has quit [Quit: Textual IRC Client: www.textualapp.com]
18:03nsklaus has joined #asahi
18:04FireFox317jmr2, oh wait yeah i had to fixup smc.py indeed
18:12FireFox317jmr2, latest version and replace `gpio_key(RFKILL_PIN)` with `'gP0d'` on line 30 and 31 of experiments/smc.py
18:18jmr2Tnaks, but looks like there's more to it than that. I'm on 23c3617 (latest), and I get "AttributeError: 'SMCEndpoint' object has no attribute 'write_key'".
18:19nsklaus has quit [Ping timeout: 480 seconds]
18:19FireFox317whoops, yeah also change write_key to write
18:19FireFox317this is my diff:
18:19FireFox317-smcep.write_key(gpio_key(RFKILL_PIN), struct.pack('<I', 0x800000 | 0x0))
18:19FireFox317-smcep.write_key(gpio_key(RFKILL_PIN), struct.pack('<I', 0x800000 | 0x1))
18:19FireFox317+smcep.write('gP0d', struct.pack('<I', 0x800000 | 0x0))
18:19FireFox317+smcep.write('gP0d', struct.pack('<I', 0x800000 | 0x1))
18:26nsklaus has joined #asahi
18:37jmr2 has quit [Remote host closed the connection]
18:41d0p1 has quit [Ping timeout: 480 seconds]
18:53mini has quit [Ping timeout: 480 seconds]
19:04nsklaus has quit [Quit: WeeChat 3.3]
19:10nsklaus has joined #asahi
19:17nsklaus has quit [Quit: WeeChat 3.3]
19:17nsklaus has joined #asahi
19:18nsklaus has quit []
19:24mini has joined #asahi
19:26chamomile has joined #asahi
19:33yuyichao_ has quit [Ping timeout: 480 seconds]
19:47nsklaus has joined #asahi
19:53Dcow has joined #asahi
20:01Dcow has quit [Ping timeout: 480 seconds]
20:09why2[m] has joined #asahi
20:15nsklaus has quit [Quit: WeeChat 3.3]
20:15nsklaus has joined #asahi
20:15nsklaus has quit []
20:15nsklaus has joined #asahi
20:42chamomile has quit [Remote host closed the connection]
21:01faiz_abbas[m] has joined #asahi
21:02chamomile has joined #asahi
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:11X-Scale` has joined #asahi
21:14X-Scale has quit [Ping timeout: 480 seconds]
21:14cth451_desktopjannau: compiled another kernel with AQTION set to yes but still no eth device
21:15cth451_desktopI'm using a custom rootfs on a USB thumb drive. Do you happen to know whether this will require firmware blobs?
21:16cth451_desktop* require firmware to use 10GE
21:20ari have an aquantia nic on my amd64 desktop, and there's no mention of it loading any firmware in dmesg. but it also might be a weird one, as the nic is on thunderbolt
21:21cth451_desktopor pcie?
21:22cth451_desktopNot sure how the 1G card would be wired though.
21:48cth451_desktopno mention of any PCIe devices other than 3 apple device a the usb controller
21:49cth451_desktopIf the nic is in fact on thunderbolt (like internally wired), I could try to get boltd on there and see if anything changes
21:54nsklaus has quit [Quit: WeeChat 3.3]
21:54nsklaus has joined #asahi
22:04_chamomile has joined #asahi
22:09chamomile has quit [Ping timeout: 480 seconds]
22:24nsklaus has quit [Quit: WeeChat 3.3]
22:25klaus has joined #asahi
22:26klaus has quit []
22:26arJTL: the only issue is that for thunderbolt to work at all on this system, i needed to add some magic kernel parameters
23:03inertia has joined #asahi
23:08flying_sausages has quit [Ping timeout: 480 seconds]
23:42nsklaus has joined #asahi
23:46flying_sausages has joined #asahi