2021-01-21
00:19snalty has joined #asahi
00:25jamadazi has quit [Ping timeout: 256 seconds]
00:41Mrmaxmeier has joined #asahi
00:46jamadazi has joined #asahi
01:29modwizcode has quit [Quit: Later]
01:30jamadazi has quit [Read error: Connection reset by peer]
01:32jamadazi has joined #asahi
01:42jamadazi has quit [Ping timeout: 265 seconds]
02:14m42uko has quit [Ping timeout: 264 seconds]
02:29xarkes has joined #asahi
02:29xarkes has joined #asahi
02:34xarkes has quit [Ping timeout: 265 seconds]
02:45xarkes has joined #asahi
03:04xarkes_ has joined #asahi
03:05xarkes has quit [Ping timeout: 265 seconds]
03:09xarkes_ has quit [Ping timeout: 256 seconds]
03:15linq has joined #asahi
03:19xarkes_ has joined #asahi
03:20linqI was heartened to see Corellium supporting Asahi recently: https://twitter.com/CorelliumHQ/status/1351933040147226627
03:22m42uko has joined #asahi
03:47Tokamak has quit [Ping timeout: 265 seconds]
03:55Tokamak has joined #asahi
04:25tiagom has joined #asahi
04:36Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:39tiagom has quit [Quit: leaving]
04:39Tokamak has joined #asahi
04:52Esmil has quit [Ping timeout: 256 seconds]
04:52Esmil has joined #asahi
04:53linq has quit [Ping timeout: 256 seconds]
05:39r3n has joined #asahi
06:07kkd is now known as argv[argc]
06:13acelogic has joined #asahi
06:28VinDuv has joined #asahi
07:11Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:36VinDuv has quit [Quit: Leaving.]
08:04xarkes_ is now known as xarkes
08:04xarkes has joined #asahi
08:04xarkes has quit [Changing host]
08:39hiro981 has joined #asahi
08:43raster has joined #asahi
08:44jaXvi has quit [Ping timeout: 240 seconds]
08:58jaXvi has joined #asahi
09:07CDFHPossibly, or they realized they came off quite badly in the initial exchange - regardless it's good to see positive words from them
09:24aknt has joined #asahi
09:36Bublik has quit [Ping timeout: 256 seconds]
09:37aknt has quit [Ping timeout: 256 seconds]
09:37m42uko has quit [Ping timeout: 256 seconds]
09:37Foxboron has quit [Ping timeout: 256 seconds]
09:37m42uko has joined #asahi
09:37aknt has joined #asahi
09:37Esmil has quit [Ping timeout: 256 seconds]
09:37Esmil has joined #asahi
09:38Bublik has joined #asahi
09:39Foxboron has joined #asahi
09:43aknt has quit [Quit: Leaving]
09:48nalty has joined #asahi
09:48nalty has quit [Remote host closed the connection]
09:48nalty has joined #asahi
09:48nalty has quit [Remote host closed the connection]
09:52nirusu[m] has joined #asahi
09:52maor26 has joined #asahi
09:53nirusu[m]Even looks like the guys from Pongo also working with Corellium are interested in marcan getting UART to run on the Samsung driver, they don't want to upstream their own driver: https://threedots.ovh/blog/2021/01/linux-on-apple-silicon-macs-first-rfc-submission/
10:03manti7 has joined #asahi
10:03chuskywalker has joined #asahi
10:19marcanand yeah, it's a shame they didn't develop this while talking to upstream because it's going to result in a longer cycle while things get rewritten where the wrong approach was chosen, but I'm glad they're actually doing the right thing now
10:21Fanfwemarcan: so the "R" issue from yesterday is not related to the samsung uart driver, but to the AIC driver ?
10:21marcanI'm actually considering taking a break from kernel dev and making that OSWH serial cable I've been meaning to
10:22marcananyway, the "okay let me do this from scratch for educational purposes" goal has been met, and my sleep schedule has been further destroyed
10:23marcan(that was why I did those streams even though corellium released their tree; I was going to do it originally and it seemed like a big shame if we'd lose having a video record of how to port linux to an undocumented arch)
10:23Fanfwej`ey: a hardware that you can connect to your mac, and sends type-C PD commands to the mac so that you get access to the debug UART
10:24Fanfweyeah, for the educational purpose it was great seeing you doing it all from scratch, even if corellium already had it done
10:24Fanfwewith the corellium tree, you only really have a bunch of commits to look at in order to understand how it's been ported
10:25stemnicAgreed it was very educational and I think very useful for people trying to port linux to undocumented platforms :)
10:26argv[argc] is now known as kkd
10:27Fanfwemarcan: that shouldn't take too long anyway, right ? It's gonna be a pretty simple board, with type-c connector, the FUSB302 chip, some logic level shifter, a FTDI-like connector, and some basic MCU
10:29Fanfwebecause the package of the FUSB302 isn't really easy to work with if you don't have proper tools
10:31Fanfwemarcan: and so, that debug UART you are getting access to, is that the one exposed as /dev/tty.debug-console under Mac OS ?
10:34Fanfweand do you know if Mac OS opens that device by itself to throw some stuff like kernel logs ? Or is this a free-to-use UART when using Mac-OS (provided that you have the hardware to get access to it, ofc)
10:41stemnicmarcan: So, what is next after you have finished the OSWH serial cable. Continue working on the UART driver and cherrypick some of corellium’s commits?
10:41Fanfwemarcan: I finally got my FUSB302 chip and got my "wire bonding" done. However I'm seeing a horrible rise time on the i2c lines, to a point where it doesn't work. Did you have to put external pull-ups, or... ?
10:42marcanthe UART driver is done, that will be in the tree today and I kind of expect woachk to submit it for upstreaming in a future round, since it's kind of critical
10:42hiro981 has left #asahi ["User left"]
10:44marcanbut without knowing what they're working on, I have no idea what is a waste of time to work on or not
10:48frode_0xa has joined #asahi
10:52j`eyI was probably going to switch anyway, apparently it can toggle the DTR line, which will reset the dev board im working on. and I could find a way to do that from screen
10:55dhewg+1 for picocom, it works nicely. even using it with rz/sz sometimes to recover boards from uboot
10:56dhewgand when you're not using screen for serial stuff anymore you can dump screen for tmux too
10:58Shizwill keep stating that 'breakfast' just sounds like a breakcore label rather than an actual english word
11:00marcanthe fusb302 is on the underside of the breakout board, deadbugged that way so the pin numbers match
11:05q3k|mmarcan: huh, i'm somewhat surprised you're using breadboards for this, they've always felt janky and unreliable to me
11:05q3k|mmarcan: (vs. plain female/female dupont cables or wirewrapping for more long-term connections)
11:05acelogic has quit [Ping timeout: 264 seconds]
11:13q3k|mthat's why i generally make/buy things with male 2.54mm headers and use wire wrapping https://photos.app.goo.gl/deCAQ6bMeWuUMGZs9
11:15FanfweEither a bad chip, or there's something up with the pull-ups which I haven't figured out yet
11:20bisko has joined #asahi
11:24never_released has joined #asahi
11:25siru has joined #asahi
11:36Fanfweq3k|m: yeah, wire wrapping is really great. Too bad it's not really popular anymore... After all, when you think about it, the entire Apollo guidance computer was wire wrapped. And it went to space many times without failing.
11:37q3k|mFanfwe: it should be! kynar wire is dirt cheap. manual wire wrap tools are rare but still are stocked by most distributors.
11:37q3k|mFanfwe: and i love the fact that i can jig things up on a piece of scrap board, wire wrap'em together, and toss it in a project box without worrying that things will disconnect
11:37FanfweYeah, I bought some manual wire wrap tools not so long ago, and I find myself using them quite often now. It makes really solid connections.
12:00amw2 has joined #asahi
12:01never_released has joined #asahi
12:01never_released has quit [Changing host]
12:05marcanFanfwe: did you check the i2c address? there are different chip variants with different ones
12:17nkaretnikov Fanfwe: have you tested (beeped) the physical connections between the chip and the board? maybe the soldering is not good
12:18Baughn has quit [Ping timeout: 260 seconds]
12:33mechpilotace has quit [Quit: WeeChat 2.8]
12:37BaughnLogBot has joined #asahi
12:46suskun has joined #asahi
13:02davidrysk[m]Did the corellium stuff get accepted upstream yet?
13:03rustylerp has joined #asahi
13:03rustylerp has quit [Client Quit]
13:03rustylerp has joined #asahi
13:04rustylerp has quit [Client Quit]
13:09marcandavidrysk[m]: first-time SoC bringup takes a long time to upstream, especially if you write it without talking to anyone
13:09davidrysk[m]Well yeah that’s what I expected
13:09mechpilotace has joined #asahi
13:09marcancorellium aren't actually upstreaming anything, it's never_released/woachk who is doing the work right now and he is already planning major changes after the first round ;)
13:09davidrysk[m]What’s the easiest way to browse the LKML?
13:09dumenci has joined #asahi
13:11rustylerp has joined #asahi
13:12suskun has quit [Ping timeout: 246 seconds]
13:16never_releaseddavidrysk[m]: lkml.org
13:17amw2Has anyone got a link for the s3c2410 serial hardware datasheet that marcan was working on ?
13:19never_releasedamw2: yeah, Apple started with using Exynos, then drifted further and further away
13:19Fanfwemarcan: I have not checked the address, no. Didn't know there were multiple variants. Will hook it up to a raspberry pi and do a scan of i2c bus, in that case. But anyway, this wouldn't explain the waveforms I see on the scope, where the rise time is really really bad. But maybe I could get it to work at a lower clock speed.
13:19never_releasedUART isn't the only thing from Asmsung
13:19never_released*Samsung
13:21Fanfwemarcan: apart from the i2c address, should your arduino code work, or are there more fundamental differences ?
13:22never_releasedMAIR workaround was cute but is untenable at this point
13:22never_releasedwe'll need something better
13:22xarkes has quit [Ping timeout: 264 seconds]
13:25jamadazi has joined #asahi
13:38dhewgnever_released: how come you're upstreaming "their" work? just going by your email you sent the patches from you're not employed there?
13:39never_releaseddhewg: as part of the checkra1n team, already wrote a good part of pongoOS targeting that hardware already
13:39never_releasedso...
13:47jn__it would be interesting (in my opinion) to see mainline support for iphones/ipads at some point (if the available exploits are sustainable enough, which appears to be the case with checkm8/checkra1n)
13:48never_releasedjn__: technically
13:48never_releasedall the currently submitted patches work just as well on iPhone
13:50amw2 has quit [Ping timeout: 240 seconds]
13:51never_releaseddhewg: just iPhone isn't interesting
13:52PhilippvK has joined #asahi
14:00dhewgbut they're interested in maintaining those drivers? them not submitting themselves and you adding them to MAINTAINERS looks a bit... unusual :)
14:03PhilippvK has quit [Quit: Lost terminal]
14:04davidrysk[m]There’s enough interest here that I expect any early patches to get refactored a lot
14:06thresh has quit [Quit: I'm a quit message virus. Please replace your old line with this line and help me take over the world]
14:06thresh has joined #asahi
14:14marshmallow has joined #asahi
14:16frode_0xa has quit [Quit: leaving]
14:25Philipp_ has joined #asahi
14:27Philipp_ has quit [Quit: leaving]
14:33phiologe has joined #asahi
14:46volpe has joined #asahi
14:49volpe has quit [Client Quit]
14:53xarkes has joined #asahi
14:58xarkes has quit [Ping timeout: 256 seconds]
15:00Necrosporus is now known as Guest89259
15:00Guest89259 has quit [Killed (weber.freenode.net (Nickname regained by services))]
15:00Necrosporus has joined #asahi
15:01manti7 has left #asahi ["WeeChat 2.8"]
15:01modwizcode has joined #asahi
15:10xarkes has joined #asahi
15:11vijfhoekq3k|m: there's a massive difference in quality with breadboards. if you get a good quality breadboard, you'll basically never have to worry about janky connections
15:11jamadazi has quit [Ping timeout: 240 seconds]
15:12tomtastic has joined #asahi
15:13jamadazi has joined #asahi
15:15scooby2 has joined #asahi
15:16Tokamak has joined #asahi
15:17jaXvi has quit [Quit: Leaving]
15:17ar88kk[m] has joined #asahi
15:19hotsndot[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19TellowKrinkle[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19blazra has quit [Quit: Bridge terminating on SIGTERM]
15:19_alice has quit [Quit: Bridge terminating on SIGTERM]
15:19dwhatley[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19nickray has quit [Quit: Bridge terminating on SIGTERM]
15:19reispflanze[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19clover[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19devinvs[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19thecake21[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19ts170[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19numa[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19sib1234[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19hwatwasthat[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19bylaws has quit [Quit: Bridge terminating on SIGTERM]
15:19aimileus has quit [Quit: Bridge terminating on SIGTERM]
15:19khronokernel[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19ConeOfAttack[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19tr0[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19bjornjulander[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19noneucat has quit [Quit: Bridge terminating on SIGTERM]
15:19wolf511[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Standemonium[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19LeonardJanisRobe has quit [Quit: Bridge terminating on SIGTERM]
15:19enverb[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Eighth_Doctor has quit [Quit: Bridge terminating on SIGTERM]
15:19dsads[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19alexanderwillner has quit [Quit: Bridge terminating on SIGTERM]
15:19samumartinf[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19botoxparty[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19etienneli[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19noc0lour has quit [Quit: Bridge terminating on SIGTERM]
15:19dancer[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19scubasteve1 has quit [Quit: Bridge terminating on SIGTERM]
15:19tarik02[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19xerpi[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19CamdenB[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Alex[m]6 has quit [Quit: Bridge terminating on SIGTERM]
15:19ah-[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19julian[m]3 has quit [Quit: Bridge terminating on SIGTERM]
15:19delroth[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19crafteck[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19bfredl has quit [Quit: Bridge terminating on SIGTERM]
15:19asmon[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19brentr123[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19notafile has quit [Quit: Bridge terminating on SIGTERM]
15:19emily has quit [Quit: Bridge terminating on SIGTERM]
15:19ganpa has quit [Quit: Bridge terminating on SIGTERM]
15:19davidrysk[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19bakk[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19jkao[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19nutmanja[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19ponikrf[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19undvasistas[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19nufflee[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19bastilian has quit [Quit: Bridge terminating on SIGTERM]
15:19mikewilks[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19skillfulman23[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19printfn[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19smist08[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19kingwill101[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19josiahmendes[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Avion[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19coinquest[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19konradybcio has quit [Quit: Bridge terminating on SIGTERM]
15:19liur[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19krishbin[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19citruscitrus[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19nirusu[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Alice[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19os[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19nhlism[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Lumi[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19hipboi[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19jean-franoiswitz has quit [Quit: Bridge terminating on SIGTERM]
15:19Icewind[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19winocm has quit [Quit: Bridge terminating on SIGTERM]
15:19ronyrus[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Bennett[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19ar88kk[m] has quit [Client Quit]
15:19rootspring[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19lev[m]1 has quit [Quit: Bridge terminating on SIGTERM]
15:19jevinskie[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19jinen[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19newmerck[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Jamie[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19sumoon[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19fl35[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19Bastian[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19shawnj2[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19mellotron1[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19dpatterbee[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19redbluescreen[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19mcnight[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19dyniec[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19mofux[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19ashton314[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19assusdan[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19d_u_f_f[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19m1kr0[m] has quit [Quit: Bridge terminating on SIGTERM]
15:19f4n4tix[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20narmstrongright selection of dt-bindings vendor name and scheme for compatible strings should be done carefully in order to have the first patches accepted, maintainers & reviewers will be very picky about that
15:20fried_dede[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20hypergenesis[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20svenpeter has quit [Quit: Bridge terminating on SIGTERM]
15:20foxlet has quit [Quit: Bridge terminating on SIGTERM]
15:20rustylerp[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20fridtjof[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20stylefish[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20flokk[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20rockinrobstar[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20ksixty has quit [Quit: Bridge terminating on SIGTERM]
15:20sta[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20elkaps[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20Jasper[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20delogips[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20ewlsh[m] has quit [Quit: Bridge terminating on SIGTERM]
15:20alexx2[m] has quit [Quit: Bridge terminating on SIGTERM]
15:23modwizcode_ has joined #asahi
15:24volpe has joined #asahi
15:24modwizcode has quit [Ping timeout: 256 seconds]
15:24modwizcode_ is now known as modwizcode
15:26narmstrongmarcan: do you know who will maintain the arm64 apple support ?
15:27narmstrong(if it has been discussed)
15:28ah-[m] has joined #asahi
15:29volpe has quit [Quit: leaving]
15:29volpe has joined #asahi
15:33Glanzmann has joined #asahi
15:34GlanzmannHello; I try to boot the corellium live thing on an macbook air; I did the dd, installed the kernel, but do not know how I boot the custom kernel once installed. So I'm stuck between step 5 and 6. Has someone figured it out?
15:38never_releasedGlanzmann: Mac mini for now
15:40bakk[m] has joined #asahi
15:40_alice has joined #asahi
15:40Bastian[m]1 has joined #asahi
15:40davidrysk[m] has joined #asahi
15:40konradybcio has joined #asahi
15:40m1kr0[m] has joined #asahi
15:40noc0lour has joined #asahi
15:40emily has joined #asahi
15:40f4n4tix[m] has joined #asahi
15:40noneucat has joined #asahi
15:40hipboi[m] has joined #asahi
15:40Icewind[m] has joined #asahi
15:40nickray has joined #asahi
15:40fridtjof[m] has joined #asahi
15:40blazra has joined #asahi
15:40dyniec[m] has joined #asahi
15:40jevinskie[m] has joined #asahi
15:40Jasper[m] has joined #asahi
15:40Eighth_Doctor has joined #asahi
15:40liur[m] has joined #asahi
15:40bfredl has joined #asahi
15:40josiahmendes[m] has joined #asahi
15:40Bennett[m] has joined #asahi
15:40bastilian has joined #asahi
15:40hypergenesis[m] has joined #asahi
15:40ewlsh[m] has joined #asahi
15:40alexanderwillner has joined #asahi
15:40svenpeter has joined #asahi
15:40ar88kk[m] has joined #asahi
15:40assusdan[m] has joined #asahi
15:40notafile has joined #asahi
15:40redbluescreen[m] has joined #asahi
15:40ganpa has joined #asahi
15:40mcnight[m] has joined #asahi
15:40winocm has joined #asahi
15:40bylaws has joined #asahi
15:40dsads[m] has joined #asahi
15:40skillfulman23[m] has joined #asahi
15:40mofux[m] has joined #asahi
15:40rustylerp[m] has joined #asahi
15:40mellotron1[m] has joined #asahi
15:40fl35[m] has joined #asahi
15:40citruscitrus[m] has joined #asahi
15:40delogips[m] has joined #asahi
15:40Avion[m] has joined #asahi
15:40delroth[m] has joined #asahi
15:40rootspring[m] has joined #asahi
15:40krishbin[m] has joined #asahi
15:40nirusu[m] has joined #asahi
15:40jinen[m] has joined #asahi
15:40Standemonium[m] has joined #asahi
15:40tr0[m] has joined #asahi
15:40sta[m] has joined #asahi
15:40elkaps[m] has joined #asahi
15:40scubasteve1 has joined #asahi
15:40lev[m]1 has joined #asahi
15:40hwatwasthat[m] has joined #asahi
15:40clover[m] has joined #asahi
15:40nutmanja[m] has joined #asahi
15:40dancer[m] has joined #asahi
15:40jkao[m] has joined #asahi
15:40ConeOfAttack[m] has joined #asahi
15:40CamdenB[m] has joined #asahi
15:40hotsndot[m] has joined #asahi
15:40sib1234[m] has joined #asahi
15:40brentr123[m] has joined #asahi
15:40botoxparty[m] has joined #asahi
15:40mikewilks[m] has joined #asahi
15:40aimileus has joined #asahi
15:40os[m] has joined #asahi
15:40smist08[m] has joined #asahi
15:40ts170[m] has joined #asahi
15:40tarik02[m] has joined #asahi
15:40ponikrf[m] has joined #asahi
15:40flokk[m] has joined #asahi
15:40devinvs[m] has joined #asahi
15:40printfn[m] has joined #asahi
15:40khronokernel[m] has joined #asahi
15:40wolf511[m] has joined #asahi
15:40newmerck[m] has joined #asahi
15:40ashton314[m] has joined #asahi
15:40crafteck[m] has joined #asahi
15:40dwhatley[m] has joined #asahi
15:40jean-franoiswitz has joined #asahi
15:40alexx2[m] has joined #asahi
15:40stylefish[m] has joined #asahi
15:40thecake21[m] has joined #asahi
15:40enverb[m] has joined #asahi
15:40LeonardJanisRobe has joined #asahi
15:40asmon[m] has joined #asahi
15:40coinquest[m] has joined #asahi
15:40reispflanze[m] has joined #asahi
15:40nhlism[m] has joined #asahi
15:40bjornjulander[m] has joined #asahi
15:40Jamie[m] has joined #asahi
15:40Alex[m]6 has joined #asahi
15:40foxlet has joined #asahi
15:40d_u_f_f[m] has joined #asahi
15:40julian[m]1 has joined #asahi
15:40Lumi[m] has joined #asahi
15:40dpatterbee[m] has joined #asahi
15:40kingwill101[m] has joined #asahi
15:40ronyrus[m] has joined #asahi
15:40shawnj2[m] has joined #asahi
15:40etienneli[m] has joined #asahi
15:40samumartinf[m] has joined #asahi
15:40sumoon[m] has joined #asahi
15:40nufflee[m] has joined #asahi
15:40ksixty has joined #asahi
15:40undvasistas[m] has joined #asahi
15:40rockinrobstar[m] has joined #asahi
15:40TellowKrinkle[m] has joined #asahi
15:40xerpi[m] has joined #asahi
15:40numa[m] has joined #asahi
15:40fried_dede[m] has joined #asahi
15:40Alice[m]1 has joined #asahi
15:41marcannarmstrong: I'm happy to do so of course, but I don't know what plans the corellium guys have
15:42modwizcodeI want a github
15:42modwizcode*githug
15:42modwizcodeI made a typo that spelled it right
15:42marcanalso the corellium tech demo is fine and all but at this point I'd advise people to relax and let us write up some more documentation :)
15:42modwizcodeI'd appreciate an AIC doc being written up. I suppose I could rewatch the stream and do that
15:43modwizcodeOoo keyboard support would be a nice thing to work on
15:43modwizcodemarcan: did you make any progress on the dart?
15:43davidrysk[m]You could also write up docs based on XNU if all you’re doing is writing up docs
15:43modwizcodeI hear the corellium folks have some of that figured out
15:43volpe has quit [Quit: leaving]
15:43modwizcodeUh right sorry
15:44modwizcodeI knew that page was there so I was clearly thinking about another piece of hardware
15:44marcanI didn't look at dart, but corellium have already published patches for that so there is no point any more
15:44modwizcodeDamn it would have been fun to watch you poke at it more ;p
15:44marcanthe last two streams were an educational exercise, now that penguins and a root shell happened there is no reason for me not to look at their code
15:45modwizcodeyeah
15:45marcanI'm still going to fill in gaps anyway, because as much as they know about these SoCs their schtick is virtualization which means they need to implement what macOS/iOS use, not what the hardware really does
15:45marcanso I'm sure there is still room for plenty of my let-me-twiddle-bits-and-see-what-happens streams
15:46modwizcodeYeah speaking of virtualization I think it might be cool to try to upstream support into qemu
15:46modwizcodeBut uh. they're not gonna do that for us ;)
15:46modwizcodeAhh the classic "emulate what it actually uses" where have I heard that before :)
15:46diddledanbit twiddling is like shooting a gun in the dark - you have no idea what is getting hit until you hear a grunt and then a thud
15:47modwizcodeI've read some posts about that marcan
15:47modwizcodeBut mostly people are hacking shit together afaik
15:47modwizcodeand yeah getting AIC I think is the main thing
15:47modwizcodeSpeaking of the debug usb when you said "registers" did you really mean CPU registers or are they just random
15:48modwizcode*er random registers of *something*
15:48modwizcodegot it
15:57helikoptere has quit [Quit: WeeChat 2.8]
15:58Glanzmann has quit [Quit: leaving]
16:02Fanfwemarcan: I can see that the Patreon goal is met at 77%. But I can't seem to see where you are at on Github. Taking both Patreon and github into account, have you met the full goal ?
16:09modwizcodeYeah i need to be called a moron at source time
16:13marcanI think the point is that if you include this, you aren't supposed to do things the old way any more
16:19never_releasedfor keyboard/touchpad on laptop stay tuned
16:20never_released(it's just over SPI, nothing special)
16:21modwizcodeAt least it's not i2c
16:22fsc90 has joined #asahi
16:23fsc90 has quit [Client Quit]
16:23Fanfweit's been SPI in Apple Intel laptops for a long time. They probably just carried things over.
16:24modwizcodewhat is virtual USB
16:25never_releasedmarcan: the keyboard is plugged over SPI to the T2
16:25never_releasedand then T2 exports it to the host over VHCI
16:25never_releasedon those AS Macs, you have raw access to the SPI controller of course
16:26FanfweThere are some cases when machine is damaged where your boot keys to reset SMC and other stuff will work, but then once booted in mac os, no keyboard
16:26the-mentor has joined #asahi
16:26Fanfwebecause keyboard is available both over USB and SPI, and bootrom uses one way, while MacOS uses the other way
16:27modwizcodethat sorta makes sense
16:28luca020400What is using PCIe on the m1? wlan chip?
16:28Fanfwewell, this also means that your keyboard signals land on the logic board, are being routed over to the trackpad flex cable. Then on the trackpad there is a chip that makes it SPI, and the SPI bus then travels across the flex cable back to the logic board.
16:29never_releasedluca020400: Thunderbolt 4, Wi-Fi, Bluetooth , Ethernet, USB-A
16:30luca020400oh it also has tb4, missed it
16:30luca020400thanks
16:30never_releasedit's PCIe over a different physical layer
16:31never_releasedexactly
16:32marcannever_released: is usbhost on the tb ports also dwc3, or some internal xhci? I thought I saw xhci on the apple devicetree for those
16:32never_releasedmarcan: dwc3 works fine for the two ports
16:32never_releasedusb-drd
16:32davidrysk[m]marcan: any chance it's similar to lightning swd?
16:33davidrysk[m]the swd/jtag functionality that is exposed for iOS devices on the lightning port
16:33luca020400Is the linux dwc3 driver working, or it also needs some quirks?
16:33davidrysk[m]sorry, talking about two different things
16:33never_releasedluca020400: some very light ones
16:33never_releasedthe bulk of the work was getting the IOMMU set up
16:34luca020400not bad, I'm used to QCOM dwc3 changes so it's usually bad here
16:34never_releasedhttps://github.com/corellium/linux-m1/commit/a3ae5f475cac7022dd8d55d321ccd631cc1535b1
16:34never_releasedrelatively small PHY drievr
16:34never_released*driver
16:34chuskywalker has quit [Ping timeout: 264 seconds]
16:35luca020400Seems rather small and nice
16:37chuskywalker has joined #asahi
16:37davidrysk[m]though I wonder if anyone took a crack at this on USB-C iPad Pro
16:37davidrysk[m]wait, you can't, locked bootloader :)
16:37luca020400Oh I see the values are drom dt, are they per-device?
16:38marcandavidrysk[m]: the thing is jtag will be fused off anyway, unless there is a way to demote yourself from software
16:42modwizcodeIt'd be neat if you could
16:42modwizcodeJtag debug is always helpful
16:51Glanzmann has joined #asahi
16:54Tokamak has quit [Ping timeout: 256 seconds]
16:56Tokamak has joined #asahi
16:59aead has quit [Quit: WeeChat 3.0]
17:04phiologe has quit [Ping timeout: 240 seconds]
17:12never_releasedluca020400: yep
17:12never_releasedmarcan: the demote flag is in the img4 header of iBoot1
17:12never_releasedwhich is read by the bootrom
17:12phiologe has joined #asahi
17:12never_releasedaka you need to get an iBoot1 signed with the demote flag
17:12never_releasedif you want JTAG
17:13never_releasedbootrom locks that register down after finishing to read iBoot1
17:13never_releasedbefore jumping to it
17:13never_releasedfor iPhones, we have JTAG because checkra1n allows bootrom code exec
17:14never_releasedso you can just set the register
17:14never_releasedno such bug on M1 :P
17:15modwizcodeShame they didn't think about backwards compatibility with a crucial security bug
17:16never_releasedmarcan: so for switching to handle_level_irq to handle_fasteoi_irq what do I need to do?
17:16never_releasednot much I guess?
17:19never_releasedshould I also make a separate MAINTAINERS commit?
17:20lucid_0x80 has joined #asahi
17:22dumenci has quit [Ping timeout: 256 seconds]
17:23davidrysk[m]never_released: can you trust the WFI-related chicken bits to be there in future chips?
17:23never_releaseddavidrysk[m]: they are there since 8 years now
17:24never_releasedprobably
17:24marcanwe'll deal with newer socs when we get there, but I doubt they'd go and *break things further*
17:25marcaneoi is basically unmask, but you'd better only do it if the irq isn't supposed to be masked by then
17:29phiologe has quit [Ping timeout: 240 seconds]
17:33never_releasedthen I remove that line with irq_domain_set_info handle_level_irq outright?
17:38VinDuv has joined #asahi
17:39threedpro has joined #asahi
17:45phiologe has joined #asahi
17:49gruetzkopfmarcan: the cable you're asking for is "illegal"
17:49marcanhttps://github.com/AsahiLinux/linux/commit/d4cb18c93#diff-461aeb4816dfb9b8fd0447e77cbfc089090fdef9ebc622fba30b12ea6bdded97R136
17:50gruetzkopfusb spec only allows two usb2 pairs if the other end is not typec, but custom
17:50phiologe has quit [Ping timeout: 265 seconds]
17:50gruetzkopfall extension cables i've cut up use normal cable
17:51gruetzkopfthey aren't flip tolerant
17:51gruetzkopfonly one CC wire
17:51gruetzkopfthey are for usb2 (by shorting at the receptacle)
17:51gruetzkopf(cue typeC to MDR)
17:51JTLmarcan: A keyboard of mine has an A female socket on it and came with one of those ghastly USB-A->A cables.
17:53threedpro has quit [Read error: Connection reset by peer]
17:55davidrysk[m]I got a usb-c extension cable and the manufacturer specifically states that its usb2 support is not bidirectional
17:55davidrysk[m](meaning, you can't flip the connector)
17:55davidrysk[m](why did I get one? to use a peripheral where the manufacturer does not make a longer cabled version)
18:02davidrysk[m]btw I do think t8103 makes sense over m1 as that is the engineering name of this SoC
18:05m42uko has quit [Remote host closed the connection]
18:06m42uko has joined #asahi
18:12lucid_0x80 has quit [Ping timeout: 246 seconds]
18:33Necrosporus has quit [Remote host closed the connection]
18:45raster has quit [Quit: Gettin' stinky!]
18:45phiologe has joined #asahi
18:50rustylerp has quit [Ping timeout: 265 seconds]
18:50phiologe has quit [Ping timeout: 256 seconds]
19:06Necrosporus has joined #asahi
19:11raster has joined #asahi
19:28rcombs has quit [*.net *.split]
19:28squiffy has quit [*.net *.split]
19:28rjeli has quit [*.net *.split]
19:28dottedmag has quit [*.net *.split]
19:28rjeli has joined #asahi
19:28squiffy has joined #asahi
19:30dottedmag has joined #asahi
19:30dottedmag has joined #asahi
19:36rcombs has joined #asahi
19:48TheJollyRoger has quit [Quit: TheJollyRoger]
19:50choozy_ has joined #asahi
20:01phiologe has joined #asahi
20:12chuskywalker2 has joined #asahi
20:14chuskywalker has quit [Ping timeout: 256 seconds]
20:14Foxboron has quit [Ping timeout: 256 seconds]
20:16Foxboron has joined #asahi
20:20Foxboron has quit [Ping timeout: 260 seconds]
20:23Foxboron has joined #asahi
20:27Foxboron has quit [Ping timeout: 240 seconds]
20:29Foxboron has joined #asahi
20:31Fanfwemarcan: my FUSB302 was indeed on another i2c address (0x23). Thanks for the heads up, it works now.
20:33FanfweYes. But I did not pay attention to the fact that they have 4 different part numbers, with a different i2c address each. So when I tried vdmtool, it would not see my chip because the code uses 0x22 and my chip was 0x23.
20:35maximus64yup I'm in the same boat. Spend 2hr debugging / resoldering then realize the FUSB302B have different datasheet
20:48rustylerp has joined #asahi
20:52alula_ has joined #asahi
20:55alula has quit [Ping timeout: 246 seconds]
21:02phiologe has quit [Ping timeout: 265 seconds]
21:03djhuk1 has joined #asahi
21:08gruetzkopfah. so that's how you use multiple of them on the same bus
21:08alula__ has joined #asahi
21:09phiologe has joined #asahi
21:12alula_ has quit [Ping timeout: 246 seconds]
21:14phiologe has quit [Ping timeout: 240 seconds]
21:22maximus64yup that what the FUSB302B is for. It have 4 different part with different slave adddress. So you can use them in the sam bus
21:23phiologe has joined #asahi
21:24raster has quit [Quit: Gettin' stinky!]
21:30raster has joined #asahi
21:33alula_ has joined #asahi
21:37alula__ has quit [Ping timeout: 265 seconds]
21:43VinDuv has quit [Quit: Leaving.]
21:44alula_ is now known as alula
21:54alula_ has joined #asahi
21:58alula has quit [Ping timeout: 265 seconds]
22:05rustylerp has quit [Ping timeout: 265 seconds]
22:08ex-parrot has joined #asahi
22:11choozy_ has quit [Remote host closed the connection]
22:12ncason has joined #asahi
22:12amw2 has joined #asahi
22:16Necrosporus has quit [Killed (sinisalo.freenode.net (Nickname regained by services))]
22:16Necrosporus_ has joined #asahi
22:16Necrosporus_ is now known as Necrosporus
22:18amw2 has quit [Ping timeout: 264 seconds]
22:26davidrysk[m]new macOS beta
22:27davidrysk[m]or rather, release candidate
22:30amw2 has joined #asahi
22:34amw2 has quit [Ping timeout: 240 seconds]
22:36phiologe has quit [Ping timeout: 265 seconds]
22:41bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:42raster has quit [Quit: Gettin' stinky!]
22:42bisko has joined #asahi
22:48amw2 has joined #asahi
22:53amw2 has quit [Ping timeout: 265 seconds]
22:53alula__ has joined #asahi
22:57alula_ has quit [Ping timeout: 256 seconds]
23:00phiologe has joined #asahi
23:06amw2 has joined #asahi
23:11amw2 has quit [Ping timeout: 265 seconds]
23:17raster has joined #asahi
23:24amw2 has joined #asahi
23:25raster has quit [Quit: Gettin' stinky!]
23:28amw2 has quit [Ping timeout: 240 seconds]
23:29alula_ has joined #asahi
23:32choozy has joined #asahi
23:33alula__ has quit [Ping timeout: 265 seconds]
23:40PeterEaston has joined #asahi
23:40maor26 has quit [Ping timeout: 264 seconds]
23:40PeterEaston is now known as TheJollyRoger
23:41amw2 has joined #asahi
23:44alula__ has joined #asahi
23:46amw2 has quit [Ping timeout: 265 seconds]
23:46jamadazi has quit [Read error: Connection reset by peer]
23:47jamadazi has joined #asahi
23:47alula_ has quit [Ping timeout: 240 seconds]
23:59amw2 has joined #asahi