2023-08-10
01:10kujeger has joined #asahi-alt
03:29cylm_ has joined #asahi-alt
05:24mkurz has joined #asahi-alt
07:52stintel has joined #asahi-alt
08:01stintelnot all of it though, I need patches asahi-wip kernel as the MBA 15 is not supported yet
08:01chadmedbecause i had similar problems with genkernel and kmod not being built with zstd support
08:02nst_ has joined #asahi-alt
08:03stintelI'm already mighty impressed with the performance of this thing but using a browser with nomodeset is quite painful :)
08:11stintelthis 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)
08:13jannaustintel: can you try to the on device kernel via usb/hv. That way you will get the full kernel log as text
08:13stintelso 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?
08:16jannauyou can boot your system via hv if you chainload a m1n1.bin which has parameters appended like
08:18stintelhttps://github.com/AsahiLinux/docs/wiki/m1n1%3AUser-Guide#running-a-linux-kernel-as-a-m1n1-hypervisor-guest-with-virtual-uart ?
08:18jannaucat 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
08:19jannaureplace the 8b03438a-ad0e-c14a-900c-fc7e535882e9 with the PART_UUID of your EFI partition
08:42stintelhaving some trouble getting that to work: https://gist.github.com/stintel/f05523ae2ff7d95fcd12234c34157f93
09:17_jannau__that, or just grab the m1n1 + u-boot + dtb bundle and append just 'chosen.asahi,efi-system-partition=$P{PARTUUID}\n\0\0\0\0'
09:21stintelthat worked. seems it's just the display that locks up: I believe this is where the useful info starts: https://gist.github.com/stintel/bf4dc23519e22a7b9daa014a4e6cfec7#file-gistfile1-txt-L432
09:30_jannau__right. it should be enabled by m1n1 see https://github.com/AsahiLinux/m1n1/blob/8e3016e323dccbbf16aa2d297d4a5e38bb38287d/src/kboot.c#L1406
09:39stintelfrom the serial console? https://gist.github.com/stintel/6e2de803614853c619c75e93018218b0
09:53_jannau__that looks sane. please paste the output of `dtc -I fs -O dts -o - /proc/device-tree | sed -n '/^\t\tdcp@/,/^\t\t};/p'`
14:12psykose has quit [Remote host closed the connection]
14:13psykose has joined #asahi-alt
16:42possiblemeatball has joined #asahi-alt
16:42Guest8429 has quit [Quit: Bridge terminating on SIGTERM]
16:42rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:45Jamie has joined #asahi-alt
16:46Jamie is now known as Guest8521
16:46rhysmdnz has joined #asahi-alt
16:50stipa has quit [Ping timeout: 480 seconds]
16:59stipa has joined #asahi-alt
17:10mkurz has quit [Read error: Connection reset by peer]
17:18billak has joined #asahi-alt
17:36stinteland all the instructions are in my irclogs, so if I hit some problems in the future I know at least a few things to try
17:37possiblemeatball has quit [Quit: Quit]
17:43possiblemeatball has joined #asahi-alt
18:05Cyrinux9474 has quit []
18:07Cyrinux9474 has joined #asahi-alt
18:17possiblemeatball has quit [Quit: Quit]
18:23possiblemeatball has joined #asahi-alt
18:54zumi has quit [Remote host closed the connection]
18:56zumi has joined #asahi-alt
19:31billak has quit [Ping timeout: 480 seconds]
20:08billak has joined #asahi-alt
20:33billak has quit [Quit: Konversation terminated!]
21:33cylm_ has quit [Ping timeout: 480 seconds]
22:35pthariensflame has joined #asahi-alt
23:15Armada has joined #asahi-alt