#asahi-dev · 2021-12-18 09:36
kettenisbut then nvme in u-boot hangs, presumably because I'm not acking syslog messages#asahi-dev · 2021-12-18 09:35
kettenissven: I can confirm that if I provide memory blocks that are 16K aligned, I do see the final APPLE_RTKIT_MGMT_SET_AP_PWR_STATE message#asahi-dev · 2021-12-17 22:52
ketteniszzz time here; going to take a closer look at this from the OpenBSD side tomorrow#asahi-dev · 2021-12-17 22:34
kettenisI'm fairly confident that I do see a 0xb message for the SMC but don't see one for ANS#asahi-dev · 2021-12-17 22:26
kettenispushed the fix; thanks tpw_rules for spotting that#asahi-dev · 2021-12-17 22:13
kettenissven, yes#asahi-dev · 2021-12-17 22:11
kettenisso maybe those are relevant here...#asahi-dev · 2021-12-17 22:11
kettenisboth the u-boot and the OpenBSD driver still have some magic writes inherited from the corellium driver#asahi-dev · 2021-12-17 22:10
kettenisand I've not seen it log#asahi-dev · 2021-12-17 22:09
kettenisas long as it doesn't log, it should be ok#asahi-dev · 2021-12-17 22:02
kettenisnow how did that ever work?#asahi-dev · 2021-12-17 21:40
kettenisreg = <0x2 0x7bc50000 0x0 0x10000>;#asahi-dev · 2021-12-17 21:39
kettenisand I synced up the device tree with the asahi linux branch just a few days ago#asahi-dev · 2021-12-17 21:38
kettenisboth machines have macOS 11.x firmware though#asahi-dev · 2021-12-17 21:37
kettenisI can access the nvme disk from u-boot and I can use it as the root disk for OpenBSD#asahi-dev · 2021-12-17 21:36
ketteniswell, what can I say, this works for me on two machines#asahi-dev · 2021-12-17 20:26
kettenisso it will be gone after you reboot#asahi-dev · 2021-12-17 20:26
kettenisif you follow the instructions, you download the file to a ramdisk#asahi-dev · 2021-12-17 19:58
kettenisit will fail to boot#asahi-dev · 2021-12-17 19:32
kettenisyes#asahi-dev · 2021-12-17 17:45
kettenisthe nvme node doesn't need a label as far as I can tell#asahi-dev · 2021-12-17 17:39
kettenisthat's what sven has in his tree#asahi-dev · 2021-12-17 13:49
ketteniswhich is why I didn't try to upstream the NVMe stuff yet#asahi-dev · 2021-12-17 13:48
kettenisanyway, I agree, this needs to be fixed#asahi-dev · 2021-12-17 13:47
kettenisnvme doesn't seem to do any logging though (but SMC does)#asahi-dev · 2021-12-17 13:46
kettenisso none of the laptop keyboards do#asahi-dev · 2021-12-17 13:46
kettenistpw_rules: only usb keyboards work in u-boot#asahi-dev · 2021-12-17 13:45
ketteniswhich is not ideal#asahi-dev · 2021-12-17 13:45
kettenisof course it means that the OS has no access to the logs#asahi-dev · 2021-12-17 13:45
kettenisso that part is "safe"#asahi-dev · 2021-12-17 13:45
ketteniscurrently u-boot reserves the memory for the SART buffers in the EFI memory map#asahi-dev · 2021-12-17 13:39
kettenistpw_rules: it leaves the device in a usable state; nvme works fine in OpenBSD this way#asahi-dev · 2021-12-17 13:33
kettenisbut a quick test shows that that doesn't get called#asahi-dev · 2021-12-17 13:27
kettenisI think the nvme driver will need a .remove method#asahi-dev · 2021-12-17 13:25
kettenisnope#asahi-dev · 2021-12-17 11:01
kettenisdoes the nvme/dev branch reflect your latest understanding of the rtkit stuff?#asahi-dev · 2021-12-17 11:00
kettenislooks like u-boot doesn't use the abort command#asahi-dev · 2021-12-17 10:58
kettenismwahaha#asahi-dev · 2021-12-17 10:58
kettenisthen I can shut them down in U-Boot#asahi-dev · 2021-12-17 10:57
kettenissven: I'm probably going to look at adding the code to (re-)start the coprocessors in OpenBSD this weekend#asahi-dev · 2021-12-16 18:45
kettenisjannau: I added a few comments to https://github.com/jannau/linux/commit/fbf88bb759ce071797c394d8ef4deb11cae5f811#asahi-dev · 2021-12-16 12:59
ketteniss/ANIS/ANSI/#asahi-dev · 2021-12-16 12:50
kettenisso it seems that apple no longer uses separate product IDs for the ANIS, ISO and JIS keyboard layouts#asahi-dev · 2021-12-16 11:46
kettenispovik, what keyboard layout is that?#asahi-dev · 2021-12-16 11:11
kettenismy j293 with ISO keyboard layout has "ProductID" = 833#asahi-dev · 2021-12-16 11:04
kettenisso it might make sense to use these in the driver#asahi-dev · 2021-12-16 11:04
kettenis"ProductID" = 641#asahi-dev · 2021-12-16 11:04
kettenis"VendorID" = 1452#asahi-dev · 2021-12-16 11:03
kettenisjannau, the ioreg output that marcan pasted at some point has a VendorID and ProductID for the keyboard/touchpad#asahi-dev · 2021-12-16 10:13
kettenisjannau: I see that one too