#asahi-alt · 2023-09-02 20:13
jannauzerdox: if your kernel is compatible with mesa-pre20230812, it won't be compatible with current mesa#asahi-alt · 2023-09-02 05:53
jannauit might be enough to use an asahi kernel and an "overlay" initrd for kernel modules and firmware#asahi-alt · 2023-09-02 05:49
jannaumaybe we should look now into how hard it is to repack or rebuild the livecd?#asahi-alt · 2023-08-28 21:54
jannausure, it's helpful/useful but it's almost impossible to find there#asahi-alt · 2023-08-28 21:44
jannauthat not really docs but a random issue reported against the docs repo for whatever reason#asahi-alt · 2023-08-28 21:43
jannauu-boot has a working ls if kernel/initrd do not have generic names#asahi-alt · 2023-08-28 21:42
jannauhttps://github.com/AsahiLinux/docs/issues/37#issuecomment-1229406384 has instructions to boot a standard asahi alarm install via u-boot#asahi-alt · 2023-08-28 21:41
jannauno need to copy anything. u-boot can read ext4#asahi-alt · 2023-08-22 07:13
jannaubut I wouldn't rule out a dtb mismatch on top of that#asahi-alt · 2023-08-22 07:12
jannauI think an old 2nd stage m1n1, that's a property m1n1 adds#asahi-alt · 2023-08-22 06:42
jannauwhich kernel version/tag is this? pan you paste the output of `dmesg | grep apple-dcp` or `journalctl -k | grep apple-dcp`#asahi-alt · 2023-08-22 06:37
jannauyou want CONFIG_DRM_APPLE#asahi-alt · 2023-08-22 06:37
jannauEnzime: no. we do not want to use BACKLIGHT_GPIO. That was (is) a shortgap solution for systems without display controller driver#asahi-alt · 2023-08-21 21:22
jannaubacklight on on suspend is probably missing suspend support in the driver#asahi-alt · 2023-08-21 21:06
jannauI guess explicit Xorg config ignoring the device is the option for systems without seat management#asahi-alt · 2023-08-21 12:09
jannauerr, 0.5.7#asahi-alt · 2023-08-21 12:07
jannauhttps://github.com/AsahiLinux/PKGBUILDs/tree/main/asahi-fwextract#asahi-alt · 2023-08-21 12:07
jannauI see we haven't bumped asahi-fwextract yet, but asahi-fwextract 0.57 or later will prepare the touchbar firmware#asahi-alt · 2023-08-21 12:04
jannauthis has nothing to do with the on device macos install#asahi-alt · 2023-08-21 12:00
jannauor you could do a fresh uefi-only install#asahi-alt · 2023-08-21 11:57
jannauif your install is new enough it should be included in ${ESP}/asahi/all_firmware.tar.gz and a recent asahi-fwextract should extract it#asahi-alt · 2023-08-21 08:50
jannauyou probably want https://github.com/WhatAmISupposedToPutHere/tiny-dfr/commit/cc50c3314c0ce748b1f9d3c22667f165b15e7b12 as patch and install 99-touchbar-backlight.rules#asahi-alt · 2023-08-21 08:45
jannauhttps://github.com/AsahiLinux/PKGBUILDs/pull/37#asahi-alt · 2023-08-19 20:23
jannauyes, temporary for resolving the dtb / kernel version mismatch#asahi-alt · 2023-08-19 20:17
jannauthat option tells the driver not to load#asahi-alt · 2023-08-19 20:17
jannauno, it should work then#asahi-alt · 2023-08-19 20:16
jannauit was very slow though#asahi-alt · 2023-08-19 20:15
jannauzerdox: first link worked for me. please remove the "nomodeset" from the kernel command line#asahi-alt · 2023-08-17 11:54
jannauno, you patch the kernel source, `make dtbs` in the kernel repo, run update-m1n1 and reboot#asahi-alt · 2023-08-17 11:53
jannauload modules with `modprobe apple_dcp && modprobe appledrm`#asahi-alt · 2023-08-17 11:52
jannauzerdox: that looks ok. https://github.com/jannau/linux/commit/764871947e2aa817666f4ef819d740199e5db99e might fix things but I'd expect different symptoms if that was the cause#asahi-alt · 2023-08-17 11:42
jannauzerdox_: can copy the output of `dtc -I fs -O dts -o - /proc/device-tree | sed -n '/^\t\tdcp@/,/^\t\t};/p'` to a pastebin#asahi-alt · 2023-08-17 11:40
jannausomething is wrong then. can you try to load the modules? I don't think that will do anything. I suspect there is still a dtb issue#asahi-alt · 2023-08-17 11:31
jannauzerdox: I want the output of 'dmesg | grep dcp | head -n10' the first line is only to check no messages have been dropped. it is a fixed size buffer#asahi-alt · 2023-08-17 11:22
jannauuse dmesg after booting then. the first line should have "reserved mem"#asahi-alt · 2023-08-17 11:19
jannauis it used? `journalctl -k | grep dcp | head -n10`#asahi-alt · 2023-08-17 11:16
jannauzerdox: it shouldn't search for simpledrm_dri.so. do you have CONFIG_DRM_APPLE in your kernel?#asahi-alt · 2023-08-16 19:05
jannauthe video driver is in mesa in the overlay. needs video_cards_asahi as use flag and DRM_ASAHI / RUST in the built kernel#asahi-alt · 2023-08-16 18:44
jannauzerdox: you have to compile the kernel yourself like you would have to with gentoo-sources#asahi-alt · 2023-08-16 17:51
jannauuname gives you the actual booted kernel. eselect and /usr/src/linux is the current installed kernel source#asahi-alt · 2023-08-16 17:06
jannauor mount_msdos#asahi-alt · 2023-08-16 17:06
jannaubooting into macos or recovery and mount the partition with mount_msdofs#asahi-alt · 2023-08-16 17:04
jannauyou need to add "nomodeset" to the kernel cmdline for booting an asahi-6.4 based kernel#asahi-alt · 2023-08-16 17:03
jannauzerdox: if you replace m1n1/boot.bin on your efi with the one from http://cdn.asahilinux.org/os/uefi-only-20230606-1.zip you should be able to boot#asahi-alt · 2023-08-14 19:16
jannauzerdox: update-m1n1 expect that the /usr/src/linux symlink points to the kernel you want to boot and that it is compiled in /usr/src/linux-...#asahi-alt · 2023-08-11 05:18
jannauerr#asahi-alt · 2023-08-11 05:18
jannauthen append the ESP part uuid to the copied boot.bin: `cat boot.bin <(echo -ne 'chosen.asahi,efi-system-partition=${PARTUUID}\n\0\0\0\0') > boot_esp.bin`#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
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