#asahi-alt · 2022-10-26 17:28
GlanzmannAnother dmesg after a complete power off and recompiled from scratch usingt the script: https://pbot.rmdir.de/qrV1yIVk80_UpljpRPZicg#asahi-alt · 2022-10-26 17:24
GlanzmannBut I can also wait a little bit longer until it is in the official installation and than try again.#asahi-alt · 2022-10-26 17:23
Glanzmannjannau: If you want you can send me your kernel config and I'll give it a spin. But this time I started fromt he PKGBUILDS/asahi config and only added apple_drm and asahi_drm + plus dependencies.#asahi-alt · 2022-10-26 17:15
GlanzmannI see, I thought about building the kernel with clang. Because I'm using gcc for the kernel and the rust kernel quickstart said gcc is experimental.#asahi-alt · 2022-10-26 17:14
jannaubuild 2nd stage m1n1 with clang? makes no difference. mine is build with gcc#asahi-alt · 2022-10-26 17:13
Glanzmannjannau: I see, maybe I should try to build it with clang than.#asahi-alt · 2022-10-26 17:13
jannauno, should work with 16GB, and the failing address is at the end of 16GB physical ram as expected#asahi-alt · 2022-10-26 17:13
Glanzmannmps, I used https://rustup.rs/ and than I followed the https://www.kernel.org/doc/html/next/rust/quick-start.html to downgrade it to the version the kernel wants.#asahi-alt · 2022-10-26 17:12
jannauGlanzmann: I can't see how 1st stage m1n1 would make a difference, running here with random 1st stage m1n1, probably from the 1st alpha release#asahi-alt · 2022-10-26 17:11
mpsmaybe need to add rust to makedepends#asahi-alt · 2022-10-26 17:10
mpsuh, I see it will not work, probably have to add some things to build env. have to look what#asahi-alt · 2022-10-26 17:07
Glanzmannmps: Let me know, if it works for you.#asahi-alt · 2022-10-26 17:05
mpsthough I don't need gpu for now#asahi-alt · 2022-10-26 17:04
mpshmm, lets try build again then#asahi-alt · 2022-10-26 16:59
Glanzmannjannau: Modeswitching also appears to be working nicely. :-)#asahi-alt · 2022-10-26 16:57
Glanzmannjannau: You did a nice job on dcp. I tested it only on the mini but the resolution is detected and powering off and on the monitor brings back the picture. I worked the whole day with it.#asahi-alt · 2022-10-26 16:54
Glanzmannmps: As j said before. apple_drm is dcp and asahi_drm is the gpu.#asahi-alt · 2022-10-26 16:51
Glanzmannjannau: I have the 16 GB m1n1. IIRC markan has the 8 GB m1n1. Maybe there is a subtle difference.#asahi-alt · 2022-10-26 16:50
Glanzmannjannau: Do you think it makes a difference if I update my first stage m1n1?#asahi-alt · 2022-10-26 16:48
_jannau_Glanzmann: see "memremap attempted on ram 0x0000000bfff74000 size: 0x4000". unfortunately little information why there's a problem with that#asahi-alt · 2022-10-26 16:45
Glanzmanntobhe: I'm not sure if Debian does, but I usually do it like this. At least since it is available. Before that I used something different.#asahi-alt · 2022-10-26 16:43
tobheah ic. Ubuntu doesn't use the upstream bindeb infrastructure and i wasn't sure about Debian#asahi-alt · 2022-10-26 16:42
Glanzmanntobhe: You can use 'make; make modules_install; make install' on Debian if you want to redistribute it, you would use make bindeb-pkg (what I normally do).#asahi-alt · 2022-10-26 16:41
Glanzmanntobhe: I did not create a deb, but I could do that.#asahi-alt · 2022-10-26 16:41
tobhei was assuming debian use their own kernel build infrastructure#asahi-alt · 2022-10-26 16:40
tobhe_jannau_: depends on how you package i guess#asahi-alt · 2022-10-26 16:40
GlanzmannAnd this is how I set up rust: https://www.kernel.org/doc/html/next/rust/quick-start.html#asahi-alt · 2022-10-26 16:40
Glanzmannjannau: I hope that I have it because I use the 'origin/lina/gpu-wip' branch of m1n1. This is how I build it: https://tg.st/u/gpu.sh#asahi-alt · 2022-10-26 16:40
_jannau_no, appledrm is dcp#asahi-alt · 2022-10-26 16:40
_jannau_tobhe: isn't 'make deb-pkg' in the kernel dir enough#asahi-alt · 2022-10-26 16:40
mpsis the appledrm.ko gpu driver#asahi-alt · 2022-10-26 16:39
_jannau_Glanzmann: you need GPU support in m1n1#asahi-alt · 2022-10-26 16:39
mpshmm, interesting, I've built kernel and got appledrm.ko without any change in build env, even didn't knew this module is build#asahi-alt · 2022-10-26 16:37
tobheGlanzmann: did you manage to build a deb or just plain mainline kernel?#asahi-alt · 2022-10-26 16:34
GlanzmannGuess, I'll try it later and revert back for now. Interesting how to set up a rust build environment. But I went the unsuported way with gcc ...#asahi-alt · 2022-10-26 16:34
GlanzmannSo, I was able to compile the rust gpu driver and the kernel boots, but: https://pbot.rmdir.de/tJKXXuiRuLD3HCMczTfOFQ#asahi-alt · 2022-10-26 16:13
GlanzmannAbout the kernel and rust. Is a newer version fine or should I install exactly the version the kernel expects?#asahi-alt · 2022-10-26 11:56
_jannau_ah, sorry. I misread that. yes, that will only be updated by non-existing stub update progress#asahi-alt · 2022-10-26 11:54
leifGlanzmann Thanks#asahi-alt · 2022-10-26 11:54
leifHowever, this only extracts firmware from all_firmware_tar.gz. What I was asking is whether there was a process in place to update the all_firmware_tar.gz file itself. #asahi-alt · 2022-10-26 11:54
leifI get that. I've created a fwextract rpm based off of that https://www.leifliddy.com/asahi-linux/36/aarch64/ that implements the same post_trans script https://github.com/AsahiLinux/PKGBUILDs/blob/main/asahi-fwextract/asahi-fwextract.install #asahi-alt · 2022-10-26 11:50
_jannau_leif: yes, it get's updated. asahi ships asahi-fwextract. used to extract the bluetooth and the usb pcie hcd firmware#asahi-alt · 2022-10-26 11:49
Glanzmannleif: markan planned on creating a stub upgrader if it becomes necessary for example once the gpu code is shipped.#asahi-alt · 2022-10-26 11:49
GlanzmannThat happened before with bluetooth.#asahi-alt · 2022-10-26 11:48
GlanzmannBut there might be later on needed to be extracted additional firmware from all_firmware.tar.gz in order to support previously unsupported hardware.#asahi-alt · 2022-10-26 11:48
Glanzmannleif: Currently not, but there are plans to do so.#asahi-alt · 2022-10-26 11:44
leifThere's something about the firmware that I don't quite understand. After the all_firmware.tar.gz file gets created during the install process -- does ever get updated after that? Just trying to work out whether the firmware extraction piece is just a one-time operation.#asahi-alt · 2022-10-26 11:28
chadmeddone#asahi-alt · 2022-10-26 11:24
_jannau_chadmed: maybe mention it in https://github.com/AsahiLinux/asahi-scripts/pull/9#asahi-alt · 2022-10-26 11:14
leifcool, thanks! I'll let you know.