#
#asahi-re · 2021-01-06 17:39
davidrysk[m]pmap_remove_options_internal seems to be implemented in osfmk/arm/pmap.c though
#asahi-re · 2021-01-06 17:37
davidrysk[m]and there are includes to <arm64/ppl/*>, the directory which is missing
#asahi-re · 2021-01-06 17:36
davidrysk[m]https://googleprojectzero.blogspot.com/2020/07/the-core-of-apple-is-ppl-breaking-xnu.html
#asahi-re · 2021-01-06 17:36
davidrysk[m]it seems the monitor is used to implement the kernel page protection layer
#asahi-re · 2021-01-06 17:36
davidrysk[m]there's an APRR_EL1_PPL register...
#asahi-re · 2021-01-06 17:34
diz3yARM people love multi-layered cross-EL calls.. like PSCI/etc
#asahi-re · 2021-01-06 17:34
diz3y*totally guessing* via SMC calls? ;)
#asahi-re · 2021-01-06 17:33
davidrysk[m]now, how is the XNU monitor implemented and how does one interact with it
#asahi-re · 2021-01-06 17:33
diz3ydavidrysk[m]: hey, cool
#asahi-re · 2021-01-06 17:33
davidrysk[m]that seems to be T8020 (A12), so probably T8101 (M1) as well
#asahi-re · 2021-01-06 17:32
davidrysk[m](looking at xnu-src)
#asahi-re · 2021-01-06 17:32
davidrysk[m]diz3y: there it appears that systems with a XNU_MONITOR have EL3
#asahi-re · 2021-01-06 17:00
Shizwhoops.
#asahi-re · 2021-01-06 17:00
Shizthe necessar/w 58
#asahi-re · 2021-01-06 16:47
NecrosporusDo you know yet which memory address it's going to be loaded to, what instructions do you need to send bytes via UART?
#asahi-re · 2021-01-06 16:47
NecrosporusSo, you need to write some code which iBoot is going to load to a certain memory address and which will need to execute certain instructions to connect to UART and send debug output
#asahi-re · 2021-01-06 16:35
marcanlsusb showed that in the descriptors
#asahi-re · 2021-01-06 16:35
marcanI said it was NCM
#asahi-re · 2021-01-06 16:35
NecrosporusHow do you know it's network device? Does it show in ifconfig (ip a) on linux side when you plug it in?
#asahi-re · 2021-01-06 16:33
marcanapple doesn't go telling users to plug into this or that port
#asahi-re · 2021-01-06 16:33
marcanonly debug features have port variability
#asahi-re · 2021-01-06 16:33
marcanhaven't tested it yet but it's probably the same, since it's xHCI and this is a user feature
#asahi-re · 2021-01-06 16:32
NecrosporusHm, regarding network device, does it react same way when you plug mac side to different port or messages in linux dmesg are identical?
#asahi-re · 2021-01-06 16:32
marcanif it turns out something is weird or different we'll find out in due course
#asahi-re · 2021-01-06 16:32
marcanI'm interested in the obvious differences, and then only later, since the Mini is the first target
#asahi-re · 2021-01-06 16:32
davidrysk[m]I expect that to be the case
#asahi-re · 2021-01-06 16:32
davidrysk[m]right, okay
#asahi-re · 2021-01-06 16:32
marcanI mean things that they share should be the same
#asahi-re · 2021-01-06 16:32
davidrysk[m]marcan: meaning, outside of the touch bar, right? :)
#asahi-re · 2021-01-06 16:31
marcanI'm not going to be testing random things on them just in case they happen to be different, that's not an efficient use of time ;)
#asahi-re · 2021-01-06 16:31
marcanit's the same SoC
#asahi-re · 2021-01-06 16:30
marcanNecrosporus: all the M1 macs should behave the same in this respect
#asahi-re · 2021-01-06 16:28
justMakuDefault Air configuration also has one less GPU core
#asahi-re · 2021-01-06 16:27
davidrysk[m]pro can sustain higher CPU speeds indefinitely; air throttles after 10 minutes or so
#asahi-re · 2021-01-06 16:26
davidrysk[m]it has a fan
#asahi-re · 2021-01-06 16:26
Necrosporuspro has more battery and faster fan?
#asahi-re · 2021-01-06 16:26
j`eyand battery + fan
#asahi-re · 2021-01-06 16:23
NecrosporusAre they significally different except air has regular F1-F12 keys and pro has touchbar?
#asahi-re · 2021-01-06 16:23
NecrosporusOr this one is pro and other was air
#asahi-re · 2021-01-06 16:22
Necrosporusmarcan, I was talking about newest mac you have picture of in your page, which also M1, Air, I guess?
#asahi-re · 2021-01-06 14:43
marcan(for M1 macs)
#asahi-re · 2021-01-06 14:42
marcanLinux doesn't like the network interface; I'm not going to spend time on this now
#asahi-re · 2021-01-06 14:42
marcanNecrosporus: I already mentioned the Intel macs do not support the USB OTG feature
#asahi-re · 2021-01-06 14:36
Necrosporusmarcan, time to test if the other mac can be connected with USB cable? Also, can you do anything with connected mac from linux anyway?
#asahi-re · 2021-01-05 21:29
davidrysk[m]artemist: it might be difficult to find another source... hm
#asahi-re · 2021-01-05 21:29
bostjangpu
#asahi-re · 2021-01-05 20:51
artemistThat might fit in linux-firmware if we can find another source for it
#asahi-re · 2021-01-05 20:42
davidrysk[m]I see most of the others that are managed by kexts present in the Preboot volume
#asahi-re · 2021-01-05 20:42
davidrysk[m]okay I think it's highly likely that the only firmware blob that will be needed is the bcm one.
#asahi-re · 2021-01-05 20:29
davidrysk[m]From the bits and pieces that we know about that chip, it's built of hacks upon hacks

plus ›