#
#asahi-alt · 2023-08-10 08:59
_jannau__the unknown magic matches "chos"
#asahi-alt · 2023-08-10 08:58
_jannau__can you check why the variables are not detected. see check_var() in src/payload.c
#asahi-alt · 2023-08-10 08:53
stintelthey seem to be there in the m1n1_system.bin - see comment on the last gist
#asahi-alt · 2023-08-10 08:51
_jannau__that seems like appending the variables did not work
#asahi-alt · 2023-08-10 08:49
stintelprobably doing something wrong
#asahi-alt · 2023-08-10 08:49
stintelthat seems to lock up: https://gist.github.com/stintel/39f8ad15c1a2bc2cba9d60deaeaf7618
#asahi-alt · 2023-08-10 08:46
_jannau__missing `-r`in the command line, sorry
#asahi-alt · 2023-08-10 08:42
stintelhaving some trouble getting that to work: https://gist.github.com/stintel/f05523ae2ff7d95fcd12234c34157f93
#asahi-alt · 2023-08-10 08:19
jannaureplace the 8b03438a-ad0e-c14a-900c-fc7e535882e9 with the PART_UUID of your EFI partition
#asahi-alt · 2023-08-10 08:19
stintelok will give that a try
#asahi-alt · 2023-08-10 08:19
jannauand then tools/run_guest.py ../build/m1n1_system.bin
#asahi-alt · 2023-08-10 08:18
jannaucat build/m1n1.bin <(echo -n "chosen.asahi,efi-system-partition=8b03438a-ad0e-c14a-900c-fc7e535882e9\nchainload=8b03438a-ad0e-c14a-900c-fc7e535882e9;m1n1/boot.bin\n\0\0\0\0") > build/m1n1_system.bin
#asahi-alt · 2023-08-10 08:18
stintelhttps://github.com/AsahiLinux/docs/wiki/m1n1%3AUser-Guide#running-a-linux-kernel-as-a-m1n1-hypervisor-guest-with-virtual-uart ?
#asahi-alt · 2023-08-10 08:16
jannauyou can boot your system via hv if you chainload a m1n1.bin which has parameters appended like
#asahi-alt · 2023-08-10 08:14
jannauno
#asahi-alt · 2023-08-10 08:13
stintelso I'm on asahi-wip kernel with mba 15 dts patched in, u-boot asahi-releng + same DTS, and m1n1, I don't need a different m1n1 branch do I?
#asahi-alt · 2023-08-10 08:13
jannaustintel: can you try to the on device kernel via usb/hv. That way you will get the full kernel log as text
#asahi-alt · 2023-08-10 08:11
jannauthe 'sysfs: cannot create duplicate filename ".*iommu.*dcp'
#asahi-alt · 2023-08-10 08:11
stintelthis particular trace was related to order of loading modules, due to only including few modules in the initrd (this was before I added all modules that are in /usr/lib/dracut/modules.d/99asahi-firmware/module-setup.sh in genkernel, and later I switched to dracut)
#asahi-alt · 2023-08-10 08:11
chadmedsaw gentoo and just wanted to rule out any userspace weirdness for myself
#asahi-alt · 2023-08-10 08:11
chadmedsorry for the repitition
#asahi-alt · 2023-08-10 08:11
chadmedohh ok
#asahi-alt · 2023-08-10 08:09
jannausee https://www.linux-ipv6.be/1691543656845.jpg
#asahi-alt · 2023-08-10 08:09
stintelso yeah that's what I'm doing - simpledrm with nomodeset so drm_apple isn't loaded
#asahi-alt · 2023-08-10 08:08
jannauit's not dcp, it seems to be an issue of probing dcp's dart
#asahi-alt · 2023-08-10 08:08
stintelah ok
#asahi-alt · 2023-08-10 08:08
chadmedDRM_APPLE
#asahi-alt · 2023-08-10 08:08
stintelwhat's the config symbol for DCP? not finding DCP
#asahi-alt · 2023-08-10 08:08
chadmedyeah ok
#asahi-alt · 2023-08-10 08:07
jannauyes, it works without dcp, that's basically what nomodeset does
#asahi-alt · 2023-08-10 08:07
chadmedif it works with simpledrm and no nomodeset flag then we know its dcp something
#asahi-alt · 2023-08-10 08:07
chadmedbecause where its freezing looks kinda like where dcp tries to take over the fb
#asahi-alt · 2023-08-10 08:06
j`eyI heard that's worse than simpledrm?
#asahi-alt · 2023-08-10 08:06
j`eyI dont think you want dcp without GPU
#asahi-alt · 2023-08-10 08:06
chadmedhm ok, did you try with simpledrm and no dcp driver
#asahi-alt · 2023-08-10 08:04
stintelit freezes even without RUST enabled in the kernel at all
#asahi-alt · 2023-08-10 08:03
chadmedno freaky KRUSTFLAGS or KCFLAGS?
#asahi-alt · 2023-08-10 08:03
stintelI'm already mighty impressed with the performance of this thing but using a browser with nomodeset is quite painful :)
#asahi-alt · 2023-08-10 08:02
stintelyeah
#asahi-alt · 2023-08-10 08:02
chadmedand the .config youre using is the one from the arch pkgbuild?
#asahi-alt · 2023-08-10 08:02
stintels/patches/patched/
#asahi-alt · 2023-08-10 08:01
chadmedbecause i had similar problems with genkernel and kmod not being built with zstd support
#asahi-alt · 2023-08-10 08:01
stintelnot all of it though, I need patches asahi-wip kernel as the MBA 15 is not supported yet
#asahi-alt · 2023-08-10 08:01
chadmedthats interesting
#asahi-alt · 2023-08-10 08:01
chadmedoh nvm sorry just saw that you already tried with dracut
#asahi-alt · 2023-08-10 08:01
stintelyes
#asahi-alt · 2023-08-10 07:59
chadmedstintel: are you using the overlay/gentoosupport stuff?
#asahi-alt · 2023-08-09 12:40
j`ey(I always have to search for a bit to find it again)
#asahi-alt · 2023-08-09 12:40
j`eythere's a page that shows the actual .spec stuff, but it seems hard to find
#asahi-alt · 2023-08-09 12:38
tobhethx!

plus ›