#
…

2021-01-14

00:01wiloon has joined #asahi
00:06furkan has joined #asahi
00:29ky0ko has joined #asahi
00:36raster has quit [Quit: Gettin' stinky!]
00:38dstzd has quit [Quit: ZNC - https://znc.in]
00:42dstzd has joined #asahi
00:42dstzd has quit [Client Quit]
00:44xMopx/msg *status listchan
00:44xMopxnice work, me
01:00dstzd has joined #asahi
01:01dstzd has quit [Client Quit]
01:01Necrosporus is now known as Guest92356
01:01Guest92356 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
01:01Necrosporus has joined #asahi
01:02dstzd has joined #asahi
01:03dstzd has quit [Client Quit]
01:07dstzd has joined #asahi
01:08dstzd has quit [Client Quit]
01:10Necrosporus is now known as Guest47765
01:10Guest47765 has quit [Killed (tepper.freenode.net (Nickname regained by services))]
01:10Necrosporus has joined #asahi
01:10aratuk has joined #asahi
01:17dstzd has joined #asahi
01:20dstzd has quit [Client Quit]
01:20dstzd has joined #asahi
01:22dstzd has quit [Client Quit]
01:30Bublik has quit [Read error: Connection reset by peer]
01:32Bublik has joined #asahi
01:39modwizcode has quit [Quit: Later]
01:41dstzd has joined #asahi
01:49rwhitbyanyone here other than marcan been playing with the VDMs and pinsets?
01:50maximus64I got vdmtool setup and ready but my macbook haven't arrive yet :/
01:53rwhitbyI have a different board (proprietary, unpublished) which I'm using to communicate. Trying to get my head around the pinsets and actions.
01:55rwhitbyI've scripted the error-recovery, reboot-normal and reboot-dfu actions. now starting on getting UART output and the I2C buses
01:56ah-[m] has joined #asahi
01:57maximus64are you using voltage level converter for UART?
01:58maximus64My adapter can only go down to 1.8 looking for something that can do 1.2v
02:10wiloon has quit [Quit: Connection closed for inactivity]
02:12rwhitbyI'm not driving UART yet - don't have a 1.2V converter. just monitoring on Saleae
02:39rwhitbyok, I think I have my head around AppleVDM Perform Action now
02:42maximus64got UART working?
02:42rwhitbyno, just how to map actions to pinsets and interpret the VDM response
03:11maximus64heh look like you figure out the pinset :)
03:13rwhitby(and figured out how to gist images too!)
03:19maximus64so bits [22:16] control the pin set right?
03:23rwhitbyYes, 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.
03:24Necrosporus is now known as Guest75664
03:24Necrosporus_ has joined #asahi
03:24Guest75664 has quit [Killed (weber.freenode.net (Nickname regained by services))]
03:24Necrosporus_ is now known as Necrosporus
03:30maximus64yea that what I got from the wiki as well
03:34maximus64Do 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
03:36Tokamak_ has joined #asahi
03:37wiloon has joined #asahi
03:39Tokamak has quit [Ping timeout: 256 seconds]
03:40Tokamak_ has quit [Ping timeout: 240 seconds]
03:47Tokamak has joined #asahi
04:02rwhitbymaximus64: I've confirmed DFU recover of M1 Mac using Intel Mac as the source host
04:03rwhitbyA 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.
04:11maximus64thanks good to know! hopefully it work :)
04:17Tokamak_ has joined #asahi
04:19Necrosporus has quit [Ping timeout: 265 seconds]
04:21Tokamak has quit [Ping timeout: 260 seconds]
04:37furkanmarcan: i have tons of cdroms lying around, for salvaging parts (all functional but have no use for them)
04:37furkan(hello btw)
04:54DarthCloud has quit [Ping timeout: 240 seconds]
04:55DarthCloud has joined #asahi
05:08Necrosporus has joined #asahi
05:18DarthCloud has quit [Ping timeout: 240 seconds]
05:20DarthCloud has joined #asahi
05:30ml_ has joined #asahi
05:31ml has quit [Ping timeout: 258 seconds]
05:33plainbits has joined #asahi
05:46aratuk_ has joined #asahi
05:50aratuk has quit [Ping timeout: 264 seconds]
05:55svenmarcan: nice :)
06:10rwhitbymarcan: calling Apple VDM Perform Action with an action of 0x000 allows you to query the current pinset settings: https://gist.github.com/rwhitby/0a69d1ffa44719b0a6470cc6c1dbc36a
06:12maximus64ah nice you should add to the wiki page :)
06:14rwhitbyyep, will be doing that
06:15Necrosporus has quit [Read error: Connection reset by peer]
06:15Necrosporus has joined #asahi
06:32* rwhitbysignificantly updated https://gist.github.com/rwhitby/b98254e84ae402e87a25c6b981303511 to show the static pin behaviour for all the known Apple VDM action sets.
06:35JTLrwhitby: logic analyzer? cool
06:35marcanrwhitby: oh nice, that's useful
06:35JTL(just a bit of a fly on the wall with hardware stuff, that's all)
06:36marcan(also hi I'm awake and overslept)
06:36rwhitbysleep is always good
06:36JTLBeen there done that
06:36JTL(the oversleeping part)
06:37JTLmy sleep cycle can best by described by /dev/urandom
06:37JTLGlad you get it
06:37marcanok, going to grab some food/coffee and set things up
06:37maximus64let get linux boot :P
06:40aratuk_ has quit [Read error: Connection reset by peer]
06:40aratuk has joined #asahi
06:50tbodtis it now as easy as kmutil configure-boot --custom-boot-object?
06:52marcanfor mach-o xnu-like executable values of custom boot objects, yes
06:54blward has joined #asahi
06:55tbodtI assume this works perfectly if your custom boot object happens to be a build of xnu
06:55blwardHey all - does anyone know where marcan will be streaming tonight?
06:55tbodtyoutube probably
06:55tbodtI would watch for a link on twitter
06:55blwardAlright, thank you
06:56marcanor subscribe to my channel and hit the bell :p
06:56JTLwhy subscribe when I can get notified on IRC? :p
06:56wiloon has quit [Quit: Connection closed for inactivity]
06:57tbodtI like twitch better, mainly because there's a pretty large existing community of programming streamers
06:57blwardI do too, but both work
06:57JTLtbodt: does twitch still do VOD archives? Thought they got rid of that?
06:57tbodtthey do, for 2 weeks
06:57marcanyoutube lets me leave the vods up forever
06:57marcanthat's more valuable
06:58marcanI'm thinking of unlisting them eventually and putting them in a playlist though, because it might be clutter
06:58marcanbut they'll be accessible
06:58blwardA lot of people do streaming on Twitch, VODs on YouTube, either way it works though
06:58blwardMakes sense
06:58tbodtI think there is an export to youtube button on twitch but it isn't automatic and kinda sucks
06:58JTLand why bother having to either upload the Twitch transcoded version, or find the source files and upload them yourself?
06:58JTL(assuming recorded locally)
06:58marcanyeah, it's more effort
06:58marcanI'm trying to make this as low-effort as possible so I'll actually *do* it
06:58tbodtyou could simultaneously stream to youtube and twitch but then you have to find some chat client that shows both
06:58blwardI am not really a streamer but when I've done it before I just have OBS capture locally as well
06:58blwardAnd then you can upload that to YouTube
06:59blwardAgain, more work though
06:59tbodtyeah less work is betteer
06:59JTLbut marcan is streaming directly to youtube, so it kind of does archiving for "free" :)
06:59nhlism[m] has joined #asahi
06:59marcan2020 turned me into a twitch streamer. not personal though ;)
06:59JTLkilling two birds with one stone
06:59marcanJTL: exactly
06:59JTLmarcan: anything to expand on that?
07:00marcanI'm stream op for twitter.com/animeltup and did a 6-hour or so slot for Anikura Unison on new year's
07:00marcanI signed up to do lasers at the physical event, then COVID hit... and well, I ended up stream engineer and MC instead
07:00blwardLasers are badass, very cool
07:01marcananyway, this is OT
07:01marcanfood and stream
07:01JTLwas just curious
07:01JTLcheers
07:21riker77 has quit [Quit: Quitting IRC - gone for good...]
07:21aratuk has quit []
07:22riker77_ has joined #asahi
07:22riker77_ is now known as riker77
07:24Shizyay that talk
07:30winocmI should become a vtuber
07:44frode_0xa has joined #asahi
07:45Lumi[m] has joined #asahi
07:47robinp_ has joined #asahi
07:50marcanhuh, now my mba macOS isn't booting
07:50marcanI wonder if it's possible that beta2 SFR broke booting beta1
07:50robinp has quit [Ping timeout: 264 seconds]
07:50Shiz:sweat:
07:51marcanI guess we'll find out if mini stops booting on my Mini, as I'm doing the same thing but backwards there
07:52Shizm1n1 on the m1ni
07:55JTLand what is SFR?
07:55marcanSystem Firmware and Recovery
07:55JTLah yeah
07:55JTLmakes sense
07:56Shizseems something broke wireguard again, can't connect to my m1 remotely
07:57plainbits has quit [Ping timeout: 272 seconds]
07:57blward has quit [Ping timeout: 248 seconds]
08:00plainbits has joined #asahi
08:03marcanI'll be in #asahi-dev
08:11raster has joined #asahi
08:12frode_0xa has quit [Quit: leaving]
08:13frode_0xa has joined #asahi
08:25rwhitbymaximus64: 1.8 is the lowest voltage for glasgow
08:29maximus64yea marcan just mention on stream as well :)
08:30Tokamak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:38furkan has quit [Ping timeout: 260 seconds]
08:46Axenntio has joined #asahi
08:48furkan has joined #asahi
08:50marcanPSA: confirmed, installing beta 2 breaks booting beta 1 (or any partition based on beta 1)
08:50aratuk has joined #asahi
08:51marcanyou can fix it manually by copying Preboot stuff over and bputiling, at least for the purposes of Linux booting
08:51taziden has joined #asahi
08:51ar has joined #asahi
08:52dhewgthere was a "denx" copyright in the chromium src btw
08:53bkeroAt least there's no sort of e-fuses they're blowing
08:53Axenntio_ has joined #asahi
08:54ephe_meral has joined #asahi
09:00plainbits has quit [Ping timeout: 272 seconds]
09:02plainbits has joined #asahi
09:04Axenntio_ has quit []
09:07Axenntio has quit [Quit: Leaving]
09:07Axenntio has joined #asahi
09:32furkan has quit [Ping timeout: 264 seconds]
09:50wiloon has joined #asahi
09:59dottedmagmarcan: Someone is wrong in the Internetz
10:23vimal has joined #asahi
10:28porky*interwebz ^
10:44bjornjulander[m] has joined #asahi
10:54milek7 has left #asahi ["http://quassel-irc.org - Chat comfortably. Anywhere."]
10:58amw1 has joined #asahi
11:25jixmarcan: https://docs.python.org/3/library/readline.html at the very end defines a HistoryConsole that seems to work
11:28sepehr_ has joined #asahi
11:28CalumK has joined #asahi
11:58wiloon has quit [Quit: Connection closed for inactivity]
12:00amw1 has quit [Ping timeout: 256 seconds]
12:05Bublik has quit [Ping timeout: 264 seconds]
12:07Bublik has joined #asahi
12:07dancer[m] has joined #asahi
12:09fridtjof[m]1tr% tool assisted speed run
12:12arbadapple% speed run
12:32Axenntio has quit [Ping timeout: 246 seconds]
12:35furkan has joined #asahi
12:39nutmanja[m] has joined #asahi
12:40dhewgmarcan: you're not passing 'baudrate' to the request
12:47gabiruh has joined #asahi
13:04jixmarcan: you broke the state machine in reply
13:04jixyou always set it to b'\xff' if it is empty
13:05ml_ is now known as ml
13:20Axenntio has joined #asahi
13:21Shiz]/w 66
13:27enverb[m] has joined #asahi
13:29Axe has joined #asahi
13:29Axenntio has quit [Quit: Leaving]
13:29Axe has quit [Remote host closed the connection]
13:29Axenntio has joined #asahi
13:40jean-franoiswitz has joined #asahi
13:40helikoptere has joined #asahi
14:23Bodzioslaw has joined #asahi
14:31plainbits has quit [Ping timeout: 272 seconds]
14:32plainbits has joined #asahi
14:35dstzd has quit [Quit: ZNC - https://znc.in]
14:44dstzd has joined #asahi
14:45dstzd has quit [Client Quit]
14:49choozy has joined #asahi
14:49dstzd has joined #asahi
14:50dstzd has quit [Client Quit]
14:51dstzd has joined #asahi
14:53dstzd has quit [Client Quit]
14:56dstzd has joined #asahi
14:56dstzd has quit [Client Quit]
14:57sepehr_ has quit [Ping timeout: 240 seconds]
14:58dstzd has joined #asahi
14:59dstzd has quit [Client Quit]
15:09kopenick has joined #asahi
15:16kopenick has quit [Quit: Connection closed]
15:21furkanoh 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?)
15:21winocmalmost a decade yeah
15:21furkanwas extreme fun. i worked on those 2-3 days in rows without sleep
15:22furkan(was mixed with linux+mptcp experiments on beaglebone)
15:22furkanthanks for the initiative back then!
15:23winocmI wish I could actually work for more than 1.5 days with no sleep without crashing these days
15:23winocmhah, no problem
15:26aratuk has quit [Remote host closed the connection]
15:36frode_0xa has quit [Remote host closed the connection]
15:37frode_0xa has joined #asahi
15:38frode_0xa has quit [Client Quit]
15:42modwizcode has joined #asahi
15:43dstzd has joined #asahi
15:48dstzd has quit [Client Quit]
15:48dstzd has joined #asahi
15:49dstzd has quit [Client Quit]
15:50dstzd has joined #asahi
15:53dstzd has quit [Client Quit]
15:54dstzd has joined #asahi
15:58dstzd has quit [Client Quit]
16:07ephe_meral has quit [Ping timeout: 260 seconds]
16:16Tokamak has joined #asahi
16:21m42uko has quit [Remote host closed the connection]
16:22m42uko has joined #asahi
16:24plainbits has quit [Quit: Go to sleep. Night!]
16:34davidrysk[m]winocm: I feel you :(
16:35davidrysk[m]if I get no sleep I'm completely unproductive the next day
16:38CalumK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:40dstzd has joined #asahi
16:42dstzd has quit [Client Quit]
16:52krbtgtdamn i should bust out my N900
17:07jjanzic has joined #asahi
17:10Tokamak has quit [Ping timeout: 256 seconds]
17:12Tokamak has joined #asahi
17:17Tokamak_ has joined #asahi
17:19dstzd has joined #asahi
17:20Tokamak has quit [Ping timeout: 260 seconds]
17:21Tokamak_ has quit [Read error: Connection reset by peer]
17:26Tokamak has joined #asahi
17:27aratuk has joined #asahi
17:31aratuk has quit [Ping timeout: 240 seconds]
17:33Tokamak has quit [Ping timeout: 256 seconds]
17:36Tokamak has joined #asahi
17:41mechpilotace has joined #asahi
17:42Tokamak has quit [Ping timeout: 240 seconds]
17:44Tokamak has joined #asahi
18:02Tokamak has quit [Ping timeout: 240 seconds]
18:04Tokamak has joined #asahi
18:07Spiffy has joined #asahi
18:13Tokamak has quit [Ping timeout: 246 seconds]
18:16Tokamak has joined #asahi
18:54rjeliwould 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
18:54rjelino search on my mobile irc app, ill scroll..
18:58rjelinvm found it, different i2c addr
19:06ky0ko has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
19:06ky0ko has joined #asahi
19:15Tokamak has quit [Ping timeout: 272 seconds]
19:17Tokamak has joined #asahi
19:28Tokamak has quit [Ping timeout: 256 seconds]
19:28aratuk has joined #asahi
19:31TheJollyRoger has quit [Ping timeout: 240 seconds]
19:33TheJollyRoger has joined #asahi
19:33aratuk has quit [Ping timeout: 265 seconds]
19:35Tokamak has joined #asahi
19:43Tokamak has quit [Ping timeout: 265 seconds]
19:49marcanbtw, the beta2 SFR can't boot beta1 iBoot2 is indeed an iBoot panic
19:49marcanSOCD report detected: (iBoot panic)
19:51marcanrjeli: 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
19:51marcanI do not know that the USB-C explorer can do that
19:52marcanyou don't need much current so a 5V GPIO from the arduino as "VBUS" is sufficient (it's what I do)
19:52marcan*on boot
19:53marcanit's really sad that all these usb-c test boards don't break out all the pins
19:56opticronaren't you supposed to be asleep?
19:59Tokamak has joined #asahi
20:02raster has quit [Quit: Gettin' stinky!]
20:02maximus64rjeli: 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.
20:04maximus64If you can mux serial to the USB2 pinset then it might work :)
20:05maximus64wiki said it should be possible to map it to USB2 pinsets https://github.com/AsahiLinux/docs/wiki/HW%3AUSB-PD
20:06maximus64anoying thing is that USB2 pin is wire to the SAMD MCU :/
20:10ephe_meral has joined #asahi
20:17ephe_meral has quit [Ping timeout: 240 seconds]
20:23raster has joined #asahi
20:32HeN has joined #asahi
20:33TheJollyRoger has quit [Ping timeout: 240 seconds]
20:35TheJollyRoger has joined #asahi
20:53Axenntio has quit [Remote host closed the connection]
20:55rjelicool, thanks for the help
20:58rjelii can just echo it from the mcu to its uart right
20:58maximus64not really it used 1.2V logic level
20:59rjeliok ill get an arduino then :p
21:01maximus64you can use any MCU that can do I2C :p
21:08maximus64for 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
21:10zopieux has quit [Ping timeout: 260 seconds]
21:11marcan1.8 works fine
21:11marcanbut really just get a level shifter
21:14maximus64heh you still awake
21:21maximus64we should make a USB-C debug adapter with all the pin routed out
21:28CalumK has joined #asahi
21:28kido has quit [Ping timeout: 260 seconds]
21:29aratuk has joined #asahi
21:29kido has joined #asahi
21:30sumoon[m] has quit [Ping timeout: 260 seconds]
21:30ksixty has quit [Ping timeout: 260 seconds]
21:30sumoon[m] has joined #asahi
21:30enverb[m] has quit [Ping timeout: 260 seconds]
21:30samumartinf[m] has quit [Ping timeout: 260 seconds]
21:30clover[m] has quit [Ping timeout: 260 seconds]
21:30botoxparty[m] has quit [Ping timeout: 260 seconds]
21:30os[m] has quit [Ping timeout: 260 seconds]
21:30titanous has quit [Ping timeout: 260 seconds]
21:30samumartinf[m] has joined #asahi
21:31clover[m] has joined #asahi
21:31ksixty has joined #asahi
21:31os[m] has joined #asahi
21:32botoxparty[m] has joined #asahi
21:32enverb[m] has joined #asahi
21:32titanous has joined #asahi
21:33aratuk has quit [Ping timeout: 256 seconds]
21:36zopieux has joined #asahi
22:05CalumK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:15zopieux has quit [Ping timeout: 240 seconds]
22:21superk has quit [Ping timeout: 256 seconds]
22:24zopieux has joined #asahi
22:25raster has quit [Quit: Gettin' stinky!]
22:35raster has joined #asahi
22:38choozy has quit [Remote host closed the connection]
22:58aratuk has joined #asahi
23:23somerandomguy has joined #asahi
23:32Tokamak has quit [Ping timeout: 264 seconds]
23:34Tokamak has joined #asahi
23:35raster has quit [Quit: Gettin' stinky!]
23:40HeN has quit [Quit: Connection closed for inactivity]
…