marcan changed the topic of #asahi-re to: Asahi Linux: porting Linux to Apple Silicon macs | Hardware / boot process / firmware interface reverse engineering | Keep things on topic | https://github.com/AsahiLinux | Logs: https://freenode.irclog.whitequark.org/asahi-re
zarvox has joined #asahi-re
aratuk has joined #asahi-re
aratuk_ has quit [Ping timeout: 260 seconds]
tiagom has quit [Quit: tiagom]
browzing has quit [Ping timeout: 246 seconds]
browzing has joined #asahi-re
browzing has quit [Ping timeout: 260 seconds]
stormclad has quit [Ping timeout: 256 seconds]
konstater has quit [Ping timeout: 245 seconds]
browzing has joined #asahi-re
browzing has quit [Ping timeout: 256 seconds]
aratuk has quit [Remote host closed the connection]
ceph3us has quit [Ping timeout: 245 seconds]
bear24rw has quit [Remote host closed the connection]
bear24rw has joined #asahi-re
bear24rw has quit [Remote host closed the connection]
bear24rw has joined #asahi-re
<rwhitby> https://mrcn.st/p/YjUy8ROY - I see the CD3217 USB-PD controller in there as i2c0 with the expected I2C addresses of 0x38 and 0x3F for the two ports.
<rwhitby> Should be able to talk the TI host interface protocol through that I2C bus.
<davidrysk[m]> I don't see a CD3217 on the MBP
<davidrysk[m]> nvm I do :)
<rwhitby> we think it may be the same as the TPS65987, so I expect the same host interface will work to talk to it
<rwhitby> Interesting that MBP teardown shows CD3217 but Mini teardown shows CD3218
<davidrysk[m]> maximus64: okay yeah looking at the strings in the usb kexts they probably are dwc cores
tiagom has joined #asahi-re
tiagom has quit [Client Quit]
tiagom has joined #asahi-re
balrog has joined #asahi-re
aratuk has joined #asahi-re
browzing has joined #asahi-re
bear24rw has quit [Remote host closed the connection]
bear24rw has joined #asahi-re
bear24rw has quit [Read error: Connection reset by peer]
bear24rw has joined #asahi-re
bear24rw has quit [Ping timeout: 260 seconds]
bear24rw has joined #asahi-re
aratuk_ has joined #asahi-re
bear24rw has quit [Ping timeout: 240 seconds]
aratuk has quit [Ping timeout: 265 seconds]
theracermaster has joined #asahi-re
aratuk has joined #asahi-re
aratuk_ has quit [Ping timeout: 256 seconds]
narmstrong has joined #asahi-re
bear24rw has joined #asahi-re
bear24rw has quit [Ping timeout: 246 seconds]
ohnx has joined #asahi-re
bear24rw has joined #asahi-re
bear24rw has quit [Remote host closed the connection]
bear24rw has joined #asahi-re
vimal has joined #asahi-re
sirn has joined #asahi-re
bear24rw has quit [Remote host closed the connection]
robinp has quit [Quit: Textual IRC Client: www.textualapp.com]
robinp has joined #asahi-re
bear24rw has joined #asahi-re
bear24rw has quit [Ping timeout: 264 seconds]
aat596[m] has joined #asahi-re
DarthCloud has quit [Ping timeout: 240 seconds]
DarthCloud has joined #asahi-re
TellowKrinkle[m] has joined #asahi-re
redbluescreen[m] has joined #asahi-re
hipboi[m] has joined #asahi-re
DrGit[m] has joined #asahi-re
modwizcode has joined #asahi-re
diz3y_ has joined #asahi-re
diz3y has quit [Ping timeout: 256 seconds]
sharpiro_ has quit [Quit: Leaving]
<Shiz> i extracted the big sur dyld cache
bear24rw has joined #asahi-re
<marcan> puhitaku: that was already the plan, shhh, don't spoil it
<marcan> rwhitby: keep in mind the TPS65987 has a different package (which I noticed yesterday), so I'm not so sure any more
<marcan> could just be a package difference but that feels odd
<marcan> so it could also be an actual apple custom part
<marcan> but probably based on the same platform, assuming that's ace2
<marcan> anyway, off to sleep :)
<marcan> I started writing a hardware wiki page at some point and apparently screwed up and closed the tab
<Shiz> aw
<Shiz> i've been looking at how bputil and the Preboot partition interact
<marcan> bputil does.... lots of things
<marcan> run it with debugging
jrmuizel[m] has joined #asahi-re
<Shiz> i already got to the point that most of the cool stuff is in libbootpolicy.dylib
<Shiz> which is in a dyld shared cache
<Shiz> hence the big sur remark ^ above :p
<marcan> right :)
<Shiz> i might submit it to that repo but it's honestly as much as a hackjob as the pre-big sur extractor
<Shiz> just modified apple sources to build on non-internal SDKs
<Shiz> (by that repo i mean the one for the other pre-big sur extractor, fwiw)
<Shiz> anyway, at least it's fairly obvious that the actual img4 files are in <preboot>/$VolID/boot/$NextStageHash (as per variables output by bputil) :p
<marcan> yeah
<marcan> ideally I want to find some way of dual booting without too much fuss
<marcan> one warning, not sure if you saw this earlier: shrinking the macos partition and creating a linux partition after that breaks recovery (but not macos!)
<marcan> deleting the linux partition (leaving free space) fixes it
<Shiz> ouch, fun
<marcan> the APFS partitions seem to have some references to partition numbers for recovery/etc judging by diskutil output
<marcan> but it's all really unclear
<Shiz> might take a peek later
<Shiz> something that stood out to me from bputil was
<Shiz> CustomKC or fuOS Image4 hash (coih): absent
<Shiz> wonder what fuOS is
<marcan> same
<marcan> I saw that
<marcan> anyway, nn :)
<Shiz> sleep tight!
<Shiz> I do appreciate how bputil states "It should only be used to understand how the security of Apple Silicon Macs works." :eyes:
<davidrysk[m]> marcan: what if you relocate the recovery partition to be immediately after the macOS partition?
<davidrysk[m]> and put the Linux partition after the recovery partition
<sven> hrm, i remember reading somewhere that fuOS = fully untrusted OS but i can't find it anymore
<davidrysk[m]> That's also concerning because it might mean you need a minimal macOS partition for recovery to work
<davidrysk[m]> or an empty partition in that slot
<davidrysk[m]> someone who has two Macs and is willing to potentially brick (and need to DFU) their M1 Mac could try
bear24rw has quit [Remote host closed the connection]
bear24rw has joined #asahi-re
stormclad has joined #asahi-re
bear24rw has quit [Remote host closed the connection]
diz3y has joined #asahi-re
diz3y_ has quit [Ping timeout: 264 seconds]
bear24rw has joined #asahi-re
<Shiz> libbootpolicy.dylib seems to have some necessary functions to enroll custom stuff
<Shiz> _bootpolicy_update_local_policy_for_custom_os
<Shiz> also seeing reference to something called kcOS
<Shiz> and restoreOS, which is distinct from recoveryOS and 1TF apparently
Mary_ has quit [Ping timeout: 240 seconds]
bear24rw has quit [Remote host closed the connection]
bear24rw has joined #asahi-re
bear24rw has quit [Remote host closed the connection]
bear24rw has joined #asahi-re
ch3sh1r3c4t has joined #asahi-re
<roxfan> ah hm storeOS
<roxfan> *restoreOS
<Shiz> it might be that restoreOS is the OS that is ran on it when being revived through DFU
<Shiz> (speculation, though)
<roxfan> yeah that would be my guess
<roxfan> need to look at that configurator thingy
modwizcode has quit [Quit: Later]
modwizcode has joined #asahi-re
Tokamak has joined #asahi-re
Baughn_ has joined #asahi-re
<roxfan> thx
Baughn has quit [Ping timeout: 256 seconds]
Baughn_ is now known as Baughn
<roxfan> I wonder why EFI files are x64. is there an x64 cpu for recovery?
<roxfan> https://bpa.st/ZUUQ ipsw contents
<roxfan> diags.efi inside AppleDiagnostics.dmg is x64 too
<roxfan> it's HFS+ too
sduarte has joined #asahi-re
<davidrysk[m]> roxfan: the m1 OS seems to bundle both x86 and arm
sduarte has quit [Ping timeout: 245 seconds]
<davidrysk[m]> also, EFI files are only for x64 Macs
<davidrysk[m]> M1 Macs don't use EFI
<roxfan> so they just forgot to trim the ipsw?
Mary_ has joined #asahi-re
<roxfan> or intel macs use it too?
stormclad has quit [Ping timeout: 264 seconds]
<Shiz> it's a universal restore
<Shiz> as the name implies
bear24rw has quit [Remote host closed the connection]
bear24rw has joined #asahi-re
tiagom has quit [Quit: tiagom]
<roxfan> I thought ipsw was used only for iOS and now Apple Silicon
<davidrysk[m]> at the moment it isn't used for Intel Macs
<davidrysk[m]> They didn't trim the IPSW, they didn't trim the installed OS/Recovery either
<roxfan> huh
konstater has joined #asahi-re
stormclad has joined #asahi-re
Tokamak has quit [Quit: Textual IRC Client: www.textualapp.com]
Tokamak has joined #asahi-re
mellotron1[m] has joined #asahi-re
maor26 has joined #asahi-re
konstater has quit [Ping timeout: 245 seconds]
stormclad has quit [Ping timeout: 264 seconds]
stormclad has joined #asahi-re
stormclad has quit [Remote host closed the connection]
stormclad has joined #asahi-re
stormclad56 has joined #asahi-re
stormclad has quit [Ping timeout: 246 seconds]
maor26 has quit [Ping timeout: 264 seconds]
stormclad56 has quit [Ping timeout: 246 seconds]