ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
V--I--P has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Ping timeout: 480 seconds]
V--I--P has quit [Remote host closed the connection]
ourdumbfuture has joined #asahi-dev
mikelee has joined #asahi-dev
dmatora has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
gabuscus has quit []
mikelee has joined #asahi-dev
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nafod has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Ping timeout: 480 seconds]
dmatora has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
mikelee has joined #asahi-dev
gabuscus has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
alyssa has joined #asahi-dev
<alyssa> 19:17 <ChaosPrincess> i did in fact at one point debugged a machine (not m1) by pointing my phone in slow-mo mode at it's screen and getting logs that way
<alyssa> ChaosPrincess: I did that for DCP debug
<alyssa> I mean errr I would have done that if I had written a DCP driver, ahem
mikelee has joined #asahi-dev
dmatora has quit [Ping timeout: 480 seconds]
<tpw_rules> i''ve done that before
mikelee has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has joined #asahi-dev
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi-dev
dmatora has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
cylm_ has joined #asahi-dev
rootbeerdan has quit [Quit: rootbeerdan]
dmatora has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
cylm has joined #asahi-dev
cylm_ has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
mikelee has joined #asahi-dev
sid-linux has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
<sid-linux> m1n1 question... there are various references to gxf in the m1n1 source. What is gxf ? Some sort of attached co processor? not able to get a hint from a comment anywhere...
dmatora has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
<sven> guarded exception level or GL2
<sid-linux> sven: thank you very much :) !
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
leitao has quit []
mikelee has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
leitao has quit []
dmatora has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
mikelee has quit [Remote host closed the connection]
mikelee has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sid-linux> gxf question regarding _gxf_setup in gxf_asm.S -- is _gxf_setup run everytime `genter` happens or only 1 time from _gxf_init ?
<j`ey> seems only once
<j`ey> gxf_setup overwrites SYS_IMP_APL_GXF_ENTER_EL1 with _gxf_entry
<sid-linux> yes indeed thank you
dmatora has joined #asahi-dev
nsklaus has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has quit [Remote host closed the connection]
dmatora_ has joined #asahi-dev
dmatora has quit [Read error: Connection reset by peer]
ourdumbfuture has joined #asahi-dev
mikelee has joined #asahi-dev
dmatora has joined #asahi-dev
dmatora_ has quit [Read error: Connection reset by peer]
mikelee_ has joined #asahi-dev
dmatora has quit [Read error: Connection reset by peer]
dmatora has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee_ has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
commandoline_ has quit [Quit: Bye!]
commandoline has joined #asahi-dev
gilvbp has joined #asahi-dev
<gilvbp> Hi
<gilvbp> Any updates about air macbook 15?
commandoline has quit []
commandoline has joined #asahi-dev
mikelee has joined #asahi-dev
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-dev
dmatora has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
mikelee has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
dmatora has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
leitao has quit []
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
mikelee has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
dmatora has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
leitao has quit []
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
leitao has quit []
mikelee has joined #asahi-dev
maria has quit [Remote host closed the connection]
maria has joined #asahi-dev
leitao has joined #asahi-dev
dmatora has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sid-linux has quit [Quit: User exited]
mikelee has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi-dev
nela has joined #asahi-dev
mikelee has joined #asahi-dev
sid-linux has joined #asahi-dev
<sid-linux> `nvram boot-args=-v` seems to make macOS boot also verbose even if Asahi Linux is the default boot OS. Is that correct?
<ChaosPrincess> yes
<sid-linux> it was suprising !
<sid-linux> i thought the nvram change would be particular only to asahi... given that configuration of the OSes tends to be separate on m1/m2
<chadmed> nvram is still global
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
<chadmed> apple store things like wifi and bluetooth config there
<chadmed> (thats how your asahi paired 1tr knows about your wifi network)
mikelee has quit [Ping timeout: 480 seconds]
<sid-linux> an interesting point chadmed -- in what way does Asahi use that? Asahi Linux needed to be told about all my wifi passwords etc. from scratch
<sid-linux> oh... i didnt read that correctly
<ChaosPrincess> the short answer is it doesnt
<chadmed> (yet)
<sid-linux> paired 1tr knows about wifi network... you said...
<ChaosPrincess> that 1tr, not linux
<chadmed> yeah 1TR, which runs macos
<ChaosPrincess> there is techincally btsync, that copies bluetooth keys over, but you need to install that manually
<chadmed> is that one of your nvram tools?
<ChaosPrincess> it uses that, but was written by jan​nau
mikelee has joined #asahi-dev
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
<_jannau__> I'd love to integrate the bt link key syncing into the default first boot but bluez makes that very annoying
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Ping timeout: 480 seconds]
<sid-linux> might it be a good idea to have `nvram asahi-boot-args=-v` (instead of `nvram boot-args=-v` ) so that users are not suprised by macOS also booting verbosely?
<sid-linux> initially i thought I had broken something when i saw all those boot messages in the macOS
<dottedmag> note that you are in developers' channel
<ChaosPrincess> might be a good idea, send a pr :P
<dottedmag> users are not supposed to set this flag
<sid-linux> i was asking to check other developer's feedback. yes, it might be a good idea to do this as a PR
dimilar has joined #asahi-dev
<sid-linux> dottedmag: indeed typical users will not set this. but developers are also users and they may not want a noisy startup on their macOS...
<sid-linux> anyways just asking
<_jannau__> it is potentially dangerous to set nvram variables that macos doesn't expect, for some (which macos partially understands or understood in the past) you win a dfu restore
<ChaosPrincess> it might be more resilient now, i had previously overwritten the entire nvram with junk data and only won a blaring boot chime, and boot picker showing up
<j`ey> m1n1 doesn't check nvram itself, right? -v is converted by iBoot into a boot_arg
<sven> yeah, -v is some iBoot thing which then sets a flag in the xnubootargs. it also doesn't enable verbose boot for m1n1, it enables proxy mode iirc
<ChaosPrincess> verbose boot is a side effect of enabling the proxy in release build
<sven> ah, makes sense I guess
<sid-linux> btw you can also y have verbose mode without proxy mode. proxy mode additionally requires csrutil disable. I successfully ran with csrutil enabled but with `nvram boot-args=-v`
dmatora has joined #asahi-dev
<sid-linux> j`ey is correctly -- m1n1 does not check nvram. it gets boot args from the _base address
<sven> oh, right, that was changed at some point because we originally thought we could only set -v with disabled security
<sven> as I said: sven> yeah, -v is some iBoot thing which then sets a flag in the xnubootargs [...]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j`ey> so I think it makes sense to leave it as -v
<sven> i'm reasonably sure there's also a filter in iBoot that just drops unsupported boot args
<sid-linux> j`ey agree
sid-linux has quit [Quit: User exited]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
apalos_ has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nehsou^ has quit [Remote host closed the connection]
ourdumbfuture has joined #asahi-dev
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
<alyssa> asahi linux snarfing wifi passwords from macos/1tr sounds terrifying and awesome
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
apalos_ has joined #asahi-dev
bisko has joined #asahi-dev
pjakobsson_ has joined #asahi-dev
pjakobsson has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
dmatora has quit [Ping timeout: 480 seconds]
dmatora has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stipa has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
gilvbp has quit [Quit: Connection closed for inactivity]
i509vcb has quit [Quit: Connection closed for inactivity]
mikelee has joined #asahi-dev
<marcan> sven: older iboot filtered -v, newer does not, that's why I changed it
<marcan> now we actually check the csrutil status (which we get in the DT) which should be safe
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi-dev
dimilar has quit [Remote host closed the connection]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has joined #asahi-dev
dmatora has quit [Ping timeout: 480 seconds]
nela has quit [Read error: Connection reset by peer]
nela has joined #asahi-dev
dmatora has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
nela6 has joined #asahi-dev
nela has quit [Read error: Connection reset by peer]
nela6 is now known as nela
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
dmatora has quit []
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
Leo3418 has quit [Quit: Applying updates]
Leo3418 has joined #asahi-dev
Leo3418 has quit []
mikelee has joined #asahi-dev
Leo3418 has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has joined #asahi-dev
Guest5585 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Jamie has joined #asahi-dev
rhysmdnz has joined #asahi-dev
Jamie is now known as Guest5884
mikelee has quit [Ping timeout: 480 seconds]
WindowPa- has joined #asahi-dev
mikelee has joined #asahi-dev
WindowPain has quit [Ping timeout: 480 seconds]
nela has quit [Read error: Connection reset by peer]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
darkapex has quit [Remote host closed the connection]
gladiac has joined #asahi-dev
mikelee has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
kujeger has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
rootbeerdan has joined #asahi-dev
mikelee has joined #asahi-dev
roxfan has joined #asahi-dev
ciara has quit [Quit: Leaving]
ciara has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
roxfan has quit [Read error: Connection reset by peer]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
jjanzic has quit [Ping timeout: 480 seconds]
jjanzic has joined #asahi-dev
darkapex has joined #asahi-dev
mikelee has joined #asahi-dev
roxfan has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
sid-linux has joined #asahi-dev
<sid-linux> is there a way of getting a textual representation of the apple device tree (adt) ? m1n1 code reads various things from it so it might be useful to be able to have a textual version for reference...
<ChaosPrincess> there is something like adt.py in m1n1, it dumps text repr to stdout
<sid-linux> (thanks !) -- we need to be running m1n1 on the proxy to be able to run this script right?
<sid-linux> *with the proxy
<ChaosPrincess> nope, it can run offline on an adt template extracted from ipsw
<ChaosPrincess> doesnt work with SAE networks unfortunately, macos doesnt write enough data into the nvram var
mikelee has quit [Ping timeout: 480 seconds]
<sid-linux> sorry -- can you explain "adt template extracted from ipsw" -- how do i do that ?
<alyssa> ChaosPrincess: oml
<sid-linux> (sorry still learning mac internals stuff)
<sid-linux> if its complicated, I can probably try running it via proxyclient... I assume it would work with that approach most simply?
<ChaosPrincess> grab the ipsw from i.e Firmware/all_flash/DeviceTree.j180dap.im4p , decode with openssl asn1parse -inform der -in DeviceTree.j180dap.im4p , grab the big hex blob, unhex into a file, decompress with i.e lzfse -decode -i DeviceTree.j180dap.data -o DeviceTree.j180dap.im4p then do sth like python3 -m m1n1.adt DeviceTree.j180dap.im4p >dts/DeviceTree.j180dap.im4p
<j`ey> or just use m1n1 :p
<sid-linux> j`ey: by m1n1 you mean m1n1 via the proxyclient?
<ChaosPrincess> well, that does not work when i dont have the device i want to grab device tees for :P
<j`ey> ChaosPrincess: true
<j`ey> sid-linux: yeah
cylm has quit [Ping timeout: 480 seconds]
nsklaus has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
sid-linux has quit [Quit: User exited]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi-dev