marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
wiloon has joined #asahi
furkan has joined #asahi
ky0ko has joined #asahi
raster has quit [Quit: Gettin' stinky!]
dstzd has quit [Quit: ZNC - https://znc.in]
dstzd has joined #asahi
dstzd has quit [Client Quit]
<xMopx> /msg *status listchan
<xMopx> nice work, me
dstzd has joined #asahi
dstzd has quit [Client Quit]
Necrosporus is now known as Guest92356
Guest92356 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
Necrosporus has joined #asahi
dstzd has joined #asahi
dstzd has quit [Client Quit]
dstzd has joined #asahi
dstzd has quit [Client Quit]
Necrosporus is now known as Guest47765
Guest47765 has quit [Killed (tepper.freenode.net (Nickname regained by services))]
Necrosporus has joined #asahi
aratuk has joined #asahi
dstzd has joined #asahi
dstzd has quit [Client Quit]
dstzd has joined #asahi
dstzd has quit [Client Quit]
Bublik has quit [Read error: Connection reset by peer]
Bublik has joined #asahi
modwizcode has quit [Quit: Later]
dstzd has joined #asahi
<rwhitby> anyone here other than marcan been playing with the VDMs and pinsets?
<maximus64> I got vdmtool setup and ready but my macbook haven't arrive yet :/
<rwhitby> I have a different board (proprietary, unpublished) which I'm using to communicate. Trying to get my head around the pinsets and actions.
<rwhitby> I've scripted the error-recovery, reboot-normal and reboot-dfu actions. now starting on getting UART output and the I2C buses
ah-[m] has joined #asahi
<maximus64> are you using voltage level converter for UART?
<maximus64> My adapter can only go down to 1.8 looking for something that can do 1.2v
wiloon has quit [Quit: Connection closed for inactivity]
<rwhitby> I'm not driving UART yet - don't have a 1.2V converter. just monitoring on Saleae
<rwhitby> ok, I think I have my head around AppleVDM Perform Action now
<maximus64> got UART working?
<rwhitby> no, just how to map actions to pinsets and interpret the VDM response
<maximus64> ah
<maximus64> heh look like you figure out the pinset :)
<rwhitby> (and figured out how to gist images too!)
<maximus64> so bits [22:16] control the pin set right?
<rwhitby> Yes, it's a one-hot bit mask of pinsets I think. So I incrementally added the action to each of three pinsets, and then incrementally took it off in the same order.
Necrosporus is now known as Guest75664
Necrosporus_ has joined #asahi
Guest75664 has quit [Killed (weber.freenode.net (Nickname regained by services))]
Necrosporus_ is now known as Necrosporus
<maximus64> yea that what I got from the wiki as well
<maximus64> Do you know if we can do DFU recover using Intel Mac host? I don't have any Mac machine. Planing to setup a OSX VM just for DFU incase I brick the OS
Tokamak_ has joined #asahi
wiloon has joined #asahi
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak_ has quit [Ping timeout: 240 seconds]
Tokamak has joined #asahi
<rwhitby> maximus64: I've confirmed DFU recover of M1 Mac using Intel Mac as the source host
<rwhitby> A native Intel MacBook Pro. Don't know how an OSX VM on another host OS will go - may depend on how good the USB passthrough is.
<maximus64> thanks good to know! hopefully it work :)
Tokamak_ has joined #asahi
Necrosporus has quit [Ping timeout: 265 seconds]
Tokamak has quit [Ping timeout: 260 seconds]
<furkan> marcan: i have tons of cdroms lying around, for salvaging parts (all functional but have no use for them)
<furkan> (hello btw)
DarthCloud has quit [Ping timeout: 240 seconds]
DarthCloud has joined #asahi
Necrosporus has joined #asahi
DarthCloud has quit [Ping timeout: 240 seconds]
DarthCloud has joined #asahi
ml_ has joined #asahi
ml has quit [Ping timeout: 258 seconds]
plainbits has joined #asahi
aratuk_ has joined #asahi
aratuk has quit [Ping timeout: 264 seconds]
<sven> marcan: nice :)
<rwhitby> marcan: calling Apple VDM Perform Action with an action of 0x000 allows you to query the current pinset settings: https://gist.github.com/rwhitby/0a69d1ffa44719b0a6470cc6c1dbc36a
<maximus64> ah nice you should add to the wiki page :)
<rwhitby> yep, will be doing that
Necrosporus has quit [Read error: Connection reset by peer]
Necrosporus has joined #asahi
<winocm> hi
* rwhitby significantly updated https://gist.github.com/rwhitby/b98254e84ae402e87a25c6b981303511 to show the static pin behaviour for all the known Apple VDM action sets.
<JTL> rwhitby: logic analyzer? cool
<marcan> rwhitby: oh nice, that's useful
<JTL> (just a bit of a fly on the wall with hardware stuff, that's all)
<marcan> (also hi I'm awake and overslept)
<rwhitby> sleep is always good
<JTL> Been there done that
<JTL> (the oversleeping part)
<JTL> my sleep cycle can best by described by /dev/urandom
<JTL> thx
<marcan> mood
<JTL> Glad you get it
<marcan> ok, going to grab some food/coffee and set things up
<maximus64> let get linux boot :P
aratuk_ has quit [Read error: Connection reset by peer]
aratuk has joined #asahi
<tbodt> is it now as easy as kmutil configure-boot --custom-boot-object?
<marcan> for mach-o xnu-like executable values of custom boot objects, yes
blward has joined #asahi
<tbodt> I assume this works perfectly if your custom boot object happens to be a build of xnu
<blward> Hey all - does anyone know where marcan will be streaming tonight?
<tbodt> youtube probably
<tbodt> I would watch for a link on twitter
<blward> Alright, thank you
<marcan> or subscribe to my channel and hit the bell :p
<JTL> why subscribe when I can get notified on IRC? :p
wiloon has quit [Quit: Connection closed for inactivity]
<tbodt> I like twitch better, mainly because there's a pretty large existing community of programming streamers
<blward> I do too, but both work
<JTL> tbodt: does twitch still do VOD archives? Thought they got rid of that?
<tbodt> they do, for 2 weeks
<marcan> youtube lets me leave the vods up forever
<JTL> ^
<marcan> that's more valuable
<tbodt> yep
<marcan> I'm thinking of unlisting them eventually and putting them in a playlist though, because it might be clutter
<marcan> but they'll be accessible
<blward> A lot of people do streaming on Twitch, VODs on YouTube, either way it works though
<blward> Makes sense
<tbodt> I think there is an export to youtube button on twitch but it isn't automatic and kinda sucks
<JTL> and why bother having to either upload the Twitch transcoded version, or find the source files and upload them yourself?
<JTL> (assuming recorded locally)
<marcan> yeah, it's more effort
<marcan> I'm trying to make this as low-effort as possible so I'll actually *do* it
<tbodt> you could simultaneously stream to youtube and twitch but then you have to find some chat client that shows both
<blward> I am not really a streamer but when I've done it before I just have OBS capture locally as well
<blward> And then you can upload that to YouTube
<blward> Again, more work though
<tbodt> yeah less work is betteer
<JTL> but marcan is streaming directly to youtube, so it kind of does archiving for "free" :)
nhlism[m] has joined #asahi
<marcan> 2020 turned me into a twitch streamer. not personal though ;)
<JTL> killing two birds with one stone
<marcan> JTL: exactly
<JTL> marcan: anything to expand on that?
<marcan> I'm stream op for twitter.com/animeltup and did a 6-hour or so slot for Anikura Unison on new year's
<marcan> I signed up to do lasers at the physical event, then COVID hit... and well, I ended up stream engineer and MC instead
<blward> Lasers are badass, very cool
<marcan> https://www.youtube.com/watch?v=5lHn73MsE7c <- did a (quarter) talk on it too
<marcan> anyway, this is OT
<marcan> food and stream
<JTL> fair
<JTL> was just curious
<JTL> cheers
riker77 has quit [Quit: Quitting IRC - gone for good...]
aratuk has quit []
riker77_ has joined #asahi
riker77_ is now known as riker77
<Shiz> yay that talk
<Shiz> ;>
<winocm> I should become a vtuber
frode_0xa has joined #asahi
Lumi[m] has joined #asahi
robinp_ has joined #asahi
<marcan> huh, now my mba macOS isn't booting
<marcan> I wonder if it's possible that beta2 SFR broke booting beta1
robinp has quit [Ping timeout: 264 seconds]
<Shiz> :sweat:
<marcan> I guess we'll find out if mini stops booting on my Mini, as I'm doing the same thing but backwards there
<Shiz> m1n1 on the m1ni
<JTL> and what is SFR?
<marcan> System Firmware and Recovery
<JTL> ah yeah
<JTL> makes sense
<Shiz> seems something broke wireguard again, can't connect to my m1 remotely
plainbits has quit [Ping timeout: 272 seconds]
blward has quit [Ping timeout: 248 seconds]
plainbits has joined #asahi
<marcan> starting soon: https://youtu.be/d5s9fYfvzmY
<marcan> I'll be in #asahi-dev
raster has joined #asahi
frode_0xa has quit [Quit: leaving]
frode_0xa has joined #asahi
<rwhitby> maximus64: 1.8 is the lowest voltage for glasgow
<maximus64> yea marcan just mention on stream as well :)
Tokamak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
furkan has quit [Ping timeout: 260 seconds]
Axenntio has joined #asahi
furkan has joined #asahi
<marcan> PSA: confirmed, installing beta 2 breaks booting beta 1 (or any partition based on beta 1)
aratuk has joined #asahi
<Shiz> fun
<marcan> you can fix it manually by copying Preboot stuff over and bputiling, at least for the purposes of Linux booting
taziden has joined #asahi
ar has joined #asahi
<dhewg> there was a "denx" copyright in the chromium src btw
<bkero> At least there's no sort of e-fuses they're blowing
Axenntio_ has joined #asahi
ephe_meral has joined #asahi
plainbits has quit [Ping timeout: 272 seconds]
plainbits has joined #asahi
Axenntio_ has quit []
Axenntio has quit [Quit: Leaving]
Axenntio has joined #asahi
furkan has quit [Ping timeout: 264 seconds]
wiloon has joined #asahi
<dottedmag> marcan: Someone is wrong in the Internetz
vimal has joined #asahi
<porky> *interwebz ^
bjornjulander[m] has joined #asahi
milek7 has left #asahi ["http://quassel-irc.org - Chat comfortably. Anywhere."]
amw1 has joined #asahi
<jix> marcan: https://docs.python.org/3/library/readline.html at the very end defines a HistoryConsole that seems to work
sepehr_ has joined #asahi
CalumK has joined #asahi
wiloon has quit [Quit: Connection closed for inactivity]
amw1 has quit [Ping timeout: 256 seconds]
Bublik has quit [Ping timeout: 264 seconds]
Bublik has joined #asahi
dancer[m] has joined #asahi
<fridtjof[m]> 1tr% tool assisted speed run
<jn__> :D
<ar> badapple% speed run
Axenntio has quit [Ping timeout: 246 seconds]
furkan has joined #asahi
nutmanja[m] has joined #asahi
<dhewg> marcan: you're not passing 'baudrate' to the request
<dhewg> ;)
gabiruh has joined #asahi
<jix> marcan: you broke the state machine in reply
<jix> you always set it to b'\xff' if it is empty
ml_ is now known as ml
Axenntio has joined #asahi
<Shiz> ]/w 66
enverb[m] has joined #asahi
Axe has joined #asahi
Axenntio has quit [Quit: Leaving]
Axe has quit [Remote host closed the connection]
Axenntio has joined #asahi
jean-franoiswitz has joined #asahi
helikoptere has joined #asahi
Bodzioslaw has joined #asahi
plainbits has quit [Ping timeout: 272 seconds]
plainbits has joined #asahi
dstzd has quit [Quit: ZNC - https://znc.in]
dstzd has joined #asahi
dstzd has quit [Client Quit]
choozy has joined #asahi
dstzd has joined #asahi
dstzd has quit [Client Quit]
dstzd has joined #asahi
dstzd has quit [Client Quit]
dstzd has joined #asahi
dstzd has quit [Client Quit]
sepehr_ has quit [Ping timeout: 240 seconds]
dstzd has joined #asahi
dstzd has quit [Client Quit]
kopenick has joined #asahi
kopenick has quit [Quit: Connection closed]
<furkan> oh cool @winocm is here! it's nice to see you around again! (you've helped me on porting xnu to beaglebone many years ago! ~seven years I guess?)
<winocm> almost a decade yeah
<furkan> was extreme fun. i worked on those 2-3 days in rows without sleep
<furkan> (was mixed with linux+mptcp experiments on beaglebone)
<furkan> thanks for the initiative back then!
<winocm> I wish I could actually work for more than 1.5 days with no sleep without crashing these days
<winocm> hah, no problem
aratuk has quit [Remote host closed the connection]
frode_0xa has quit [Remote host closed the connection]
frode_0xa has joined #asahi
frode_0xa has quit [Client Quit]
modwizcode has joined #asahi
dstzd has joined #asahi
dstzd has quit [Client Quit]
dstzd has joined #asahi
dstzd has quit [Client Quit]
dstzd has joined #asahi
dstzd has quit [Client Quit]
dstzd has joined #asahi
dstzd has quit [Client Quit]
ephe_meral has quit [Ping timeout: 260 seconds]
Tokamak has joined #asahi
m42uko has quit [Remote host closed the connection]
m42uko has joined #asahi
plainbits has quit [Quit: Go to sleep. Night!]
<davidrysk[m]> winocm: I feel you :(
<davidrysk[m]> if I get no sleep I'm completely unproductive the next day
CalumK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dstzd has joined #asahi
dstzd has quit [Client Quit]
<krbtgt> damn i should bust out my N900
jjanzic has joined #asahi
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak has joined #asahi
Tokamak_ has joined #asahi
dstzd has joined #asahi
Tokamak has quit [Ping timeout: 260 seconds]
Tokamak_ has quit [Read error: Connection reset by peer]
Tokamak has joined #asahi
aratuk has joined #asahi
aratuk has quit [Ping timeout: 240 seconds]
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak has joined #asahi
mechpilotace has joined #asahi
Tokamak has quit [Ping timeout: 240 seconds]
Tokamak has joined #asahi
Tokamak has quit [Ping timeout: 240 seconds]
Tokamak has joined #asahi
Spiffy has joined #asahi
Tokamak has quit [Ping timeout: 246 seconds]
Tokamak has joined #asahi
<rjeli> would i be able to get uart boot log from my usb-c explorer? it uses fusb302b, i think someone mentioned it a few days ago
<rjeli> no search on my mobile irc app, ill scroll..
<rjeli> nvm found it, different i2c addr
ky0ko has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ky0ko has joined #asahi
Tokamak has quit [Ping timeout: 272 seconds]
Tokamak has joined #asahi
Tokamak has quit [Ping timeout: 256 seconds]
aratuk has joined #asahi
TheJollyRoger has quit [Ping timeout: 240 seconds]
TheJollyRoger has joined #asahi
aratuk has quit [Ping timeout: 265 seconds]
Tokamak has joined #asahi
Tokamak has quit [Ping timeout: 265 seconds]
<marcan> btw, the beta2 SFR can't boot beta1 iBoot2 is indeed an iBoot panic
<marcan> SOCD report detected: (iBoot panic)
<marcan> rjeli: to make the uart work on booth it is a requirement to operate as a source (DFP) and that requires a vbus switch to negotiate properly
<marcan> I do not know that the USB-C explorer can do that
<marcan> you don't need much current so a 5V GPIO from the arduino as "VBUS" is sufficient (it's what I do)
<marcan> *on boot
<marcan> it's really sad that all these usb-c test boards don't break out all the pins
<opticron> aren't you supposed to be asleep?
<opticron> :)
<marcan> :p
Tokamak has joined #asahi
raster has quit [Quit: Gettin' stinky!]
<maximus64> rjeli: I check the schematic of usb-c explorer. VBUS is routed to a header but SBU and all the SSTX/RX isn't routed. Only USB2 pair is accessible.
<maximus64> If you can mux serial to the USB2 pinset then it might work :)
<maximus64> wiki said it should be possible to map it to USB2 pinsets https://github.com/AsahiLinux/docs/wiki/HW%3AUSB-PD
<maximus64> anoying thing is that USB2 pin is wire to the SAMD MCU :/
ephe_meral has joined #asahi
ephe_meral has quit [Ping timeout: 240 seconds]
raster has joined #asahi
HeN has joined #asahi
TheJollyRoger has quit [Ping timeout: 240 seconds]
TheJollyRoger has joined #asahi
Axenntio has quit [Remote host closed the connection]
<rjeli> cool, thanks for the help
<rjeli> i can just echo it from the mcu to its uart right
<maximus64> not really it used 1.2V logic level
<rjeli> i see
<rjeli> ok ill get an arduino then :p
<maximus64> you can use any MCU that can do I2C :p
<maximus64> for the 1.2v UART, I haven't see any off the shelf adapter that can do 1.2v level yet. You can use s level shifter or find one that have close enough logic level and use cheap resistor divider network on the TX line
zopieux has quit [Ping timeout: 260 seconds]
<marcan> 1.8 works fine
<marcan> but really just get a level shifter
<maximus64> heh you still awake
<maximus64> we should make a USB-C debug adapter with all the pin routed out
CalumK has joined #asahi
kido has quit [Ping timeout: 260 seconds]
aratuk has joined #asahi
kido has joined #asahi
sumoon[m] has quit [Ping timeout: 260 seconds]
ksixty has quit [Ping timeout: 260 seconds]
sumoon[m] has joined #asahi
enverb[m] has quit [Ping timeout: 260 seconds]
samumartinf[m] has quit [Ping timeout: 260 seconds]
clover[m] has quit [Ping timeout: 260 seconds]
botoxparty[m] has quit [Ping timeout: 260 seconds]
os[m] has quit [Ping timeout: 260 seconds]
titanous has quit [Ping timeout: 260 seconds]
samumartinf[m] has joined #asahi
clover[m] has joined #asahi
ksixty has joined #asahi
os[m] has joined #asahi
botoxparty[m] has joined #asahi
enverb[m] has joined #asahi
titanous has joined #asahi
aratuk has quit [Ping timeout: 256 seconds]
zopieux has joined #asahi
CalumK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zopieux has quit [Ping timeout: 240 seconds]
superk has quit [Ping timeout: 256 seconds]
zopieux has joined #asahi
raster has quit [Quit: Gettin' stinky!]
<rwhitby> yes
raster has joined #asahi
choozy has quit [Remote host closed the connection]
aratuk has joined #asahi
somerandomguy has joined #asahi
Tokamak has quit [Ping timeout: 264 seconds]
Tokamak has joined #asahi
raster has quit [Quit: Gettin' stinky!]
HeN has quit [Quit: Connection closed for inactivity]
<somerandomguy> hey guys.