#
✕ nick:stintel
#asahi-alt · 2023-08-10 10:29
stintelahh I think I see what's going on. the t8112.dtsi in u-boot is outdated
#asahi-alt · 2023-08-10 10:27
stintelcould this be because of the m1n1 installed by the installer?
#asahi-alt · 2023-08-10 10:27
stintelinteresting, there the dcp does not have the piodma node
#asahi-alt · 2023-08-10 10:26
stintelhttps://gist.github.com/stintel/6e19e5ad9ebdfb69094a1a1b1f92b928
#asahi-alt · 2023-08-10 09:52
stintelso it actually is enabled
#asahi-alt · 2023-08-10 09:52
stintelokay
#asahi-alt · 2023-08-10 09:52
stintel/sys/firmware/devicetree/base/soc/iommu@231304000 # cat status
#asahi-alt · 2023-08-10 09:39
stintelfrom the serial console? https://gist.github.com/stintel/6e2de803614853c619c75e93018218b0
#asahi-alt · 2023-08-10 09:36
stintel_jannau__: this? https://gist.github.com/stintel/c7b115307bb6629151a099be6cf06a1d
#asahi-alt · 2023-08-10 09:27
stintel_jannau__: it is disabled in t8112.dtsi and never enabled afaict
#asahi-alt · 2023-08-10 09:25
stintelis this because disp0_dart is status disabled ?
#asahi-alt · 2023-08-10 09:21
stintelthat 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
#asahi-alt · 2023-08-10 09:17
stintelalright
#asahi-alt · 2023-08-10 09:15
stintelso it finds both variables but then: Chainloading files not supported in this build!
#asahi-alt · 2023-08-10 09:15
stintelhttps://gist.github.com/stintel/2a14c29e180136a25e2fc1f9648110a9
#asahi-alt · 2023-08-10 09:13
stintelhmm wait
#asahi-alt · 2023-08-10 09:07
stintelhmm now if (!val) evaluates to true
#asahi-alt · 2023-08-10 09:02
stintels/matches/evaluates to true/
#asahi-alt · 2023-08-10 09:02
stintelif (!end) matches
#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: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:42
stintelhaving some trouble getting that to work: https://gist.github.com/stintel/f05523ae2ff7d95fcd12234c34157f93
#asahi-alt · 2023-08-10 08:19
stintelok will give that a try
#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: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: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: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
stintelah ok
#asahi-alt · 2023-08-10 08:08
stintelwhat's the config symbol for DCP? not finding DCP
#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
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
stintels/patches/patched/
#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
stintelyes