#
✕ nick:jmr2
#asahi · 2021-12-11 23:37
jmr2He mentioned that he want to rewrite it soon, and asked us to be patient.
#asahi · 2021-12-11 23:37
jmr2While it's possible to get the corellium wifi driver to work, marcan has explicitly asked us to stop doing so (see the log from Dec. 2).
#asahi · 2021-12-11 23:36
jmr2Glanzmann: I'm the one who wrote those steps about how to extract the wifi firmware.
#asahi · 2021-12-11 20:35
jmr2jannau: understood. Sorry if I sounded accusatory, that wasn't the intent - i was just very surprised.
#asahi · 2021-12-11 18:18
jmr2Anyway, thanks. I should spend more time watching the streams and less asking questions :-D
#asahi · 2021-12-11 18:18
jmr2True. But jannau's tree now has it too, and not all users of that tree are that savvy.
#asahi · 2021-12-11 18:16
jmr2I haven't had the time to fully watch it yet, but I thought that all SPI tests would happen with the keyboard, given the extra risks with the nor flash.
#asahi · 2021-12-11 18:13
jmr2I... wasn't expecting to see the nor flash nodes appear in the DT. Did I miss something?
#asahi · 2021-12-07 04:05
jmr2Glad to hear it was something minor. Thanks for checking it out.
#asahi · 2021-12-06 18:43
jmr2https://github.com/KC22C2/linux/commits/wip-pmgr Only tested on MB Air. 4d938ba and 09a4d18 works. 6d407bf/201ede0 don't. Ignore the readme, it's not up-to-date.
#asahi · 2021-12-06 18:36
jmr2Always glad to help.
#asahi · 2021-12-06 18:35
jmr2I'll push a branch on github, so you can see exactly what I was doing. Good night.
#asahi · 2021-12-06 18:35
jmr2marcan: your bet is correct. Disabling auto-pm allows to re-enable all other PMGR nodes.
#asahi · 2021-12-06 18:17
jmr2Got it.
#asahi · 2021-12-06 18:14
jmr2So replace auto_enable by 0 in apple_pmgr_ps_set. Trying...
#asahi · 2021-12-06 18:04
jmr2marcan: not sure what you mean. Can't find auto-pm in the dts files.
#asahi · 2021-12-06 17:48
jmr2From the pmgr/v3 submission on LKML.
#asahi · 2021-12-06 17:45
jmr2IIRC, I tried to add apple,always-on; to its definition, but that didn't help
#asahi · 2021-12-06 17:45
jmr2marcan: the one I had to comment out was ps_rmx and all nodes that depend on it.
#asahi · 2021-12-06 17:43
jmr2OK. I tried and failed, but that's probably only because I don't know how to fix the DT for DCP. I had to comment out something... Let me go check what.
#asahi · 2021-12-06 17:41
jmr2marcan: regarding PMGR, did you try it with the draft DCP driver ?
#asahi · 2021-12-06 17:40
jmr2marcan: so that means that I must do my homework soon, if I want to be able to follow the teacher. Got it :-D
#asahi · 2021-12-06 17:38
jmr2Thanks for your help everyone - no sarcasm intended.
#asahi · 2021-12-06 17:37
jmr2For those that read Coelho's alquemist, I'm at the stage where I was just asked if I had tried already, answered no, and got told to go and try it. And as in the book - I'm going to :-D
#asahi · 2021-12-06 17:36
jmr2kettenis: thanks - I got that part. That's the 3000ft view. I'm trying to clear the 5000ft one.
#asahi · 2021-12-06 17:27
jmr2Agreed. I've done enough driver development to know what to expect to see, but that was a long time ago, and reverse is new. Let's see :-D
#asahi · 2021-12-06 17:17
jmr2Thanks guys. Looks like I just need to dive in, to switch from theory to practice.
#asahi · 2021-12-06 16:57
jmr2j_ey: thanks. I watched at least part of those when they were streamed... and got lost. I was hoping for something... gentler :-D Back to the source is a good idea.
#asahi · 2021-12-06 16:43
jmr2Yeah, I'm not really looking for a recap. Just a starting point.
#asahi · 2021-12-06 16:26
jmr2(I'm looking forward to the SPI one.)
#asahi · 2021-12-06 16:26
jmr2Among the past streams, would there be one that would be a good intro to m1n1's reverse engineering features?
#asahi · 2021-11-24 15:16
jmr2jannau: My pleasure. Thanks for your work.
#asahi · 2021-11-24 14:30
jmr2jannau: apple_m1/dt-for-5.17_v4 isn't on github yet.
#asahi · 2021-11-23 03:44
jmr2j_ey: https://github.com/KC22C2/linux/tree/5.16rc2-MBAir
#asahi · 2021-11-22 22:47
jmr2*booting
#asahi · 2021-11-22 22:47
jmr2OK. I'll probably just keep nvme out, as it is currently. I'm still ooting from USB2.
#asahi · 2021-11-22 22:45
jmr2Well... latest draft, let's say?
#asahi · 2021-11-22 22:44
jmr2I've seen two versions where an ID was changing... let me try to recall what it was.
#asahi · 2021-11-22 22:44
jmr2sven: since you're here: what's the correct source for your latest NVME patches?
#asahi · 2021-11-22 22:42
jmr2(and the reality is that it doesn't contain anything new - it just merge bits that I haven't seen in the same branch yet)
#asahi · 2021-11-22 22:40
jmr2j_ey: Glad to see the interest, but it's really too messy at this time. Soon.
#asahi · 2021-11-22 22:34
jmr2jannau: OK, thanks. Mine's still too messy to share, but I'm starting to think that we're duplicating efforts. I might propose something later, once I'll have clean it up - and my mind at the same time.
#asahi · 2021-11-22 20:26
jmr2jannau: for my understanding, what is your audience for your apple-m1-exp* branches ? Only you, (and perfect if it's of interest for others), or are you trying to build a reference tree of everything Asahi has worked on so far ?
#asahi · 2021-11-22 05:21
jmr2FireFox317: FYI, I just did the pull request. Thanks again.
#asahi · 2021-11-20 18:29
jmr2(if you do, you can remove the RFKILL_PIN = 13 line as well)
#asahi · 2021-11-20 18:23
jmr2firefox317: and that works. Thank you! Have you considered doing a pull request?
#asahi · 2021-11-20 18:20
jmr2Ah... quotes... my bad.
#asahi · 2021-11-20 18:18
jmr2*Thanks
#asahi · 2021-11-20 18:18
jmr2If I replace write_key by write, I get "NameError: name 'gP0d' is not defined"
#asahi · 2021-11-20 18:18
jmr2Tnaks, but looks like there's more to it than that. I'm on 23c3617 (latest), and I get "AttributeError: 'SMCEndpoint' object has no attribute 'write_key'".

plus ›