#
…

2021-02-04

00:00poppoppenguin has quit [Ping timeout: 258 seconds]
00:33Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:38Ziemas_ has joined #asahi
00:39Ziemas has quit [Ping timeout: 246 seconds]
00:41Tokamak has joined #asahi
01:00raster has quit [Quit: Gettin' stinky!]
01:16Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:20jamadazi has quit [Quit: WeeChat 3.0]
01:34djb_ has quit [Read error: Connection reset by peer]
01:34djb has joined #asahi
01:41Tokamak has joined #asahi
01:42ransom has joined #asahi
02:24Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:37djb_ has joined #asahi
02:40djb has quit [Ping timeout: 276 seconds]
03:06macc24 has joined #asahi
03:13hspak has quit [Quit: bye]
03:16hspak has joined #asahi
03:21ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:25macc24 has quit [Ping timeout: 272 seconds]
03:27phiologe has quit [Ping timeout: 260 seconds]
03:27PhilippvK has joined #asahi
04:17macc24 has joined #asahi
04:26acelogic has quit [Remote host closed the connection]
04:49marvin24 has quit [Ping timeout: 260 seconds]
04:50marvin24_ has joined #asahi
05:03_whitelogger has joined #asahi
05:58furkan has quit [Ping timeout: 256 seconds]
06:04furkan has joined #asahi
06:10KindOne has quit [Ping timeout: 258 seconds]
06:26KindOne has joined #asahi
06:33VinDuv has joined #asahi
06:58VinDuv1 has joined #asahi
06:58VinDuv1 has quit [Client Quit]
06:59VinDuv1 has joined #asahi
07:01VinDuv has quit [Ping timeout: 276 seconds]
07:09mndza has joined #asahi
07:12macc24 has quit [Ping timeout: 258 seconds]
07:15macc24 has joined #asahi
07:26VinDuv1 has quit [Quit: Leaving.]
07:43acelogic has joined #asahi
07:43acelogic has quit [Remote host closed the connection]
07:43acelogic has joined #asahi
07:53furkan has quit [Ping timeout: 240 seconds]
08:04amw has quit [Ping timeout: 240 seconds]
08:12KindOne has quit [Ping timeout: 272 seconds]
08:14KindOne has joined #asahi
08:25vimal has quit [Remote host closed the connection]
08:32vimal has joined #asahi
08:55TheJollyRoger has quit [Quit: TheJollyRoger]
08:55TheJollyRoger has joined #asahi
08:56TheJollyRoger has quit [Client Quit]
08:57TheJollyRoger has joined #asahi
08:59bdju has quit [Quit: server reboot]
09:05TheJollyRoger has quit [Quit: TheJollyRoger]
09:08AnCaRioN has left #asahi ["The Lounge - https://thelounge.chat"]
09:11bdju has joined #asahi
09:17maor26 has joined #asahi
09:19furkan has joined #asahi
09:27acelogic has quit [Ping timeout: 256 seconds]
09:53brandas has joined #asahi
10:04brandas has quit [Quit: quit]
10:04brandas has joined #asahi
10:22raster has joined #asahi
10:41m42uko has quit [Quit: Leaving.]
10:44m42uko has joined #asahi
11:20macc24 has quit [Ping timeout: 256 seconds]
11:23macc24 has joined #asahi
11:40snalty has joined #asahi
12:19brandas has quit [Quit: quit]
12:20brandas has joined #asahi
12:28vimal has quit [Remote host closed the connection]
12:30vimal has joined #asahi
12:45brandas has quit [Quit: quit]
12:46brandas has joined #asahi
12:55vimal has quit [Remote host closed the connection]
13:04vimal has joined #asahi
13:58Bublik has joined #asahi
14:03Bublik has quit [Client Quit]
14:27ml has quit [Ping timeout: 256 seconds]
14:27ml has joined #asahi
14:30nonemu has joined #asahi
14:46acelogic has joined #asahi
15:14djb_ has quit [Ping timeout: 258 seconds]
15:25Raqbit has quit [Read error: Connection reset by peer]
15:25Raqbit has joined #asahi
15:27Tokamak has joined #asahi
15:47furkan has quit [Ping timeout: 276 seconds]
15:48djb has joined #asahi
15:54furkan has joined #asahi
16:07ransom has joined #asahi
17:31acelogic has quit [Remote host closed the connection]
17:34acelogic has joined #asahi
18:01VinDuv has joined #asahi
18:19Tokamak has quit [Ping timeout: 265 seconds]
18:23Tokamak has joined #asahi
18:49acelogic2 has joined #asahi
18:50Raqbit4 has joined #asahi
18:52Raqbit has quit [Ping timeout: 276 seconds]
18:52Raqbit4 is now known as Raqbit
18:52acelogic has quit [Ping timeout: 276 seconds]
19:14spectrejan[m] is now known as spectrejan[m]1
19:16spectrejan[m]1 is now known as Spectrejan[m]
19:35macc24 has quit [Ping timeout: 258 seconds]
19:39PeterEaston has joined #asahi
19:43PeterEaston is now known as TheJollyRoger
20:01tsrt^ has joined #asahi
20:10TheJollyRoger has quit [Ping timeout: 268 seconds]
20:12TheJollyRoger has joined #asahi
20:32macc24 has joined #asahi
20:33raster has quit [Quit: Gettin' stinky!]
20:44marcanjust sent off a patch series to maintainers for initial Linux bringup on M1
20:46j`eyoh you changed FIQ handling
20:46marcanthis includes SMP support now, m1n1 patches pushed too
20:48marcanit's using the standard linux spin-table, no patches related to SMP other than the irqchip driver for AIC
20:48j`eyit really takes 35s to show the shell?
20:48marcanno, I have it on serial
20:48marcanthen I triggered it on fb from there just for the screenshot
20:48maximus64nice work :P
20:49j`eymarcan: 'triggered it on fb'?
20:49marcanash </dev/tty0 >/dev/tty0 2>/dev/tty0
20:49marcanit was actually like an hour until I did that :p
20:49marcanthe crng startup thing was because typing on serial triggers IRQs which eventually seeds the RNG
20:49j`ey1hour for m1 to boot to shell :O :P
20:49marcanand I was testing stuff then :p
20:49marcanI mean I left it for an hour :p
20:51j`eyI like the ALTERNATIVE(ALTERNATIVE( :)
20:55robinp_ has joined #asahi
20:57marcanyeah, I was like... is this going to work?
20:57marcanturns out it does... almost by accident
20:57marcanand this is the documentation I'd been promising to write: https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart
20:57tbodtdoes this collide with the corellium patches?
20:58marcandefine collide
20:59marcanit's a completely independent patch series
20:59robinp has quit [Ping timeout: 264 seconds]
20:59tbodtI mean, are the maintainers going to have to choose one series or the other to land
21:00marcanthe corellium patchset sent 2 weeks ago had many large issues; most of those patches would have to be thrown away entirely
21:00marcanI don't know what they're doing or planning, but I got tired of waiting :)
21:02marcanin particular, I've yet to see a single (non-empty) email from a corellium employee
21:02maximus64It gonna be a fun journey to get this patch set merge :)
21:02marcanI don't have high hopes for their community interactions at this point; I hope they change their approach though, because some of their drivers are useful
21:03j`eystan acke'd a patch :P
21:03marcanbut in the meantime I'm going to try to build up core support :)
21:03marcanj`ey: I said non-empty, header lines do not count as body content :p
21:03marcan(even if they're in the email body)
21:04marcanmaximus64: I sure hope so :)
21:04marcanmodulo an email reply or two, I'll be taking tomorrow off; I've been neglecting too many things the past few weeks :p
21:08amw has joined #asahi
21:08yrlf has quit [Quit: The Lounge - https://thelounge.chat]
21:09yrlf has joined #asahi
21:09yrlf has quit [Client Quit]
21:11yrlf has joined #asahi
21:11dhewgi'm not used to yaml binding docs, but are your cpu compatibles missing "AAPL,m1", "AAPL,arm-platform"?
21:13dhewgi was looking at patch 3, but that's not the cpu node, nvm ;)
21:23brandas has quit [Quit: quit]
21:24brandas has joined #asahi
21:24marcandhewg: I was waiting for it to show up
21:25marcaner no sorry, I did link lore
21:25marcantired, ignore me
21:26clover[m]congrats on the upstreaming milestone marcan
21:26marcanclover[m]: let's wait until it's actually upstream ;)
21:27* clover[m]puts away the dom perignon
21:28jn__coincidentally, i have a driver for different AIC in a branch that i want to upstream at some point
21:32roxfan"different AIC"?
21:33jn__another interrupt controller called AIC
21:34jn__("advanced" in this case, i think)
21:48j`eymarcan: patch 14 interanlly typo
21:57jannauthe first usb-c/usb-c usb3 cable had of course SBU not connected
22:01j`eymarcan: patch 15, Documentation/process/coding-style.rst says t avoid multiple assignments on a single line (u32 type = event >> 16, irq = event & 0xffff;)
22:02VinDuv has quit [Quit: Leaving.]
22:05marcanj`ey: thanks, I'll fix those up in the next version
22:05marcangoing to sleep now :)
22:06raster has joined #asahi
22:09Mary_Does m1n1 output anything on serial when starting? currently trying to get serial working with macvdmtool but without much success :/
22:11j`eyit prints m1n1
22:11j`ey(before it even gets to C code)
22:11marcanMary_: make sure you use "reboot serial"
22:11Glanzmannmarcan: Nice work. :-) By adding the second macos installation I can use the macos boot loader to choose between linux and macos?
22:12marcanMary_: anything else you're likely to get the timing wrong, and miss the messages
22:12marcanthat's why that command exists
22:12marcanGlanzmann: correct!
22:13jannauMary_: `python shell.py` will print bae and fb address
22:13marcanby the way, that's 3 different installs where I had no kmutil problems, maybe 4. not sure if I'm p=0.125 odds lucky here, or they fixed the supposed kmutil bug by the time 11.2 final rolled out
22:14marcanMary_: boot baudrate is 115200; most of the python stuff will switch that to 1500000 though
22:14winocmtfw no framebuffer bae
22:14marcanoff by one; what you want is *bad*
22:14marcanapple, that is
22:14marcanI should really do a demo where the apple logo turns into you know what
22:14Glanzmannn8 marcan. Thanks for all the hard work. :-)
22:14maximus64bad apple ;)
22:15winocmbad apple on increasingly larger task managers
22:15marcanapple silicon with 1024 cores when
22:15marcanAIC will need an upgrade...
22:15jn__as soon as there's a working sound driver, such a demo will be mandatory ;)
22:16davidrysk[m]marcan: maybe ask @afrojer what he means by the bug still existing? :P
22:16maximus64by then you can just play it form linux :p
22:16jannauMary_: serial wasn't working with the first usb-c/usb-c cable I tried, I suspect out of spec cable with missing SBU
22:17davidrysk[m]also note that some in-spec cables might not necessarily pass SBU or data lines correctly
22:17marcanthose are not required by spec?
22:17marcanI thought they were
22:18mndza has quit [Ping timeout: 258 seconds]
22:18marcanFWIW SBU are required; though we can map serial to D+/D-, those are not crossed over, so that will never work for M1-to-M1, you'd end up with RX-RX TX-TX
22:19marcanI tested it with an Apple Thunderbolt cable, which unsurprisingly worked fine
22:20GlanzmannBtw. does someone know how to describe macos from the beta channel?
22:21Mary_I tested with my Anker cable and the cable that was given with the macbook air
22:25roxfanGlanzmann: what do you mean by "describe"?
22:27Glanzmannroxfan: I enrolled in the beta channel with my macos in order to get the bputil, now that 11.2 is released I want to be back into the normal channel.
22:27roxfanah so "unsubscribe"
22:27davidrysk[m]Glanzmann: you should be able to unenroll from beta in the software update system preferences
22:27davidrysk[m]by clicking on more details for the beta program
22:27GlanzmannI found it. Thanks.
22:29Mary_okay got it to work
22:29Mary_needed to use my Razer Core X thunderbolt cable and well tty.debug-console
22:30Mary_Guess I will grab one of the apple thunderbolt cable because this one is way too short for my setup..
22:30GlanzmannHas soemone tried the cable that is shipped with macbook air, does it work.
22:31Mary_it doesn't work for me
22:31GlanzmannStill wait for my serial port (aka mac mini).
22:32Mary_Anyhow, thanks again for the help ^^
22:32GlanzmannBtw. I tried the corelliumhq nvme installation today, worked so far. wifi nvme keyboard and touchpad (without thumb detection) is working. I also looked at some of the patches they look minimal invasive, hopefully we can reuse them.
22:34amwI'm getting "504 Gatewat Time-out" for https://freenode.irclog.whitequark.org/asahi-dev/2021-02-03 - service down?
22:35GlanzmannI get 502 bad gateway, so it seems.
22:35marcanwait, I forgot something
22:35marcanyou need a *USB 3* SuperSpeed type C cable
22:36marcanUSB2 type C cables won't work, those don't have SBU
22:36marcanI've been thinking of full-spec USB3 SS cables all along
22:36marcanthat needs mentioning in the docs
22:36Mary_ah that makes sense
22:36Glanzmannmarcan: I see.
22:36GlanzmannMaybe I have already two of them. If they do not work, I'll search for one on amazon.
22:37winocmI hate USB-C’a cable fragmentation issue
22:40jannauthere might be out of spec USB-3 Superspeed cables, the first one I tried from an usb-3.1 gen2 nvme adapter didn't work
22:41marcanthat would be out of spec if it's missing SBU
22:41davidrysk[m]winocm: yeah and USB4 doesn't help with the fragmentation. I wish there was software that allowed you to ID a cable
22:42davidrysk[m]they promised authentication software but I don't think it ever happened
22:44amwMight be nice if marcan's flexible USB-PD debug cable / box could do some iding/checking of cable capabilities
22:44spikebikeindeed, IB cables can be queries for their capabilities and serial number
22:44robinp_ is now known as robinp
22:44amwI have lots of old USB cables (mostly USB2) that I'm not sure if I should throw away as faulty or broken or what charging speeds they use...
22:53marcanamw: not sure if available outside Japan, but these are great: https://www.amazon.co.jp/-/en/gp/product/B07Y8BPVV4/
22:53marcanI have one
22:54davidrysk[m]they seem to go for around $100
22:56raster has quit [Quit: Gettin' stinky!]
22:56marcan$50 here
22:59vchernin[m] has joined #asahi
23:03amwout of stock in Japan amazon - BitTradeOne USB Cable Checker - sounds amazing but probably a little too much for me - may be my work though
23:14amwfreenode.irclog.whitequark.org back working for me now.
23:31maor26 has quit [Ping timeout: 240 seconds]
23:46ransom has quit [Quit: Textual IRC Client: www.textualapp.com]
23:59brandas has quit [Quit: quit]
…