#
✕ nick:kettenis
#asahi-dev · 2021-10-27 13:54
kettenismarcan: UEFI allows multiple ESPs
#asahi-dev · 2021-10-27 09:50
kettenis(it currently errors out after building that so that isn't a problem)
#asahi-dev · 2021-10-27 09:49
kettenisthen use u-boot-nodtb.bin as the payload
#asahi-dev · 2021-10-27 09:48
kettenismake
#asahi-dev · 2021-10-27 09:48
kettenismake apple_m1_defconfig
#asahi-dev · 2021-10-27 09:48
kettenismake mrproper
#asahi-dev · 2021-10-27 09:48
ketteniserh, probably:
#asahi-dev · 2021-10-27 09:48
kettenismake
#asahi-dev · 2021-10-27 09:48
kettenismake mrproper
#asahi-dev · 2021-10-27 09:48
kettenismake apple_m1_defconfig
#asahi-dev · 2021-10-27 09:48
kettenisbut otherwise, yes, it should just be a matter of:
#asahi-dev · 2021-10-27 09:47
kettenismarcan: looks like I didn't push the compatible changes for the power domains yet
#asahi-dev · 2021-10-27 08:03
kettenisthose machines probably just had a microcontroller in front of the SPU bus
#asahi-dev · 2021-10-27 08:02
kettenisand some of those supported the keyboard over usb
#asahi-dev · 2021-10-27 08:01
kettenisthe whole thing makes sense since the keyboard is just the same as for the last generations of intel laptops
#asahi-dev · 2021-10-27 08:01
kettenisyes, it looks like it will handle the quirk for the Fn key in the HID on the M1 macbook
#asahi-dev · 2021-10-27 08:00
kettenisyes, the
#asahi-dev · 2021-10-26 21:01
kettenismarcan: yes, this would probably simplify the linux driver as well
#asahi-dev · 2021-10-26 14:39
kettenishah, I think I've found a way to extract the HID descriptor from the device itself
#asahi-dev · 2021-10-26 12:59
ketteniss/povic/povik/
#asahi-dev · 2021-10-26 12:58
kettenispovic: it works ;)
#asahi-dev · 2021-10-26 11:21
kettenisI think this means I can just fake a HID descriptor for the keyboard and re-use the existing HID code in OpenBSD to interpret the packets
#asahi-dev · 2021-10-26 11:20
kettenisbut nowadays also used for i2c and spi keyboards
#asahi-dev · 2021-10-26 11:19
kettenisoriginally for usb "human interface devices" (i.e. keyboards)
#asahi-dev · 2021-10-26 11:08
kettenisah, I just realized that the packets sent by the keyboard are just standard HID reports
#asahi-dev · 2021-10-25 11:55
kettenisnope
#asahi-dev · 2021-10-25 11:55
kettenisI think so; that's what we do on OpenBSD
#asahi-dev · 2021-10-24 14:08
kettenisbut I'm not sure it really makes sense
#asahi-dev · 2021-10-24 14:07
kettenisthe messages sent over spi are quite large (256 bytes)
#asahi-dev · 2021-10-23 19:13
kettenisyeah, it just means that if you get one of those wrong, things won't work
#asahi-dev · 2021-10-23 19:11
kettenisit relies on many different drivers
#asahi-dev · 2021-10-23 13:18
kettenisugh, the mbp keyboard stuff has so many moving parts...
#asahi-dev · 2021-10-22 15:35
ketteniscool
#asahi-dev · 2021-10-22 15:22
kettenissven: same here; still polishing my wifi diff
#asahi-dev · 2021-10-21 15:07
kettenisso I'll look into that later today or tomorrow
#asahi-dev · 2021-10-21 15:05
kettenisjust figured out why the wifi wasn't working for me in OpenBSD
#asahi-dev · 2021-10-21 14:59
kettenissven: does that work on all the DARTs?
#asahi-dev · 2021-10-21 12:48
kettenisalyssa: yes
#asahi-dev · 2021-10-21 10:48
kettenisshould be standard SDHC
#asahi-dev · 2021-10-21 10:48
kettenislooks like that's the SD card controller
#asahi-dev · 2021-10-21 10:48
kettenishttp://www.genesyslogic.com/en/product_view.php?show=80
#asahi-dev · 2021-10-18 19:39
kettenisthe pmu may need a little bit more thought as it seems to do many things (besides being the rtc)
#asahi-dev · 2021-10-18 19:38
kettenisarnd, alyssa: the spmi driver can be fairly simple
#asahi-dev · 2021-10-13 12:46
kettenisalthough I suppose that when I'd try to do more aggressive power management, more bugs will pop up
#asahi-dev · 2021-10-13 12:45
kettenisyes, there are hardware bugs, but in most cases they can be worked around
#asahi-dev · 2021-10-13 12:44
kettenisarnd: well, so far, in my experience it is less of a trainwreck
#asahi-dev · 2021-10-13 11:51
ketteniswell, AMD CPUs and chipsets have similar issues
#asahi-dev · 2021-10-13 11:10
kettenis(admittedly only with armv7 and later)
#asahi-dev · 2021-10-13 11:10
kettenisI think ARM got it spot on with have the architecturally defined timer that includes a register that tells you the frequency it runs at
#asahi-dev · 2021-10-13 11:09
kettenisthere literally isn't any single clock that you can use on x86 systems that isn't broken on some systems

plus ›