#asahi · 2022-07-07 19:45
janrinzeso the good news is: yes grub dtb loading works.. but the bad news is that X doesn't work. can boot into a console though.#asahi · 2022-07-07 19:44
janrinzeback..#asahi · 2022-07-07 19:34
janrinzebrb.. rebooting.#asahi · 2022-07-07 19:34
janrinzeyes.. like i say.. older kernel... Duh..#asahi · 2022-07-07 19:32
janrinzej`ey: https://github.com/AsahiLinux/linux/commit/b7e5d06f48ab14966783af0d8db582ffe9395307#asahi · 2022-07-07 19:29
janrinzej`ey: no .. when i installed linux i ran an older kernel..#asahi · 2022-07-07 19:26
janrinzej`ey: it works.. but it does not go beyond 2 GHz..#asahi · 2022-07-07 19:26
janrinze/boot/dtbs/linux-image-5.18.0-asahi-jrp-git-new-dirty/apple/t8103-j274.dtb that's the one for mac mini :-)#asahi · 2022-07-07 19:15
janrinzesteev: that's what i am thinking as well.. so which dtb for the mac mini?#asahi · 2022-07-07 19:13
janrinzej`ey: but u-boot starts grub, not the kernel..#asahi · 2022-07-07 19:09
janrinzeok.. copied the dtbs but grub still says not a regular file.. which i do agree with because it's a directory..#asahi · 2022-07-07 19:04
janrinzesteev: i'll copy the dtbs to the /boot partition.. brb after reboot.#asahi · 2022-07-07 19:01
janrinzeokay.. that was interesting.. grub says the path is not a regular file.. yes.. duh..#asahi · 2022-07-07 18:58
janrinzebrb, will reboot now. (wish me luck ;-) )#asahi · 2022-07-07 18:52
janrinzenow.. where did i leave those dtbs..#asahi · 2022-07-07 18:52
janrinzeindeed#asahi · 2022-07-07 18:51
janrinzesteev: yup.. good idea. btw. most ARM platforms don't use grub. so i have not been fiddling with that for a long time..#asahi · 2022-07-07 18:49
janrinze initrd /boot/initrd.img-5.18.0-asahi-jrp-git-new-dirty#asahi · 2022-07-07 18:49
janrinzebefore or after the ramdisk?#asahi · 2022-07-07 18:49
janrinze echo 'Loading initial ramdisk ...'#asahi · 2022-07-07 18:49
janrinze linux /boot/vmlinuz-5.18.0-asahi-jrp-git-new-dirty root=UUID=581a80f0-19e1-43ba-a82c-fcedd5ea1ca8 ro quiet#asahi · 2022-07-07 18:49
janrinze echo 'Loading Linux 5.18.0-asahi-jrp-git-new-dirty ...'#asahi · 2022-07-07 18:42
janrinzeor how do i add them to UEFI?#asahi · 2022-07-07 18:41
janrinzesteev: so where do i add the device tree in grub?#asahi · 2022-07-07 18:38
janrinzeOn the Nvidia AGX the DTBs are at /boot and it uses extlinux.conf as well#asahi · 2022-07-07 18:30
janrinzewould be nice to have a way of integrating the m1n1 build with the linux kernel build. but it probably will make it harder if the kernel fails to boot and we need to fall back on an older kernel..#asahi · 2022-07-07 18:29
janrinzemps: this means when the DTBs are updated we need to update UEFI/m1n1 too.#asahi · 2022-07-07 18:25
janrinzemps: looks like it's not supported anymore in the kernel.. apparently maintainers were afraid that people would actually use it..#asahi · 2022-07-07 18:16
janrinzemps: cleary my kernel is not using its own DTBs but the ones provided somewhere else indeed. So I probably need to bake them in the kernel..#asahi · 2022-07-07 18:07
janrinzemps: https://github.com/chadmed/linux but can't find linux-asahi-eas#asahi · 2022-07-07 18:01
janrinzemps: where to get that?#asahi · 2022-07-07 17:59
janrinzemps: which DTS holds the frequency?#asahi · 2022-07-07 17:58
janrinzemps: exactly my point about the DTBs..#asahi · 2022-07-07 17:57
janrinzethere is a file for that in /etc .. #asahi · 2022-07-07 17:56
janrinzeis see..#asahi · 2022-07-07 17:56
janrinze/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq is 2265600#asahi · 2022-07-07 17:54
janrinze2188000 if i'm lucky but mostly 1190000.. and that's while i am running the benchmark..#asahi · 2022-07-07 17:49
janrinzehttps://browser.geekbench.com/v5/cpu/compare/14185972?baseline=15880140 for example shows that my system is running much slower than that other asahi linux system...#asahi · 2022-07-07 17:44
janrinzenicolas17: at some point the cpu frequency gets set.. either at m1n1, u-boot or kernel..#asahi · 2022-07-07 17:43
janrinzeno info at /sys/devices/system/cpu/cpu4/cpufreq#asahi · 2022-07-07 17:41
janrinzethe mac mini on OSX does almost 1.65x this score for single score and around 1.42x on multi core score.. So i was thinking that since i have an older kernel it might not run at the full 3.2 GHz. Unfortunately no nodes in /sys that give me a clue on cpu scaling and such.#asahi · 2022-07-07 17:36
janrinzehttps://browser.geekbench.com/v5/cpu/15880140 this can't be right..#asahi · 2022-07-07 17:32
janrinzes/kerenl/kernel/g#asahi · 2022-07-07 17:32
janrinzeWhy i wanted to get a newer kerenl working is because i did some benchmark test (Geekbench 5) and it showed that it only runs at a little over 56% of the speed of OSX.#asahi · 2022-07-07 17:30
janrinzeat least rebooting is faaaast#asahi · 2022-07-07 17:29
janrinzeback.. now on Linux M1DebianSid 5.18.0-asahi-jrp-git-new-dirty #3 SMP Thu Jul 7 18:44:44 CEST 2022 aarch64 GNU/Linux#asahi · 2022-07-07 17:27
janrinzebrb.#asahi · 2022-07-07 17:27
janrinzeElvishJerricco[m]: during kernel config you should be able to set the flag to add the DTBs to the kernel image..#asahi · 2022-07-07 17:25
janrinzelet me reboot for a second and see if the nwely built kernel can find the root partition now.#asahi · 2022-07-07 17:24
janrinzeOkay, I can add the DTBs in the kernel. I'm used to different ARM platforms.