#asahi-alt · 2022-10-28 06:54
jannauif you have more than one you have to note the ESP part uuid of the broken and append "chosen.asahi,efi-system-partition=$PARTUUID\n\0\0\0\0"#asahi-alt · 2022-10-28 06:54
millenialhackerI use same as 5.19 but enable Apple DRM / DCP thing#asahi-alt · 2022-10-28 06:53
chadmedwhat kernel config did you use#asahi-alt · 2022-10-28 06:52
chadmedok so that rules out what i _thought_ caused this problem#asahi-alt · 2022-10-28 06:52
millenialhackerGCC#asahi-alt · 2022-10-28 06:52
chadmeddid you use gcc or clang to rebuild @installed? #asahi-alt · 2022-10-28 06:50
jannauworks only if you just a single linux installation#asahi-alt · 2022-10-28 06:50
chadmedi experienced the same thing a few times when sorting out install.sh, i cant remember how exactly i stopped it happening but install.sh gives you a rootfs that is guaranteed to work#asahi-alt · 2022-10-28 06:49
jannauyou will have to boot from u-boot with `run distro_bootcmd`#asahi-alt · 2022-10-28 06:48
jannauyes, easiest would be to copy the m1n1/boot.bin from the ESP and load that with `tools/chainload.py -r ../build/m1n1.bin && tools/run_guest.py -r boot.bin`#asahi-alt · 2022-10-28 06:47
millenialhackerIs there any way to disable dcp from kernel cmdline?#asahi-alt · 2022-10-28 06:44
jannauthat's probably the watchdog programmed by u-boot, so either a kernel panic or if the watchdog was build as module failure to load the module#asahi-alt · 2022-10-28 06:43
millenialhackerCan I enable a serial console over usb cable like we do m1n1?#asahi-alt · 2022-10-28 06:43
millenialhackerSo I think it's a kernel panic.#asahi-alt · 2022-10-28 06:43
millenialhackerFYI black screen then reboot after one minute or so#asahi-alt · 2022-10-28 06:42
millenialhackerinit param didn't work either#asahi-alt · 2022-10-28 06:41
jannauunsure about that#asahi-alt · 2022-10-28 06:40
millenialhackerShould I add root=/dev/ram or something?#asahi-alt · 2022-10-28 06:40
millenialhackerLet me try that, I tried so far rd.break rd.shell and rd.debug without any luck#asahi-alt · 2022-10-28 06:39
jannaucan you try appending "init=/bin/sh" to the kernel cmdline#asahi-alt · 2022-10-28 06:39
millenialhackerYes, I remember build kernel successfully and boot into it a couple of times before doing the system rebuild.#asahi-alt · 2022-10-28 06:39
jannaudo you remember the more details about the 6.1-rc kernel? old kernels might have a a problem with the updated dtb from the latest but it sounds weird that it shows the exact same behavior#asahi-alt · 2022-10-28 06:39
millenialhackerI have Ventura btw.#asahi-alt · 2022-10-28 06:36
millenialhackerI have three kernel, 6.1 dcp enabled. Fallback kernels (5.19 & 5.17) don't have dcp (it was not ready), three exhibits same behavior#asahi-alt · 2022-10-28 06:35
jannauwhich kernel version? is dcp enabled and as modules in the initrd?#asahi-alt · 2022-10-28 06:34
millenialhackerI wonder if I can redirect boot log to file from grub#asahi-alt · 2022-10-28 06:33
millenialhackerI see loading initial ram disk then black screen.#asahi-alt · 2022-10-28 06:32
millenialhackerjannau: any way I can validate initram gets loaded?#asahi-alt · 2022-10-28 06:32
millenialhackerI guess so, let me try something#asahi-alt · 2022-10-28 06:31
millenialhackerMoving here...#asahi-alt · 2022-10-27 12:06
sneakoops#asahi-alt · 2022-10-27 12:06
sneaksahi-stream#asahi-alt · 2022-10-27 09:03
ashiI would join you and test, but I guess it is futile on an Air M2#asahi-alt · 2022-10-27 09:02
ashi_jannau_: You mean, the gpu driver is intependent from whether we use DRM_SIMPLEDRM oder DRM_APPLE and should work with both?#asahi-alt · 2022-10-27 08:55
r0niis there any new modules that need to be in the initrd with these 6.1 kernels vs the 5.19 one?#asahi-alt · 2022-10-27 07:45
Glanzmannjannau: I have not yet tried the m1 air. I can try that later and report back.#asahi-alt · 2022-10-27 07:45
GlanzmannCONFIG_FB_EFI was already disabled. CONFIG_DRM_SIMPLEDRM=y but I think dcp does take over correctly because powersaving and setting new mode does work. :-)#asahi-alt · 2022-10-27 07:44
_jannau_that wouldn't explain problems with the GPU (agx)#asahi-alt · 2022-10-27 07:43
GlanzmannProbably not, let me check.#asahi-alt · 2022-10-27 07:41
ashiGlanzmann: Did you disable CONFIG_FB_EFI? Also maybe CONFIG_DRM_APPLE instead of CONFIG_DRM_SIMPLEDRM?#asahi-alt · 2022-10-27 07:19
GlanzmannI also throught that I have the wrong stub version, but I checked it, I have 12.3.#asahi-alt · 2022-10-27 07:19
Glanzmannjannau: Only, if it is not to much trouble, can you pack up your 'gpu kernel' as a tar ball (/lib/modules/* and /boot/vmlinuz*) and load it somewhere than I would try to run it on my mini and see if it works/gives me a different message during boot.#asahi-alt · 2022-10-27 07:17
GlanzmannYes, probably. I was asking a few times but at that point it was not ready. Anyway, nice work.#asahi-alt · 2022-10-27 07:15
_jannau_Glanzmann: you mean DPMS / screen blanking? since a while but I guess nobody used it besides me#asahi-alt · 2022-10-27 04:44
chadmedyep dcp is life saving, im working untethered today and the battery life is quite good#asahi-alt · 2022-10-27 03:53
Glanzmannjannau: I recompiled with clang/llvm -14 still same issue with the gpu, will try again later: https://pbot.rmdir.de/zj2Qurc_qipixAKUMeTrBA#asahi-alt · 2022-10-27 03:51
Glanzmannjannau: WOw since when does dcp has power saving? I just noticed.#asahi-alt · 2022-10-27 02:59
Glanzmannjannau: gcc + rustc.#asahi-alt · 2022-10-26 17:47
jannauor gcc + rustc? wasn't aware that that was working either#asahi-alt · 2022-10-26 17:46
jannauGlanzmann: oh, I wasn't aware that the kernel even builds with gccrs