#asahi-dev · 2021-12-31 11:26
jannauI have access to the hw uart. u-boot prints version, model and dram size on the uart#asahi-dev · 2021-12-31 11:22
jannaukettenis: no framebuffer on m1 max. I'll update and reenable the debug uart#asahi-dev · 2021-12-27 11:26
jannaubluerise: it's statically in the dts: https://github.com/AsahiLinux/linux/commit/212d86ce2dd7e67b2f9c39167d29635f4424a65d#asahi-dev · 2021-12-24 18:30
jannaumacos can act as a wpa3 personal access point#asahi-dev · 2021-12-24 18:19
jannaualready seen and works now. same wpa3 problem#asahi-dev · 2021-12-24 12:59
jannaubluerise: afaik it has to be reset completely. see https://lore.kernel.org/all/20211108170946.49689-2-sven@svenpeter.dev/ for reference#asahi-dev · 2021-12-23 22:26
jannaumarcan: on j314c "brcmfmac 0000:01:00.0: brcmf_pcie_read_otp: OTP unavailable, using default firmware"#asahi-dev · 2021-12-23 20:28
jannaumarcan: wpa3-personal seems to be broken: "ieee80211 phy0: brcmf_set_sae_password: failed to set SAE password in firmware (len=24)" with wifi/take3 on j274#asahi-dev · 2021-12-23 19:54
jannausigh: "<jemalloc>: Unsupported system page size" from the arch linux arm fd package#asahi-dev · 2021-12-22 17:33
jannauthe trackpad could be supported by hid-magicmouse after my changes (after adding vendor and product id). the rest of changes don't apply to t2 macs#asahi-dev · 2021-12-22 16:36
jannauoh, I was not aware that T2 macbooks use something else to connect keyboard and trackpad. I assume they present as USB devices? which driver is used for the trackpad? bcm5974?#asahi-dev · 2021-12-20 20:11
jannaukettenis: no issues chainloading f2eac15 (main) over f2eac15 or 73180e2 (27th October) using uart instead of usb#asahi-dev · 2021-12-20 19:22
jannauyes, I see.the mailbox compatible change is just in asahi#asahi-dev · 2021-12-20 19:20
jannausven: I took the dtsi change from nvme/dev and there it's missing. asahi has "apple,asc-mailbox"#asahi-dev · 2021-12-20 19:14
jannausven: did you already spot the missing "apple,asc-mailbox" base compatible in t8103.dtsi?#asahi-dev · 2021-12-20 07:37
jannauchainloading m1n1 from nvme also requires adding signing and verification into m1n1 for secure boot#asahi-dev · 2021-12-20 07:35
jannaumarcan: installing grub and asahi as distro kernel was enough for u-boot to boot the system when I tried in summer#asahi-dev · 2021-12-19 20:28
jannaudevice 0 is called "Device Management". I would expect that to provide the device info#asahi-dev · 2021-12-19 20:19
jannauI'm not convinced that 0xb0 is a real device. the 4 MSB could be something else#asahi-dev · 2021-12-19 20:16
jannauI'm not sure it's supported on M1 either, there is a pwm driver for it: https://github.com/AsahiLinux/linux/pull/5#asahi-dev · 2021-12-19 20:07
jannauunrelentingtech: yes, still not feature complete. I haven't even checked if supports setting keyboard backlight#asahi-dev · 2021-12-19 19:57
jannaumarcan: trivial t600x dts fix after updating asahi with nvme/dev: https://github.com/jannau/linux/commit/9a225d0140c39de8198d1a25bc0c01d13ef1e6ef#asahi-dev · 2021-12-19 19:49
jannaurootfs on nvme#asahi-dev · 2021-12-19 19:48
jannauboots on t6001. asahi with rtkit, sart and nvme-apple commits replaced and dts adapted#asahi-dev · 2021-12-19 19:39
jannausven: typo in the sart bindings: "apple,6000-sart", missing a 't'#asahi-dev · 2021-12-19 18:14
jannauI still have no good understanding but the clearly wrong exisitng names were not helping#asahi-dev · 2021-12-19 18:12
jannauit has requests for device and interface information. sorry for the mess with magic numbers but the defines made harder to think how HID is mapped here#asahi-dev · 2021-12-19 18:08
jannauyes, not hard once I was able to trace macos' SPI communication#asahi-dev · 2021-12-19 18:07
jannaukettenis: so there is hopefully no need to place anything in the device tree#asahi-dev · 2021-12-19 18:06
jannaucountry code and vendor/product ID are read from keyboard's EC#asahi-dev · 2021-12-19 18:04
jannauonly user visible changes should be the correct mapping of the function keys hand hopefully a correct contry code for the keyboard#asahi-dev · 2021-12-19 18:02
jannauupdated keyboard / trackpad driver pushed to https://github.com/jannau/linux/tree/dev/spi-hid-apple (rebased onto current linux-asahi) #asahi-dev · 2021-12-19 17:07
jannauI guess we should find other ways to make sure we do not suspend for now#asahi-dev · 2021-12-19 17:06
jannaubare metal as well#asahi-dev · 2021-12-19 17:04
jannauI might not want to map KEY_SLEEP for now (at least in the HV)#asahi-dev · 2021-12-18 21:10
jannaufor spi3 it appears to be a fixed rx and a fixed tx buffer#asahi-dev · 2021-12-18 21:00
jannauit might write the address I'm interested in at a fixed offset from the adresse of one setup message#asahi-dev · 2021-12-18 20:47
jannauignore the identifiers except for CHANNEL I have no evidence for anything#asahi-dev · 2021-12-18 20:45
jannauhttps://gist.github.com/jannau/b111faa66f59cd7eae9dca56bddfec75 is what I see#asahi-dev · 2021-12-18 20:31
jannauyes, there are a couple of setup messages#asahi-dev · 2021-12-18 20:29
jannauI can't spot pointer in the messages#asahi-dev · 2021-12-18 20:16
jannaui.e. product and vendor id's and strings#asahi-dev · 2021-12-18 20:16
jannaubut the devive provides the information available in ioreg#asahi-dev · 2021-12-18 20:15
jannauthe dma buffers are unfortunately not at constant offsets in SIO's memory#asahi-dev · 2021-12-18 20:11
jannausigh, I still don't understand how sio is set up but at least I can now read the SPI transfers through RegMonitor#asahi-dev · 2021-12-17 23:24
jannaupull request for m1n1 are fine though, repo is https://github.com/AsahiLinux/m1n1#asahi-dev · 2021-12-17 21:31
jannauu-boot device tree should not be used. use u-boot-nodtb.bin#asahi-dev · 2021-12-16 12:10
jannauioreg output looks like could be possible#asahi-dev · 2021-12-16 12:10
jannauj314 with iso international has "ProductID" = 834. let's hope there is a way to read the ID's over HID#asahi-dev · 2021-12-16 09:50
jannauthe first thing I receive is a packet with payload "a0 80 00 00" i.e. too short for the message header