#
#asahi · 2022-10-28 17:25
bcrumbthanks a lot for that m1n1 reminder
#asahi · 2022-10-28 17:25
bcrumbmps: back in again:)
#asahi · 2022-10-28 17:05
bcrumbsorry, i need to set up my distro and make stuff happen now :)
#asahi · 2022-10-28 17:05
mpsbcrumb: we can talk about different distros on #asahi-alt if you are interested
#asahi · 2022-10-28 17:04
bcrumbi literally do not know what alpine benefits instead of arch are or if it is even same layer, as such it doesn't make sense for me
#asahi · 2022-10-28 17:03
mpsbut yes, this is OT here
#asahi · 2022-10-28 17:03
mpsbcrumb: alpine was the first distro with asahi kernel used
#asahi · 2022-10-28 17:02
bcrumbneed to stop at some point lol
#asahi · 2022-10-28 17:02
mps:)
#asahi · 2022-10-28 17:02
bcrumbgoing more into niche is masochism for me right now
#asahi · 2022-10-28 17:01
mpsbcrumb: but fyi alpine (musl) works fine on apple silicon
#asahi · 2022-10-28 17:01
bcrumbmps: right actually since there is those patches it might be actually possible to also build with musl which _should_ run faster on aarch afai am told ... but only when i finally make system backups
#asahi · 2022-10-28 17:01
mpsexcept*
#asahi · 2022-10-28 17:00
mpsbcrumb: yes, systemd will not work with musl, expcept if you add a pile of patches
#asahi · 2022-10-28 17:00
ChaosPrincessif you look back in history, there is an earlier version that is against 'stable' asahi
#asahi · 2022-10-28 17:00
bcrumbbecause systemd depends on glibc which doesn't conform to standards
#asahi · 2022-10-28 17:00
bcrumbkernel everything using glibc you can't do anything musl with systemd i believe
#asahi · 2022-10-28 16:59
ChaosPrincessartemis: that patch is against asahi-dev, branch not asahi
#asahi · 2022-10-28 16:59
mpsah, ok
#asahi · 2022-10-28 16:59
bcrumbmps: not kernel build, just set up the cross compiler toolchain
#asahi · 2022-10-28 16:59
mpsbcrumb: you are one who trying musl?
#asahi · 2022-10-28 16:57
bcrumbright, lemme try that
#asahi · 2022-10-28 16:56
mpsfor newest kernel you need new m1n1, 1.1.7 I think
#asahi · 2022-10-28 16:56
bcrumbi have backups in place so i can do maintenance now like this
#asahi · 2022-10-28 16:56
bcrumbyeah i always rebuild my m1n1 completely since i boot directly from stage 2
#asahi · 2022-10-28 16:55
mpsbcrumb: did you upgraded dtbs in second stage m1n1
#asahi · 2022-10-28 16:54
bcrumbi will check if i can see boot logs without dmesg
#asahi · 2022-10-28 16:54
bcrumbalso yeah i am using sd-encrypt hook
#asahi · 2022-10-28 16:52
bcrumbtried building 6.1 asahi (apparmor enabled, from latest commit) it's booting to a black screen (earlycon and debug don't show up at all) - also package had at least a config fila sha256 / b2 mismatch but i don't think this is the issue
#asahi · 2022-10-28 16:15
mpsoh, it updated yesterday, I have to 'upgrade' it in my kernel
#asahi · 2022-10-28 16:14
artemismps: ok no problem
#asahi · 2022-10-28 16:14
mpssorry, PWM_APPLE is config option
#asahi · 2022-10-28 16:13
artemismps: ok thanks you! I'll try
#asahi · 2022-10-28 16:12
mpsartemis: download it and patch kernel source, select apple_pwm in config and build kernel
#asahi · 2022-10-28 16:12
artemisso I dunno what do to know
#asahi · 2022-10-28 16:12
artemisI also checked in the boot folder /boot and I also don't find these files here
#asahi · 2022-10-28 16:11
artemisI'm 16 and not into linux kernel development please don't be rude
#asahi · 2022-10-28 16:10
artemisbut when I run "ls /lib/modules/5.19.0-asahi-5-1-ARCH/build/arch/arm64/" there is no /boot file that I can modify
#asahi · 2022-10-28 16:09
artemishttps://tpaste.us/0WyK here is the patch I'm trying to apply on my system
#asahi · 2022-10-28 16:08
artemisbut I don't manage to find these files, even after downloading the asahi-linux-headers
#asahi · 2022-10-28 16:07
artemisI think its because I didn't add the diff in all the arch/arm64/boot/dts/apple/*.dtsi
#asahi · 2022-10-28 16:04
artemispwm/pwm-apple.c:94:13: warning: assignment to ‘struct clk *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
#asahi · 2022-10-28 16:04
artemisand there is also a warning:
#asahi · 2022-10-28 16:04
artemispwm/pwm-apple.c:94:15: error: implicit declaration of function ‘devm_clk_get_enabled’ [-Werror=implicit-function-declaration]
#asahi · 2022-10-28 16:04
artemisHere is the error:
#asahi · 2022-10-28 16:04
artemisbut it does not work unfortunately
#asahi · 2022-10-28 16:04
artemisand then I tried to compiled it with "make -C /lib/modules/$(uname -r)/build/ M=/home/alarm/dev/pwm modules"
#asahi · 2022-10-28 16:03
artemisI downloaded the pwm folder
#asahi · 2022-10-28 16:03
artemisI use this https://github.com/AsahiLinux/linux/pull/57/files#
#asahi · 2022-10-28 16:02
artemisI am tryin to compile pwm drivers to make my keyboard backligth work

plus ›