#
✕ nick:janneg
#asahi-alt · 2024-07-20 06:08
jannegshould be possibly to simplify it. maybe it could be even sufficient to just modify the base tag
#asahi-alt · 2024-07-20 05:45
jannegchadmed: it's to avoid creating and saving an uncompressed 5MB patch file when it's not necessary. I think I had that in asahi-sources as well but it doesn't integrate well with just copying the file for updates
#asahi-alt · 2024-07-19 07:48
jannegtpw_rules: I've pushed asahi-6.9.9-6 with debug patches from lina
#asahi-alt · 2024-07-17 20:58
jannegthat should have been removed already for later 6.8 releases
#asahi-alt · 2024-07-17 20:58
jannegthat patch was just there for specific 6.8 releases which contained the patch twice. once in the stable / genkernel patches and once in the asahi branch. Missed an asahi bits branch rebase since git merge handles duplicate patches
#asahi-alt · 2024-04-01 21:37
jannegthere are not that many unstable dependencies. I only see dev-util/spirv-llvm-translator-17 and dev-libs/libclc-17 (for mesa, stable on amd64) and media-libs/lsp-plugins-1.2.14 (for asahi-audio, not stable on amd64)
#asahi-alt · 2024-04-01 11:42
jannegmaybe the dist kernel should simply run update-m1n1 with its dtbs
#asahi-alt · 2024-04-01 11:19
janneggrub-mkconfig grabs several patterns and sort's them reversed, so probably close to https://github.com/chadmed/asahi-overlay/commit/0bb6aaae3001eb58a0c53236d5b66dfd312d4a31
#asahi-alt · 2024-04-01 11:07
jannegso the problem is finding the version of the next kernel
#asahi-alt · 2024-04-01 11:07
jannegour problem is that we need to inject the dtbs of the kernel which boots next into ${ESP}/m1n1/boot.bin
#asahi-alt · 2024-04-01 11:05
jannegour use of dtbs differs from other platforms. there is already `make dtbs_install` and the kernel-build eclass uses that which results installing the dtbs in /boot/dtbs/6.6.0-asahi-16-dist/
#asahi-alt · 2024-04-01 10:25
jannegsymlink handling is in kernel-install.eclass but without use flag so that should be safe
#asahi-alt · 2024-04-01 09:38
jannegmaybe we should create a symlink as well
#asahi-alt · 2024-04-01 09:37
jannegso this is not feasible
#asahi-alt · 2024-04-01 09:37
jannegUSE=symlink is a kernel-2 eclass thing so the dist kernel will not update the symlink
#asahi-alt · 2024-04-01 09:32
jannegit deletes most of the src in install (it retains Makefiles and a few select files)
#asahi-alt · 2024-04-01 08:39
jannegchadmed: I was planing to solve the dtb issue for asahi-kernel by installing the dtbs or symlinks into the kernel src dir
#asahi-alt · 2024-04-01 06:20
jannegso this is then the proper fix. The initramfs misses mkdir and the PR will fix it
#asahi-alt · 2024-04-01 06:18
jannegby manually creating /lib/firmware/vendor you mean just a mkdir?
#asahi-alt · 2024-04-01 06:18
janneganother issue is that "/lib/modules/$(uname -r)/vmlinuz" is a relative link (created for "/usr/lib/modules/$(uname -r)/vmlinuz") breaking depmod
#asahi-alt · 2024-04-01 06:16
jannegchadmed: one possible fix for the failed firmware load: https://github.com/AsahiLinux/asahi-scripts/pull/43 seemed not fatal though
#asahi-alt · 2024-03-31 12:57
jannegit is working as intended here
#asahi-alt · 2024-03-31 12:56
jannegsystemd or openrc system? which profile? which installkernel use flags are set?
#asahi-alt · 2024-03-31 12:56
jannegpossibly an issue with merged-usr? can you check the state with "rd.break=pre-trigger" in the command line. that breaks after the the load firmware dracut hook
#asahi-alt · 2024-03-30 12:23
jannegah good. I don't understand why that makes a change but the config is closer at the gentoo-kernel config
#asahi-alt · 2024-03-30 12:22
janneghej, any changes with gentoo-kernel-6.6.0_p16-r1?
#asahi-alt · 2024-03-30 09:06
jannegmaybe installkernel with some use flag combination not calling depmod?
#asahi-alt · 2024-03-30 09:05
jannegmy combination works. but I don't see how grub / sd-boot could affect that
#asahi-alt · 2024-03-30 08:53
jannegI'm using sd-boot and installkernel[systemd,systemd-boot]. not sure how that would affect things
#asahi-alt · 2024-03-30 08:51
jannegvfat is loaded directly after nvme / sart, the first loaded modules
#asahi-alt · 2024-03-30 08:42
jannegchadmed: it works for me. issue seems module loading
#asahi-alt · 2024-03-29 23:24
jannegasahi-kernel in https://github.com/chadmed/asahi-overlay/pull/75 builds 25% faster, after disabling all non apple arm64 ARCHs and debug CONFIGs
#asahi-alt · 2024-03-29 20:46
jannegnyaomixyz: do you have xz compressed modules /lib/modules/$(uname -r) ? check with `find /lib/modules/$(uname -r) -name 'brcmfmac.ko*'`
#asahi-alt · 2024-03-29 20:06
jannegit is not expected to work with wireplumber 0.5, it needs wireplumber main and wireplumber/-/merge_requests/628 which is still under discussion and bound to change
#asahi-alt · 2024-03-29 17:40
jannegI don't think it is an issue of the kernel itself. according to modinfo/lsmod brcmfmac-wcc depends on brcmfmac
#asahi-alt · 2024-03-29 17:28
jannegthey should, only difference in the ebuilds is that I forgot to add pahole as dependency
#asahi-alt · 2024-03-29 17:27
jannegI did not see that chadmed pushed it a version too
#asahi-alt · 2024-03-29 17:26
jannegno, I'm using https://github.com/chadmed/asahi-overlay/pull/72 which is by me
#asahi-alt · 2024-03-29 17:24
jannegjust rebooted into 6.6.0-asahi-16-dist again and works here (M1 Max 14-inch Macbook pro, so except for the SoC identical setup)
#asahi-alt · 2024-03-29 16:55
jannegfirmware handling seems to be ok. there seems to be going something wrong with with the brcfmac firmware itself. unsure what. p16 was working for me
#asahi-alt · 2024-03-29 16:11
jannegprobably missing firmware connected to the vfat error. is there anything in /lib/firmware/vendor ?
#asahi-alt · 2024-03-29 13:16
janneganything in the kernel messages?
#asahi-alt · 2024-03-29 13:12
jannegnot sure then
#asahi-alt · 2024-03-29 13:05
jannegnyaomixyz: is this asahi-kernel with the stock config?
#asahi-alt · 2024-03-29 13:04
jannegno, you need to mount the esp and regenerate the initramfs
#asahi-alt · 2024-03-29 13:04
jannegthe issue is that the vfat kernel module is not available in the initramfs
#asahi-alt · 2024-03-29 13:02
jannegnyaomixyz: the dracut firmware integration misses a vfat dependency + the esp was not mounted when `dracut --hostonly ...` ran
#asahi-alt · 2024-03-29 08:59
jannegsame for mac pro users (if there is more than one)
#asahi-alt · 2024-03-29 08:59
jannegspeaker support on imacs will be different so imho justified to require wireplumber 0.5+
#asahi-alt · 2024-03-29 08:58
jannegchadmed: will be some time before we add devices but since the "new" devices are re-using existing chassis it shouldn't be too hard to backport that

plus ›