#asahi-dev · 2021-12-20 10:21
kettenissven: yup ;)#asahi-dev · 2021-12-20 10:20
ketteniswell, on the 4K pagesize front they probably are#asahi-dev · 2021-12-20 10:18
kettenismonocultures are bad for software#asahi-dev · 2021-12-20 10:10
kettenisso there must be a new firmware call to pass the longer passphrase?#asahi-dev · 2021-12-20 10:10
kettenisthis is all handled by the firmware isn't it?#asahi-dev · 2021-12-20 09:15
kettenistpw_rules: those patches facilitate exactly what I don't want to do in u-boot: letting u-boot somehow load a DTB that didn't come from m1n1#asahi-dev · 2021-12-19 20:14
kettenisI doubt the keyboard backlight is done that way#asahi-dev · 2021-12-19 20:14
kettenisright, keyboard LEDs are just a HID output report#asahi-dev · 2021-12-19 18:59
kettenisconclusion: the core isn't reset fully#asahi-dev · 2021-12-19 18:54
kettenistpw_rules: the commit I just pushed should fix that issue#asahi-dev · 2021-12-19 18:47
kettenisshame that a eparate android driver even exists#asahi-dev · 2021-12-19 18:39
ketteniss/diff/commit/#asahi-dev · 2021-12-19 18:39
kettenismarcan: ah, wait, looks like I screwed something up when cleaning up that diff#asahi-dev · 2021-12-19 18:21
kettenisI'll see if I can make a bit more sense of that#asahi-dev · 2021-12-19 18:07
kettenisso you figured out where it comes from?#asahi-dev · 2021-12-19 17:54
kettenisunless the reset that's done is only partial#asahi-dev · 2021-12-19 17:54
kettenishard to see how that's a problem with u-boot#asahi-dev · 2021-12-19 16:44
kettenistests welcome...#asahi-dev · 2021-12-19 16:44
kettenispushed a u-boot that resets nvme#asahi-dev · 2021-12-19 16:44
kettenisespecially in a form that risks lingering on (like a blog)#asahi-dev · 2021-12-19 16:43
kettenistpw_rules: I would avoid documenting things that get out of date fast#asahi-dev · 2021-12-19 15:45
kettenisI'll see if I missed some things#asahi-dev · 2021-12-19 15:18
kettenisthat simplifies the u-boot code considerably#asahi-dev · 2021-12-19 15:18
kettenisso it seems I can get away with not starting syslog and feeding crashlog and ioreport 0 as the address when they ask for a buffer#asahi-dev · 2021-12-19 15:16
kettenisthat shuld make linux happy as well#asahi-dev · 2021-12-19 15:16
kettenisso I can do a shutdown + reset in u-boot and than reinitialize in openbsd#asahi-dev · 2021-12-19 15:13
kettenissven: that worked#asahi-dev · 2021-12-19 15:01
kettenisare the flushes slow as well under macOS?#asahi-dev · 2021-12-19 14:40
kettenisis that essentially the android driver?#asahi-dev · 2021-12-19 14:28
kettenisok, need to implement the reset functionality in u-boot then#asahi-dev · 2021-12-19 14:27
kettenisso the steps are: 1. shutdown rtkit, 2. clear coproc run bit, 3. assert reset#asahi-dev · 2021-12-19 14:26
kettenissven: the code in apple_nvme_reset_work() works to reset the thing?#asahi-dev · 2021-12-19 12:53
kettenisstill needs a bit of work to get it in a committable stage though#asahi-dev · 2021-12-19 12:53
kettenisok, got OpenBSD to start the NVMe firmware#asahi-dev · 2021-12-18 20:17
kettenisI suppose using gpiola to decode the transfers is a bit too involved...#asahi-dev · 2021-12-18 18:36
kettenisI need to add the code to start things back up to OpenBSD first#asahi-dev · 2021-12-18 18:36
kettenisright#asahi-dev · 2021-12-18 18:16
kettenisincluding the hack to not start the syslog endpoint#asahi-dev · 2021-12-18 18:16
kettenisfwiw, i pushed some fixes to the u-boot branch#asahi-dev · 2021-12-18 17:33
kettenisthat is what happens if I don't enable syslog#asahi-dev · 2021-12-18 17:32
kettenishttps://gist.github.com/kettenis/b0a5f5e6a6d5957a2bc93ea5707e4603#asahi-dev · 2021-12-18 17:22
kettenisnot sure if that is when the admin queue is set up#asahi-dev · 2021-12-18 17:22
kettenisthe messages start appearing when I start initializing the nvme stuff#asahi-dev · 2021-12-18 17:21
kettenisI see the syslog messages if I start the endpoint now#asahi-dev · 2021-12-18 17:17
kettenisbut on the macbook pro (which boots from nvme) OpenBSD hangs#asahi-dev · 2021-12-18 17:16
kettenisand afterwards I can use nvme on the mini which boots from usb#asahi-dev · 2021-12-18 17:16
kettenisI can make u-boot work if I poll the mailbox#asahi-dev · 2021-12-18 17:15
kettenisand if I start the syslog endpoint I run into isses#asahi-dev · 2021-12-18 17:13
kettenisno, because I have no way to verify that I can start it back up again#asahi-dev · 2021-12-18 17:11
kettenissven: so if I don't start the syslog endpoint nvme works in u-boot and in OpenBSD