<Necrosporus>
marcan, time to test if the other mac can be connected with USB cable? Also, can you do anything with connected mac from linux anyway?
anuejn has joined #asahi-re
<marcan>
Necrosporus: I already mentioned the Intel macs do not support the USB OTG feature
<marcan>
Linux doesn't like the network interface; I'm not going to spend time on this now
<marcan>
(for M1 macs)
Core1672 has quit [Ping timeout: 240 seconds]
DarthCloud has quit [Ping timeout: 240 seconds]
DarthCloud has joined #asahi-re
roxfan2 has joined #asahi-re
roxfan has quit [Ping timeout: 246 seconds]
bear24rw has joined #asahi-re
aratuk has joined #asahi-re
bear24rw has quit [Ping timeout: 256 seconds]
aratuk has quit [Ping timeout: 264 seconds]
danilonc has joined #asahi-re
konstater has joined #asahi-re
dlnx`` has joined #asahi-re
<Necrosporus>
marcan, I was talking about newest mac you have picture of in your page, which also M1, Air, I guess?
<Necrosporus>
Or this one is pro and other was air
<Necrosporus>
Are they significally different except air has regular F1-F12 keys and pro has touchbar?
<j`ey>
and battery + fan
<Necrosporus>
pro has more battery and faster fan?
<davidrysk[m]>
it has a fan
<davidrysk[m]>
pro can sustain higher CPU speeds indefinitely; air throttles after 10 minutes or so
<justMaku>
Default Air configuration also has one less GPU core
<marcan>
Necrosporus: all the M1 macs should behave the same in this respect
<marcan>
it's the same SoC
<marcan>
I'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 ;)
<davidrysk[m]>
marcan: meaning, outside of the touch bar, right? :)
<marcan>
I mean things that they share should be the same
<davidrysk[m]>
right, okay
<davidrysk[m]>
I expect that to be the case
<marcan>
I'm interested in the obvious differences, and then only later, since the Mini is the first target
<marcan>
if it turns out something is weird or different we'll find out in due course
<Necrosporus>
Hm, regarding network device, does it react same way when you plug mac side to different port or messages in linux dmesg are identical?
<marcan>
haven't tested it yet but it's probably the same, since it's xHCI and this is a user feature
<marcan>
only debug features have port variability
<marcan>
apple doesn't go telling users to plug into this or that port
<Necrosporus>
How do you know it's network device? Does it show in ifconfig (ip a) on linux side when you plug it in?
<marcan>
I said it was NCM
<marcan>
lsusb showed that in the descriptors
<Necrosporus>
So, 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
<Necrosporus>
Do you know yet which memory address it's going to be loaded to, what instructions do you need to send bytes via UART?
bear24rw has joined #asahi-re
<Shiz>
the necessar/w 58
<Shiz>
whoops.
browzing has joined #asahi-re
browzing has quit [Ping timeout: 246 seconds]
browzing has joined #asahi-re
browzing has quit [Ping timeout: 246 seconds]
<davidrysk[m]>
diz3y: there it appears that systems with a XNU_MONITOR have EL3
<davidrysk[m]>
(looking at xnu-src)
<davidrysk[m]>
that seems to be T8020 (A12), so probably T8101 (M1) as well
<diz3y>
davidrysk[m]: hey, cool
<davidrysk[m]>
now, how is the XNU monitor implemented and how does one interact with it
<diz3y>
*totally guessing* via SMC calls? ;)
<diz3y>
ARM people love multi-layered cross-EL calls.. like PSCI/etc
<davidrysk[m]>
there's an APRR_EL1_PPL register...
<davidrysk[m]>
it seems the monitor is used to implement the kernel page protection layer
<marcan>
but look at xnu-7195.50.7.100.1/pexpert/pexpert/arm64/board_config.h
<marcan>
those are for H11+
<marcan>
MONITOR and XNU_MONITOR seem to be different things
<davidrysk[m]>
oh! hm
<marcan>
I don't think XNU_MONITOR has anything to do with EL3
<marcan>
anyway, sleep :)
<davidrysk[m]>
hm you may be right. night :)
<jn__>
what do "P-Core" and "E-Core" mean?
<davidrysk[m]>
performance and efficiency
<jn__>
ah, thx
<davidrysk[m]>
okay that's fun
<davidrysk[m]>
if MONITOR is defined, it does some call to initialize the EL3 "monitor". There's a comment that "WFI power gating may not operate correctly" if this is not done