#asahi-dev · 2023-04-17 10:20
marcanok, I'm tired of waiting for the PSCI conversation to happen / to find time to start it. I'm going to write a dumb cpuidle driver and we can run on that downstream until it does.#asahi-dev · 2023-04-17 08:46
marcanpretty sure it's not a regression on our side so I won't block the next SoC pull on it, but would be nice to know what's up#asahi-dev · 2023-04-17 08:39
marcanrobher: I'm running the DT checker on our SoC DT tree after updating dtschema and it's complaining about OPPs and cpu-release-addr, but as far as I can tell they are correct. known issue?#asahi-dev · 2023-04-17 08:31
kaazooOK, I agree with your concerns. #asahi-dev · 2023-04-17 08:12
jannauit's a waste of time to try to make the on device boot process work while the bringup is not complete#asahi-dev · 2023-04-17 08:11
jannaubut it doesn't make sense to try to make a old distro image work with t602x piece by piece#asahi-dev · 2023-04-17 08:10
jannauit doesn't make a big difference whether one starts with a supported device or a t602x device with https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29#booting-a-kernel-under-the-hypervisor#asahi-dev · 2023-04-17 08:05
marcanyou're welcome to help development out, but please learn how to get a development setup going with a *supported* machine first where stuff will actually work as intended#asahi-dev · 2023-04-17 08:03
marcanspending time walking people through testing unreleased code is not productive when we could be fixing those things instead#asahi-dev · 2023-04-17 08:02
marcanwe know what works and what's broken#asahi-dev · 2023-04-17 08:02
marcanwhat feedback do you plan to give?#asahi-dev · 2023-04-17 08:01
kaazooI'm trying to boot as far as possible with the current state of t602x related changes and give feedback. I will also try to help if I can, but I want to understand the current state and open problems first.#asahi-dev · 2023-04-17 07:57
marcanare you planning to help with t602x bringup?#asahi-dev · 2023-04-17 07:57
marcanwhat are you trying to do exactly?#asahi-dev · 2023-04-17 07:56
kaazooah, I found https://stackoverflow.com/questions/21670967/how-to-compile-dts-linux-device-tree-source-files-to-dtb#asahi-dev · 2023-04-17 07:56
marcanthat and I don't think u-boot has the bits to make the keyboard work there yet either#asahi-dev · 2023-04-17 07:55
marcanjust the devicetrees won't get you anywhere#asahi-dev · 2023-04-17 07:55
marcanthe devicetree is the first thing that gets compiled, but you need the new kernel anyway#asahi-dev · 2023-04-17 07:51
kaazooWhat's the best way to compile the dtb files? I cloned the asahi linux repo and checked out t602x/bringup branch. Took kernel config from https://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/config and compiling the kernel now. Just takes a while, so I wonder if there is an easier way if one just wants to use newer devicetree files.#asahi-dev · 2023-04-17 07:47
kaazooSorry, typo. I meant 14"#asahi-dev · 2023-04-17 07:47
marcan*14"#asahi-dev · 2023-04-17 07:47
marcanI assume you mean 24"#asahi-dev · 2023-04-17 07:46
marcankaazoo: there is no 13" M2 Pro#asahi-dev · 2023-04-16 21:06
jannauonce you booted you can start replacing the missing bits#asahi-dev · 2023-04-16 21:05
jannaudo to the missing devicetree m1n1 will be in proxy mode and you can boot a kernel via usb: https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29#asahi-dev · 2023-04-16 21:04
jannauthat will you get you only marginally farther. you will have also to update u-boot and the kernel#asahi-dev · 2023-04-16 21:00
kaazooI guess I need to tell m1n1 to bake in https://github.com/AsahiLinux/linux/blob/t602x/bringup/arch/arm64/boot/dts/apple/t6020-j414s.dts somehow.#asahi-dev · 2023-04-16 20:51
kaazooHi, I'm trying out asahi-installer current main branch directly via test.sh on 13" M2 Pro. I switched the m1n1 Git submodule to point to t602x/bringup branch before, in order to have the latest changes. Basic installation seems to have worked, but m1n1 doesn't have required devicetree: "ERROR: Kernel found but no devicetree for apple,j414s available" during boot.#asahi-dev · 2023-04-16 16:48
jannauerr, oslog is probably not the problem. there are two EPIC errors. I ignored them since at least one happens with 13.2 as well#asahi-dev · 2023-04-16 16:38
marcanthe dva is >> 12 in the message#asahi-dev · 2023-04-16 16:37
marcanneeds the left shift#asahi-dev · 2023-04-16 16:37
jannaurtkit(dcp): pre-allocated buffer (ep 0x8, dva 0xff8000f0025f, phys 0xbe5bd825f)#asahi-dev · 2023-04-16 16:36
jannauthat's a dva so we have to lookup what's mapped there#asahi-dev · 2023-04-16 16:35
ketteniswhich doesn't make sense as a memory address either#asahi-dev · 2023-04-16 16:34
kettenisbut 0xf0025f << 12 = 0x25f000#asahi-dev · 2023-04-16 16:29
marcanI wonder what that 0xff8 thing is about though...#asahi-dev · 2023-04-16 16:29
marcanOK, so that's what the old logic was for, pre-assigned addresses. so we need to check for dva != 0 and reintroduce the old code.#asahi-dev · 2023-04-16 16:24
jannauno, j274#asahi-dev · 2023-04-16 16:22
svenbah.. so either the fuses need to be re-applied for thunderbolt mode or I just re-introduced that old bug where the first plug event doesn't work *sigh*#asahi-dev · 2023-04-16 16:16
kettenis(t8112)#asahi-dev · 2023-04-16 16:16
kettenisthis is on m2?#asahi-dev · 2023-04-16 16:15
kettenisso it is sending a message with a pre-assigned address?#asahi-dev · 2023-04-16 16:05
jannaustage 1 m1n1 is broken with 13.3.1: "rtkit(dcp): unknown oslog message 103ff8000f0025f"#asahi-dev · 2023-04-16 15:26
marcanyeah, that would make sense#asahi-dev · 2023-04-16 15:17
povikyeah, maybe that pmdown_time i mentioned is what causes mute to happen later#asahi-dev · 2023-04-16 15:16
marcanbut on the other hand, I sure would expect a mute to happen before that anyway#asahi-dev · 2023-04-16 15:15
marcanpovik: cs43130.c has a hw_free callback that switches to internal clock, so maybe that's the right way#asahi-dev · 2023-04-16 15:06
kettenisI don't see any oslog messages on my machines (all with 13.2 or even older firmware)#asahi-dev · 2023-04-16 15:03
poviki will look at this more later#asahi-dev · 2023-04-16 15:03
povikmute can happen after hw_free so it's broken