#asahi-dev · 2022-11-02 14:53
ChaosPrincessmaz: usb over tb3 is usb3-over-pcie-over-tb, while usb over usb4 is usb over usb4#asahi-dev · 2022-11-01 19:10
ChaosPrincessyou dont need to recompile, just cat m1n1, all dtbs and u-boot#asahi-dev · 2022-11-01 19:10
ChaosPrincessyou need to inject new dtbs into m1n1#asahi-dev · 2022-11-01 19:08
ChaosPrincessalso make sure you updated the dtbs and such#asahi-dev · 2022-11-01 18:40
ChaosPrincessok, try now#asahi-dev · 2022-11-01 18:38
ChaosPrincesslet me just rebase that#asahi-dev · 2022-11-01 18:37
ChaosPrincessoh, that#asahi-dev · 2022-11-01 18:37
ChaosPrincesswell, maybe not bindings documentation and MAINTAINERS, but you do need the driver and the device tree patches#asahi-dev · 2022-11-01 18:37
ChaosPrincessyou need all of it#asahi-dev · 2022-11-01 17:37
ChaosPrincessCome on, its a tiny driver. :P#asahi-dev · 2022-11-01 17:36
ChaosPrincess:(#asahi-dev · 2022-11-01 17:35
ChaosPrincessmarcan: mind looking at pwm v-idk-which?#asahi-dev · 2022-10-30 08:38
ChaosPrincessWelp, i hoped that m2 would just work(tm), but apparently this is not happening#asahi-dev · 2022-10-29 23:25
ChaosPrincessanyway, im off to sleep for today, its getting super late#asahi-dev · 2022-10-29 23:24
ChaosPrincessyou are probably missing an initrd or somethng#asahi-dev · 2022-10-29 23:15
ChaosPrincessbut it is weird and it really shouldnt have done that#asahi-dev · 2022-10-29 23:14
ChaosPrincesslook in /boot, if it did, it moved it to the same name but with .old at the end#asahi-dev · 2022-10-29 23:07
ChaosPrincessi am assuming it is grub, so you will have to run grub-mkconfig #asahi-dev · 2022-10-29 23:07
ChaosPrincessyou run make install, then make modules_install, and then reconfigure your bootloader to see the new kernel#asahi-dev · 2022-10-29 22:58
ChaosPrincesszcat /proc/config.gz#asahi-dev · 2022-10-29 22:57
ChaosPrincessdo you already have asahi installed#asahi-dev · 2022-10-29 21:03
ChaosPrincessalso, this one has a very small but non-zero chance of making you have to restore os via dfu restore#asahi-dev · 2022-10-29 21:02
ChaosPrincesswould someone with a M2 machine mind running this kernel https://github.com/AsahiLinux/linux/pull/62 and then running sudo hexdump -C /dev/mtd0 | grep nvram ?#asahi-dev · 2022-10-28 17:29
ChaosPrincessBtw, since we were talking upstreaming, is someone working on it? What's the general status?#asahi-dev · 2022-10-28 15:10
ChaosPrincessidk if anyone tested it on a m2, but im confident it works on m1/m1pro#asahi-dev · 2022-10-28 15:09
ChaosPrincessor should i send it to linux mailing lists?#asahi-dev · 2022-10-28 15:09
ChaosPrincess_jannau_: i have sent a pr to the asahi repo#asahi-dev · 2022-10-28 15:08
ChaosPrincessi run it on m1 mpb too, but only rely on kde's backlight handling#asahi-dev · 2022-10-28 15:07
ChaosPrincesse#asahi-dev · 2022-10-28 15:07
ChaosPrincesswaiting for merg#asahi-dev · 2022-10-24 21:31
ChaosPrincessyes, that is correct, but you can use the binary abi, while putting the acpi table goop in device tree instead#asahi-dev · 2022-10-24 20:54
ChaosPrincessacpi has a thing called platform runtime mechanism, which is basically doing what we want - calling into firmware w/o going to another exception level. Maybe we can reuse that, but hook it up with the device tree instead of acpi?#asahi-dev · 2022-10-23 17:47
ChaosPrincesswhat does the aop do that would be useful in linux? Do you have to enable to enable it to even get the built-in mic signals?#asahi-dev · 2022-10-20 08:46
ChaosPrincessalso, if you have time, mind doing a `hexdump -C | grep nvram` on a nvram dump of a m1 pro machine? i want to check if some offsets are the same as on m1 #asahi-dev · 2022-10-20 08:38
ChaosPrincessyou can probably do a bunch of preprocessor abuse to not pay this cost on platforms where there is only page size, or if the user configures the kernel to only support 1#asahi-dev · 2022-10-20 08:34
ChaosPrincessand real answer - thats the workload on a probably-competent distro packager, not extra mental load on a user that when presented with two page size options will be confused.#asahi-dev · 2022-10-20 08:33
ChaosPrincesswell, thats implying distros test all their software :P#asahi-dev · 2022-10-20 08:32
ChaosPrincessdistro kernels being capable of shipping the same kernel to all arm machines#asahi-dev · 2022-10-20 08:31
ChaosPrincessmarcan: if you have time, mind looking at pwm again? i did the whole sign off legalese thing.#asahi-dev · 2022-10-20 08:28
ChaosPrincessthere are a lot of places that rely on it being a compile constant#asahi-dev · 2022-10-20 08:28
ChaosPrincesshahahaha, no#asahi-dev · 2022-10-20 08:22
ChaosPrincessthe 4k userspace with 16k kernel is way more difficult than boot-time page_shift, which is already hard#asahi-dev · 2022-10-20 08:22
ChaosPrincessso you can boot the same kernel on 16k arm macs and 4k raspis or whatever#asahi-dev · 2022-10-20 08:21
ChaosPrincessi was thinking of instead of having PAGE_SHIFT being a constant, it instead being a boot time variable#asahi-dev · 2022-10-20 08:15
ChaosPrincesssome thoughts about supporting both 4k and 16k pages in one kernel binary: arm64 needs to know page and virtual address size super early in the boot process, even before fdt is parsed and can be mapped. it looks like it would be needed to parse the fdt in efi-stub or u-boot, and modify the linux boot protocol to take the page+va size in a register.#asahi-dev · 2022-10-18 19:34
ChaosPrincessisnt there some sort of a gpio pin connected to the kb in order to allow wakeup?#asahi-dev · 2022-10-17 21:08
ChaosPrincessok, ill look at it then.#asahi-dev · 2022-10-17 21:07
ChaosPrincessand it fails after loading the keybag#asahi-dev · 2022-10-17 21:07
ChaosPrincessmps: im using https://github.com/sgan81/apfs-fuse#asahi-dev · 2022-10-17 21:06
ChaosPrincessthe victim volume is the asahi container, so it is not mounted and shouldnt have filevault