#asahi-dev · 2022-02-01 10:07
ChaosPrincesskloenk: i also started writing a gpt parser#asahi-dev · 2022-01-31 10:19
ChaosPrincessi guess we are not guarding from hostile nvme controller so that rules out toctou, and fatfs is just an inert blob of bits that way#asahi-dev · 2022-01-31 10:04
ChaosPrincesseven as a rust enthusiast, being 'written in rust' does not equal the software being secure, to actually claim that, someone would need to audit fatfs crate code and probably pin the version.#asahi-dev · 2022-01-27 08:45
ChaosPrincesssven: ok, got it#asahi-dev · 2022-01-27 08:40
ChaosPrincessso, how does reclaiming memory will work then, dcp can unlock it?#asahi-dev · 2022-01-27 08:39
ChaosPrincessis there some sort of a write-up/documenatation/etc on locked darts?#asahi-dev · 2022-01-26 08:52
ChaosPrincessoh, so thats why wifi broke on my machine when i tried to override the dtb#asahi-dev · 2022-01-20 09:01
ChaosPrincess_jannau_: to me it looks like alternating 64 and 16 byte packets#asahi-dev · 2022-01-20 09:00
ChaosPrincessthat thing lives on spi4#asahi-dev · 2022-01-20 09:00
ChaosPrincessAppleParadeDP855TCON#asahi-dev · 2022-01-20 08:59
ChaosPrincessthere is also something display-related that lives on spi bus#asahi-dev · 2022-01-20 08:58
ChaosPrincess(only tx)#asahi-dev · 2022-01-20 08:58
ChaosPrincessthis is a trace of the touchbar booting up#asahi-dev · 2022-01-20 08:58
ChaosPrincesshttps://pst.klgrth.io/paste/qt7m5v8dzsdzgu87szdjx4s6#asahi-dev · 2022-01-20 08:57
ChaosPrincesstouch and display live on two different spi buses#asahi-dev · 2022-01-20 08:56
ChaosPrincessso im trying to find out where that comes from#asahi-dev · 2022-01-20 08:56
ChaosPrincesson boot it sends something that looks like firmware#asahi-dev · 2022-01-20 08:55
ChaosPrincessnot sure yet#asahi-dev · 2022-01-20 08:53
ChaosPrincesskinda#asahi-dev · 2022-01-20 08:53
ChaosPrincessi used a write to TXCOUNT register to delimit packet boundaries and it mostly worked#asahi-dev · 2022-01-20 08:53
ChaosPrincessthanks#asahi-dev · 2022-01-20 08:53
ChaosPrincessoh, right, forgot about cs existing#asahi-dev · 2022-01-20 08:50
ChaosPrincessdoes anyone have pointers on how to reverse engineer SPI protocols? im having a problem where spi is essentially a byte stream and it would be real nice to have a way to figure out packet boundaries. figured it out for TX, kinda, but RX is still a problem#asahi-dev · 2022-01-11 18:46
ChaosPrincessverbose 2 works, 1 doesnt#asahi-dev · 2022-01-11 18:46
ChaosPrincesssven: the other way around#asahi-dev · 2022-01-11 18:45
ChaosPrincessverbose 1 logs pmuch nothing :P#asahi-dev · 2022-01-11 18:18
ChaosPrincessIm tracing spi0, and for some reason setting verbose to 1 on the tracer breaks the touchbar entirely. keeping it at 2 or 3 does not.#asahi-dev · 2022-01-08 20:26
ChaosPrincessspi3 works, i think? i didnt look too closely but i seen some output in console that looks somewhat correct#asahi-dev · 2022-01-08 19:56
ChaosPrincessjannau: i have tried tracing spi4 and spi0 via your tracer, spi4 - no output, spi0 - no output, touchbar fails to load under macos and macos reports that it can't communicate to the chip#asahi-dev · 2022-01-08 14:28
ChaosPrincesstyvm#asahi-dev · 2022-01-08 13:43
ChaosPrincesswell, there are both, they exist under spi3 and spi2#asahi-dev · 2022-01-08 13:42
ChaosPrincesssven: you mean dma-channels in adt?#asahi-dev · 2022-01-08 13:40
ChaosPrincessj`ey: i dont see that on main branch, is this in some fork?#asahi-dev · 2022-01-08 13:39
ChaosPrincessi mostly care about spi4 and spi0#asahi-dev · 2022-01-08 13:36
ChaosPrincessso we by any chance already have a m1n1 experiment to sniff spi traffic under macos?#asahi-dev · 2022-01-08 11:19
ChaosPrincesshttps://github.com/AsahiLinux/linux/blob/wifi/v3-wip-asahi/arch/arm64/boot/dts/apple/t8103-j293.dts spi3 connects both the kb and trackpad here, right?#asahi-dev · 2022-01-06 13:25
ChaosPrincessif i am somewhat new to kernel dev but want to contribute, any pointers on what part of hardware to try to get working?#asahi-dev · 2021-12-17 20:27
ChaosPrincessfollowing the instructions is for those who dont want to spend a few hours trying to understand why edits to the initrd dont seem to work :P#asahi-dev · 2021-12-17 20:25
ChaosPrincesssven: so, thats not quite how kmutil works apparently. if you do configure-boot, it will stash the new boot object _somewhere_, and you can freely overwrite the old file, it no longer matters#asahi-dev · 2021-12-17 20:02
ChaosPrincessso its kinda like secureboot + mok(if permissive security) + disk encryption via tpm tied to firmware and kernel hashes?#asahi-dev · 2021-12-17 19:58
ChaosPrincesskmutil configure-boot whatever.macho#asahi-dev · 2021-12-17 19:57
ChaosPrincesswhat happens if you bless a mach-o with kmutil, and then overwrite that file on disk?#asahi-dev · 2021-12-16 16:11
ChaosPrincesswhat is avd used for?#asahi-dev · 2021-12-16 13:00
ChaosPrincesscan someone help out, i am trying to update a version of m1n1 that is on the apfs volume, but kmutil configure-boot fails with error 'Invalid Mach-O boot properties'#asahi-dev · 2021-12-15 10:42
ChaosPrincesswould be cool to have that table on gsheets or whatever to track progress in real time as opposed to once per progress report