#asahi-dev · 2024-02-13 16:15
j`eyccmp x18, #0, #0xd, pl, does nothing, but encodes to MZ!#asahi-dev · 2024-02-13 16:14
zzywysmj`ey: what were the nature of the source changes?#asahi-dev · 2024-02-13 16:14
mazj`ey: by luck!#asahi-dev · 2024-02-13 16:14
j`eyzzywysm: no sorry just did it locally, I can maybe look at sending you some bits (I dont think it's worth actually doing, was just for fun)#asahi-dev · 2024-02-13 16:13
j`eythe EFI header is also executable arm64 assembly!#asahi-dev · 2024-02-13 16:13
j`eynicolas17: also if by EFI image you mean the kernel file.. that should be fine to boot#asahi-dev · 2024-02-13 16:13
zzywysmj`ey: if you've got a link to those source changes, i'd love to peek#asahi-dev · 2024-02-13 16:12
j`eyI probably went further than you since I also did source changes!#asahi-dev · 2024-02-13 16:12
zzywysmin the future, consider trying this instead: https://github.com/AsahiLinux/docs/wiki/Reference-Asahi-kernel-config#asahi-dev · 2024-02-13 16:12
j`eyzzywysm: not at all, I also spent a long time working on a slim build :P#asahi-dev · 2024-02-13 16:09
zzywysmnicolas17: everyone looks at me weird when i try to slim down kernel configurations for Apple Silicon, but i suppose a 165 minute build must be thrilling for some#asahi-dev · 2024-02-13 05:58
nicolas17okay this is too fragile... I need to figure out how to build my own initramfs from my own built modules#asahi-dev · 2024-02-13 05:09
nicolas17I think I got it, Fedora's EXTRAVERSION and my own didn't match so it couldn't load any modules from the initrd#asahi-dev · 2024-02-13 04:52
nicolas17x86 crossbuild just finished, 165 min XD#asahi-dev · 2024-02-13 04:49
nicolas17okay! I have a serial console via run_guest#asahi-dev · 2024-02-13 04:39
nicolas17ah serial console is only with hv#asahi-dev · 2024-02-13 04:28
nicolas17oh also I get no serial console, USB disconnects as soon as the kernel starts#asahi-dev · 2024-02-13 03:33
nicolas17clones repo and meanwhile watches how his original cross-build is *still going*#asahi-dev · 2024-02-13 03:31
tpw_rules(never used dnf either i don't think)#asahi-dev · 2024-02-13 03:31
tpw_rulesso i'm 95% sure it's the source and what users are actually installing. would be nice to figure out how to query dnf and check#asahi-dev · 2024-02-13 03:29
tpw_rulesbut copr i think is what builds the .rpms and the latest ver there matches the latest tag in that repo#asahi-dev · 2024-02-13 03:28
tpw_rulesidk if you can build it like a normal linux tree, i never tried#asahi-dev · 2024-02-13 03:28
tpw_ruleshttps://copr.fedorainfracloud.org/coprs/g/asahi/kernel/packages/#asahi-dev · 2024-02-13 03:28
tpw_ruleshttps://gitlab.com/fedora-asahi/kernel-asahi/-/tree/fedora-asahi-6.6#asahi-dev · 2024-02-13 03:27
tpw_ruleshold on i figured all that out and wrote it down for myself#asahi-dev · 2024-02-13 03:27
nicolas17where can I find that? I don't know how to fedora :<#asahi-dev · 2024-02-13 03:26
nicolas17in hindsight that's probably not going to have matching versions >_<#asahi-dev · 2024-02-13 03:26
tpw_ruleswhy not just get the same kernel source#asahi-dev · 2024-02-13 03:26
nicolas17so I built my own kernel from the asahi-linux repo... and tried booting it with fedora's initramfs#asahi-dev · 2024-02-13 03:26
nicolas17but the kernel is EFI and I need a plain image#asahi-dev · 2024-02-13 03:26
nicolas17I was just going to use fedora's kernel and initramfs from /boot#asahi-dev · 2024-02-13 03:26
nicolas17...yeahhh I probably have a big version mismatch#asahi-dev · 2024-02-13 03:25
tpw_rulesassuming you built it into there and it's the same version and stuff#asahi-dev · 2024-02-13 03:24
nicolas17wonder if this kernel has nvme as a module... but wouldn't it get the module from the initramfs then?#asahi-dev · 2024-02-13 03:23
tpw_rulesi don't think u-boot has anything to do with that, but maybe it inits the nvme or something and there's a timeout?#asahi-dev · 2024-02-13 03:23
tpw_rulesoh, so maybe there is an issue detecting the disk#asahi-dev · 2024-02-13 03:23
nicolas17so it's not a btrfs issue, it's not even finding the block dev#asahi-dev · 2024-02-13 03:23
nicolas17I tried "rootwait root=UUID=15636f9a-6784-410d-8635-e6c9f9d7adf5 rootflags=subvol=root" (which is almost what the normal boot has) and it says it can't find /dev/disk/by-uuid/156...#asahi-dev · 2024-02-13 03:22
nicolas17my original kernel build on the i5 is still going btw, at this point I'm just curious how long it will take :D#asahi-dev · 2024-02-13 03:22
tpw_rulesare you missing a kernel command line argument? idk how fedora finds the rootfs#asahi-dev · 2024-02-13 03:17
nicolas17maybe *fedora's kernel configuration* doesn't work in this scenario and I should use https://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/config instead#asahi-dev · 2024-02-13 03:16
nicolas17my cheap crappy USB keyboard has a damaged cable (I get "unable to enumerate USB device" on this x86 laptop and this time I couldn't get it to work by wiggling the cable)#asahi-dev · 2024-02-13 03:12
tpw_rulesdoes a USB one?#asahi-dev · 2024-02-13 03:11
nicolas17it drops me into "press enter for maintenance shell" but the keyboard doesn't work either#asahi-dev · 2024-02-13 03:11
nicolas17I got the kernel to boot but it can't find the root filesystem#asahi-dev · 2024-02-13 03:11
tpw_rulescertainly not grub, u-boot doesn't iirc in the apple silicon scenario#asahi-dev · 2024-02-13 03:10
tpw_rulesnot really#asahi-dev · 2024-02-13 03:09
nicolas17hm, in a normal boot, m1n1 starts u-boot which starts grub which starts linux... here m1n1 directly starts linux, how does that work? I thought uboot and grub did extra initialization that was necessary for linux?#asahi-dev · 2024-02-13 02:47
nicolas17it was missing pahole to process debug info or something#asahi-dev · 2024-02-13 02:45
nicolas17oh wait it effing failed