#asahi-dev · 2025-05-04 17:19
nickchana14 is v1 appearently #asahi-dev · 2025-05-04 17:16
nickchanmailbox - i2a and a2i control has different offsets that's about it; sart is sartv0 and uses a different set of allow flags and 36 bit pa#asahi-dev · 2025-05-04 17:12
nickchanworking now:)#asahi-dev · 2025-05-04 17:06
nickchanit's nvme but less bastardized than m1#asahi-dev · 2025-05-04 17:04
nickchanwhich will also make it upstreamable#asahi-dev · 2025-05-04 17:04
nickchanafter that i will fix some tech debt like usb not having phy and using bootloader state for bus configuration and such#asahi-dev · 2025-05-04 17:03
nickchan(in linux)#asahi-dev · 2025-05-04 17:03
nickchanspeaking of 8015 ans2 fw already successfully booted now dealing with some command_id/tag weirdness, and there's no nvmmu or linear sq#asahi-dev · 2025-05-04 17:00
nickchanDon't really need pinctrl for bringup I think but wdt can be good#asahi-dev · 2025-05-04 16:58
nickchannote we use clkref now not clk24#asahi-dev · 2025-05-04 16:58
nickchanthis one is newer https://github.com/AsahiLinux/linux/commit/d23457abac1e2f309404e63c7a390d9a32bce9e6#asahi-dev · 2025-05-04 10:51
nickchan(right now it's the only machine I can sanely do that even)#asahi-dev · 2025-05-04 10:51
nickchanbut yeah I use it because the m1 pro is the fastest machine i can compile linux on and then boot it on an iphone#asahi-dev · 2025-05-04 10:51
nickchansven: right every checkm8 tool needs to do that#asahi-dev · 2025-05-04 10:40
nickchanokay it's not as bad as I made it out to be but it happens sometimes more than the background noise#asahi-dev · 2025-05-04 10:38
nickchananyways about the typec i will surely say that using checkra1n over and over is a great way to make the ports explode and dead until next reboot#asahi-dev · 2025-05-03 15:15
nickchanthere are more than 1000 downstream commits pretty sure#asahi-dev · 2025-05-02 13:45
nickchansven: so only reboot and gpio for now#asahi-dev · 2025-05-02 11:51
nickchanresize container needs data volume unlocked#asahi-dev · 2025-05-02 11:50
nickchancause repartitioning the disk doesn't seem viable and using linux-apfs-rw full tilt seems too dangerous#asahi-dev · 2025-05-02 11:50
nickchanand about how the actual storage will be handled on a11 probably linux-apfs-rw on a fixed size volume with a single file on it that is used as loopback#asahi-dev · 2025-05-02 11:20
nickchanhttps://asahilinux.org/docs/hw/soc/smc/#smc-keys this format is unreadable#asahi-dev · 2025-05-02 11:12
nickchansven: have you documented m1 nvme somewhere?#asahi-dev · 2025-05-02 05:19
nickchannone of that range is accessed by iboot and attempting to access is SError#asahi-dev · 2025-05-02 05:19
nickchani think nvmmu just... doesn't exist or is different on a11?#asahi-dev · 2025-05-02 03:43
nickchani have a full iboot mmiotrace to look at but i need to study how nvme works in general first#asahi-dev · 2025-05-02 03:42
nickchangoing to make 8015 work first#asahi-dev · 2025-05-02 03:41
nickchanas well as coprocessor on any older SoCs#asahi-dev · 2025-05-02 03:40
nickchancoprocoessor other than ANS2 and SEP is 32-bit i think and that change things so those are for later#asahi-dev · 2025-05-02 03:40
nickchanalso got sep_get_random to work :) the thing that trips BPR#asahi-dev · 2025-05-02 03:36
nickchanstill#asahi-dev · 2025-05-02 03:36
nickchanfortunately new ANS2 fw also has the old protocol so it can sitll be tested on new fw#asahi-dev · 2025-05-02 03:36
nickchanand also need to support protocol version 10 and older to support older OS versions#asahi-dev · 2025-05-02 03:35
nickchanans2 booted to ready on t8015, but there's some differences in the actual nvme layer (?) that m1n1 does not like#asahi-dev · 2025-05-01 11:18
nickchanmaz: correct#asahi-dev · 2025-05-01 09:29
nickchanit did not handle xzr/wzr correctly#asahi-dev · 2025-05-01 09:29
nickchanload store emulator is wrong#asahi-dev · 2025-05-01 07:45
nickchanBut might as well patch sart's pte in iboot's pagetables#asahi-dev · 2025-05-01 07:44
nickchanand sart seems simple enough that blind probing should do#asahi-dev · 2025-05-01 07:42
nickchantrying my best to reduce binary reverse enginnering!#asahi-dev · 2025-05-01 07:41
nickchanpatch pte to invalid in shellcode -> try to access certain mmio -> data abort handler in shellcode -> recover pte in shellcode and tlbi -> emulate load/store -> break the pte again and tlbi -> continue iboot's execution#asahi-dev · 2025-05-01 07:39
nickchanneed to see if its timeout related because the same method of hacking data abort handler worked fine to see what iboot did to the dart#asahi-dev · 2025-05-01 07:39
nickchanbut hacking those pages in the data abort handler itself causes iboot to fail to init ans2 so fun#asahi-dev · 2025-05-01 07:38
nickchanhopefully i could bring up ans2 on t8015 based on hacking iboot's data abort handler#asahi-dev · 2025-05-01 07:37
nickchanaka T8015's ANS2 CPU Core#asahi-dev · 2025-05-01 07:37
nickchanappearently apple cpu part 0xa is Marin core#asahi-dev · 2025-04-29 15:15
nickchanresend the a7-a11 cpu pmu patches hopefully that does not go into /dev/null again#asahi-dev · 2025-04-25 16:52
nickchanchaos_princess: it definitely has alarm functions too but it's not implemented yet#asahi-dev · 2025-04-25 16:49
nickchancovers the two different cases which is i2c and spmi#asahi-dev · 2025-04-25 16:47
nickchanhttps://github.com/HoolockLinux/linux/commits/tests/rtc