#
✕ nick:firefox317
#asahi · 2021-11-20 17:58
FireFox317jmr2, for me it works
#asahi · 2021-11-20 15:56
FireFox317all the stuff that we are currently doing is still kinda experimental, and its not for general user yet
#asahi · 2021-11-20 15:56
FireFox317mps, i would wait a bit for things start to settle
#asahi · 2021-11-20 15:48
FireFox317mps, 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
#asahi · 2021-11-20 13:51
FireFox317kettenis, j_ey, thanks!
#asahi · 2021-11-20 13:47
FireFox317does 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
#asahi · 2021-11-20 11:18
FireFox317mps, that is correct. You probably want to use the patches from jannau: https://github.com/jannau/AsahiLinux-PKGBUILD
#asahi · 2021-11-19 17:43
FireFox317j_ey, fair enough, unfortunately i'm a poor student :P
#asahi · 2021-11-19 17:41
FireFox317no i wouldnt guess so either, but its pretty nice if i can just sit on the couch with my m1 air and hack on the kernel xd
#asahi · 2021-11-19 17:40
FireFox317yeah it would be pretty cool if we can test a new kernel from the m1 itself, which i guess might be possible somehow if we use u-boot?
#asahi · 2021-11-19 17:23
FireFox317i guess we can put that list on the SW:Linux page maybe
#asahi · 2021-11-19 17:21
FireFox317I think we should also have a page on the wiki that lists which config options should be enabled to enable a specific feature. For example to enable the usb-c ports on the m1 air, i had to change one options from a module to being build into the kernel.
#asahi · 2021-11-19 13:12
FireFox317oh there is j_ey xd
#asahi · 2021-11-19 13:12
FireFox317mps, with these patches the keyboard does work https://gitlab.arm.com/linux-arm/jg-open/-/commits/m1-keyboard-5.16
#asahi · 2021-11-19 13:04
FireFox317mps, i managed to do that yesterday on my m1 macbook air
#asahi · 2021-11-19 12:49
FireFox317_jannau_, yeah sorry when you add the correct nodes to the dtb it works (indeed without hotplug)
#asahi · 2021-11-19 12:48
FireFox317kit_ty_kate, nope its not :)
#asahi · 2021-11-19 12:47
FireFox317well usb 2.0 over usb c
#asahi · 2021-11-19 12:47
FireFox317the usb c ports also work on mbp/mba
#asahi · 2021-11-18 16:22
FireFox317marcan, yeah thanks for the clarification, i figured that out xd
#asahi · 2021-11-18 16:03
FireFox317j_ey, with run_guest.py you can specify bootargs after the payload. I tried to use that. However I also looked at the m1n1 code and it looks like it only changes the bootargs in the adt, not in the fdt.
#asahi · 2021-11-18 15:09
FireFox317i guess i can just put them in the dts for now
#asahi · 2021-11-18 14:57
FireFox317it doesnt seem to recocnize the boot args that i specifiy
#asahi · 2021-11-18 14:57
FireFox317do i have to enable a specific kernel option such that it recognizes the boot args when running under the hypervisor i.e. with run_guest.py?
#asahi · 2021-11-18 13:34
FireFox317It works :D
#asahi · 2021-11-18 13:29
FireFox317yeah it seems to timeout really fast
#asahi · 2021-11-18 13:27
FireFox317I just reinstalled the new m1n1 on my m1 air (j313)
#asahi · 2021-11-18 13:26
FireFox317yep for me it also breaks
#asahi · 2021-11-18 12:52
FireFox317yeah the mdelay(100) also works on my machine
#asahi · 2021-11-18 12:43
FireFox317ahh i see, my bad
#asahi · 2021-11-18 12:43
FireFox317that helper is even in m1n1 :p
#asahi · 2021-11-18 12:33
FireFox317marcan, fortunately you can repro the issue now right?
#asahi · 2021-11-18 12:32
FireFox317yeah timing issues are super annoying, and this is definitely a timing issue :(
#asahi · 2021-11-18 12:29
FireFox317with 20x boots do you mean chainloading 20 times, or rebooting manually?
#asahi · 2021-11-18 12:23
FireFox317radnic, extra prints in the i2c code might add some delays and change the behavior maybe?
#asahi · 2021-11-18 12:20
FireFox317because it seems to matter
#asahi · 2021-11-18 12:20
FireFox317marcan, did you install the latest m1n1? or are you just chainloading?
#asahi · 2021-11-18 12:18
FireFox317marcan, i2c.c:131 should be 'if (i2c_xfer_write(dev, addr, 1, 0, &reg, 1))' right?
#asahi · 2021-11-18 12:16
FireFox317With only one usb c-a cable connected to my linux box
#asahi · 2021-11-18 12:16
FireFox317With the change from marcan applied I get the following output on a Macbook Air (j313): https://paste.debian.net/1219923
#asahi · 2021-11-18 12:04
FireFox317i can just go into 1tr and use kmutil configure-boot to update m1n1 right?
#asahi · 2021-11-18 11:28
FireFox317radnic, correct.
#asahi · 2021-11-18 11:23
FireFox317m1n1 also prints it iirc
#asahi · 2021-11-18 11:20
FireFox317some codename that apples uses, see https://github.com/AsahiLinux/docs/wiki/Devices
#asahi · 2021-11-18 11:19
FireFox317radnic, latest m1n1 with the patch that marcan send? and are you on a macbook air m1 (j313)?
#asahi · 2021-11-18 11:14
FireFox317kode54, you can install m1n1 with u-boot or linux as a payload, and in that case m1n1 just acts as a bootloader and immediately loads the next stage.
#asahi · 2021-11-18 10:26
FireFox317oh interesting, the connection with my linux box works fine, also when hpm0/1 init fails
#asahi · 2021-11-18 10:23
FireFox317marcan, with your change both hpm0 and hpm1 fail to init
#asahi · 2021-11-18 10:19
FireFox317sven, with an updated m1n1 is failing much more consistently. it looks like the same issue as radnic, i'm trying marcan s fix now
#asahi · 2021-11-18 10:00
FireFox317radnic, it fails consistently for you?

plus ›