#asahi-re · 2021-02-18 17:15
marcanwell, I just found the freaking memory compression instruction#asahi-re · 2021-02-18 16:24
marcanyeah, AMX is off as one would expect (AFAICT), but... there are other things in here#asahi-re · 2021-02-18 16:23
marcanfun things to do: exhaustive probe of instruction set#asahi-re · 2021-02-14 17:17
marcanI've noticed several things that need an isb to work#asahi-re · 2021-02-14 14:51
marcanjannau: XNU says PMC0 is cycles and PMC1 is instructions#asahi-re · 2021-02-14 11:46
marcanpossibly related to clamping/"ready"#asahi-re · 2021-02-10 18:39
marcangoing to sleep now, I'll get the firestorm stuff tomorrow#asahi-re · 2021-02-10 18:38
marcanmodwizcode: feel free to write the docs!#asahi-re · 2021-02-10 18:38
marcandavidrysk[m]: IIRC there was something like that elsewhere too#asahi-re · 2021-02-10 15:57
marcanI need to clean up proxyclient/ some day...#asahi-re · 2021-02-10 15:56
marcanpushed the tool to m1n1.git, and also a register database of all actually documented ARM regs#asahi-re · 2021-02-10 15:36
marcanideally you want it to be interactive :)#asahi-re · 2021-02-10 15:36
marcangood point, though the problem is if you just log you need to reboot to load a new kext#asahi-re · 2021-02-10 15:14
marcanI don't know how to write kexts though :-) (yet)#asahi-re · 2021-02-10 15:14
marcansure#asahi-re · 2021-02-10 15:00
marcanhttps://github.com/AsahiLinux/docs/wiki/HW:ARM-System-Registers-Dumps full vendor-specific register dump#asahi-re · 2021-02-07 18:25
marcanthese are device tunables, not cpu tunables, AIUI#asahi-re · 2021-02-07 18:24
marcanthey are in the adt#asahi-re · 2021-02-07 18:24
marcanyes#asahi-re · 2021-02-07 18:24
marcaneverything applies tunables#asahi-re · 2021-02-07 15:35
marcan(if you care about this)#asahi-re · 2021-02-07 15:35
marcanbut yeah don't go sharing your devicetrees/nvram dumps#asahi-re · 2021-02-07 15:34
marcan(it's my guest network so meh)#asahi-re · 2021-02-07 15:33
marcannow we know they're stored as wpa hashes :p#asahi-re · 2021-02-07 15:33
marcanah yeah, it is in there, oh well :D#asahi-re · 2021-02-07 15:32
marcanthere's enough crypto garbage after the network name that it might be the hashed password :D#asahi-re · 2021-02-07 15:32
marcanat least not in plaintext :p#asahi-re · 2021-02-07 15:31
marcanhttps://hub.marcan.st/t/devtree_after_iboot.bin I *think* that only has my wifi network name in there and not the password but :-)#asahi-re · 2021-02-07 11:27
marcanit does sound like debug something; hibernate debug stuff writes to both the debug-console and dockchannel uart#asahi-re · 2021-02-07 11:21
marcan | reg: [00 80 12 3d 00 00 00 00 00 00 01 00 00 00 00 00 00 c0 10 3d 00 00 00 00 18 00 00 00 00 00 00 00]#asahi-re · 2021-02-07 11:20
marcandockchannel-uart is in the devtree#asahi-re · 2021-02-07 11:18
marcanI think even the lightning ones support a serial mode#asahi-re · 2021-02-07 11:17
marcanthat's where all the stupid auth stuff was done too IIRC, at least until they started switching to USB#asahi-re · 2021-02-07 11:17
marcaniPhones had a serial port to talk to docks/accessories (acc serial)#asahi-re · 2021-02-07 11:17
marcanroxfan: "dockchannel" as in something on old iPhones or M1 stuff?#asahi-re · 2021-02-04 11:48
marcan(thought a distant one)#asahi-re · 2021-02-04 11:36
marcanalso, this code has a connection to corellium. I'll leave it there.#asahi-re · 2021-02-04 11:33
marcanthis is your daily reminder that copyright violations in "reverse engineered" code are rampant and to be very careful with any random things you find on GitHub#asahi-re · 2021-02-04 11:32
marcansigh... I'm doing some iPhone archaeology to see if I can plausibly claim my UART driver would work all the way back to the original iPhone 2G, and... I stumble upon yet another "open source" iPhone related project whose code is a blatant rip-off of Apple code#asahi-re · 2021-02-02 10:31
marcanyeah, it's fine for making an emulator (and a good idea even, it's basically cleanrooming documentation)#asahi-re · 2021-02-02 07:04
marcanso we'll see what happens once I look into it in more detail#asahi-re · 2021-02-02 07:04
marcanI can trust myself not to screw this up, but so far they haven't earned my trust (few people have)#asahi-re · 2021-02-02 07:04
marcanI mean, it's no different from what I will be doing eventually... but I'm trying to be upfront about it and document my standards#asahi-re · 2021-02-02 04:28
marcan(beyond the parts I already did, those are going away anyway but they were obviously clean by nature, since it was linux-specific stuff)#asahi-re · 2021-02-02 04:28
marcanjust a warning to everyone; I'm not going to throw away and ignore all of their work since some of it is useful, but I'm going to look at it with a microscope before I cherry-pick any of it into our tree#asahi-re · 2021-02-02 04:27
marcanand if they don't upstream anything themselves, I'll be auditing some parts and seeing what I'm fairly confident I can assert does not contain copyright violations, and we can pull in those bits#asahi-re · 2021-02-02 04:27
marcanhowever, there is obviously useful work in there; anything they actually manage to upstream themselves (if they do) is fair game, since at that point it's not our problem any more#asahi-re · 2021-02-02 04:26
marcanthat means that, per alx.sh/re, we cannot blindly use them (because we cannot know for certain that they didn't create a copyright violation)#asahi-re · 2021-02-02 04:26
marcanfwiw: the Corellium Linux drivers are developed via binary reverse engineering (register names and bit names make it obvious; there are things in there that can only be known from strings in Apple drivers, and would be undiscoverable via black-box testing, register tracing, or anything like that)#asahi-re · 2021-02-01 11:38
marcan0x002014xx sounds like another encoding space