#
…

2021-07-04

00:00Stary has joined #asahi
00:00Stary is now known as Guest1406
00:02Guest1406 is now known as Stary
00:07quarkyalice_ has quit [Remote host closed the connection]
00:08quarkyalice has joined #asahi
00:10quarkyalice has quit []
00:11quarkyalice has joined #asahi
00:18alyssa has joined #asahi
00:18* alyssatries to boot linux
00:44bgb has joined #asahi
00:47kfischer has quit [Quit: kfischer]
01:01yeoldetoast has joined #asahi
01:04kfischer has joined #asahi
01:06kfischermarcan: Alright, I’ve made some progress here. With the dart/dev branch and a dumb USB-C -> USB-A dongle, USB host works fine. Then with a slight modification to the device tree, I can also enable usb device mode and load the ethernet gadget in such a way that it shows up on the host as a USB device. No luck convincing macOS to actually load an ethernet driver for it though
01:06bgb has quit [Ping timeout: 480 seconds]
01:13brentr123[m]Sorry unrelated but happy 4th of July to all my American friends!!
01:22yeoldetoast has left #asahi [Textual IRC Client: www.textualapp.com]
01:50kfischer has quit [Quit: kfischer]
01:51kfischer has joined #asahi
01:57kfischer has quit [Quit: kfischer]
01:59kfischer has joined #asahi
02:09kfischer has quit [Quit: kfischer]
02:20ae86 has joined #asahi
02:28amwkfischer: Are you going to try Linux? I believe the vuart under HV while remaining hangs on long lines so beware
02:35ae86What even is linux
02:47phiologe has joined #asahi
02:51PhilippvK has quit [Ping timeout: 480 seconds]
03:12skipwich has quit [Ping timeout: 481 seconds]
03:36bgb has joined #asahi
03:58marvin24 has joined #asahi
04:00ae86 has quit [Remote host closed the connection]
04:00ae86 has joined #asahi
04:01marcanamw: he's running it natiev
04:02marvin24_ has quit [Ping timeout: 480 seconds]
04:18amwI'm slowly understanding the HV, samsung-uart driver. I can add debug to the Linux, m1n1 so I will slowly get to the bottom of the stuck vuart
04:23ae86Why did apple implement iokit into firmware?
04:56ae86 has quit [Remote host closed the connection]
04:58ae86 has joined #asahi
06:22bgb has quit [Ping timeout: 480 seconds]
06:22amwmarcan: Tracing vuart() shows it happily writing in FIFO mode and then the writes stop but nothing has reported TxFull, but if I hack the s5l_serial_drv_data to fifosize = 160 (versus 16) it doesn't hang/block...
07:41pugguu has joined #asahi
07:49aleasto has joined #asahi
08:04pugguu has quit [Read error: Connection reset by peer]
08:05pugguu has joined #asahi
09:56choozy has joined #asahi
09:58riker77 has quit [Quit: Quitting IRC - gone for good...]
10:09riker77 has joined #asahi
10:25choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:28svenkfischer: fwiw, i also had trouble to get the serial gadget driver to load on macos. it didn't want to attach it to the kext. worked fine on linux though and i didn't care enough to figure out why
10:28svenand nice to know that the role switching also works :-)
10:39amwsven: Using the dev/dart kernel haven't been able to get any USB detected / working with linux.py or under HV run_guest.py with a disabled dwc3-0
10:40amwI used a Type-C=>Type-A adapter and also a Type-C => 4 port Type A Hub
10:41svenhm... strange
10:41svenanything in dmesg?
10:42amwNothing at all - so I'm probably screwed up something :-(
10:42svendoes it show the dwc3 controllers at least?
10:43svenif not, make sure both dwc3 and xhci is enabled in your configuration
10:43amwNo. - See the few messages I get here: https://paste.debian.net/1203360/
10:44svenyeah, they might just be disabled in the kernel config
10:44amwHmm - what CONFIG's are those?
10:45svendon't know by heart, but you can just search for dwc3 in make menuconfig
10:45sven(i.e. press / and then enter dwc3)
10:46eta(you can search?!?!)
10:46svenyou'll need dwc3, xhci and dart
10:46amwCONFIG_USB_DWC3_HOST DWC3_HAS_XHCI CONFIG_USB_XHCI_HCD
10:46svensounds about right
10:46j_eyeta: yes you can search!
10:46etathis discovery is almost as great as when I figured out there's a key you can press to find module deps
10:47amwHmm - non of them set .... :-D
10:47etainstead of just getting the stupid "this has to be built as a module because its deps are" warning when you press Y
10:47svenamw: oh, and you'll also need dart ofc
10:47j_eyeta: in the search menu, you will see numbers on the left, you can press them to jump to the results
11:02pugguu has quit [Read error: Connection reset by peer]
11:02pugguu has joined #asahi
11:05amwUgh it's going to take me a while to find all those options in menuconfig - tomorrow!
11:07svenoh, it's simple
11:07svenjust press /
11:07sventhen you should see a search window
11:07svenjust type DWC3 in there
11:27amwsven: Thanks - I've just been threshing around in the config => / search is *really* helpful - once I figured out how to navigate it :-)
11:39amwsven: YES! - I have plugged in a USB keyboard and happily typing in there.... - Thanks you SO MUCH !!!!
11:43svennice :-)
11:52pugguu has quit [Ping timeout: 480 seconds]
11:53pugguu has joined #asahi
12:05pugguu has quit [Ping timeout: 480 seconds]
12:26jnheh, it's the good old dell keyboard with the built-in smartcard reader
12:26jni have one too
12:33yuyichao has joined #asahi
12:36amwThis will sound dumb - but I *never* realised it had a smart card reader till you mentioned it! I just thought it was an old keyboard ....
12:42thunfisch has quit [Ping timeout: 481 seconds]
12:43PhilippvK has joined #asahi
12:43JTLamw: funny
12:46phiologe has quit [Ping timeout: 480 seconds]
12:58alyssasven: any idea why my kernel is failing to boot?
12:59alyssawhen I try it just hangs on.. the apple logo
12:59svenhow did you run that kernel?
13:02alyssalinux.py, and also tried concatenating with m1n1 and hypervisoring it
13:03svendo you have a uart cable?
13:04alyssawas hoping vuart would be enough if it came to that
13:05svenM1N1DEVICE=/dev/tty.usbmodemP_03 python3 proxyclient/tools/linux.py Image.gz t8103-j274.dtb initramfs.cpio.gz
13:05svenso that's what i use with a uart cable
13:05svenmake sure to disable the first dwc3 controller if you want to use vuart
13:05alyssawhat initramfs are people using?
13:06alyssaI don't usually use one, then again -ENONVME ..
13:06svensome dumb busybox thing
13:06svenlet me see if i can just upload it
13:08svenand yeah.. nvme.. first dart, then usb, the pcie and then nvme ;)
13:08alyssasven: a binary only copy of Busybox? I thought better of you
13:08sveni blame marcan! he gave that one to me
13:08alyssaPlease mail a DVD containing the corresponding source code to my address, ..
13:08svenright, let me delete that file again :-P
13:17thunfisch has joined #asahi
13:29alyssasven: Maybe there's something broken with the kernel I built
13:29svendo you get any output when you run it under the hv?
13:32alyssanope still nothing
13:32alyssabut that should be, er, closer
13:33svenjust to be sure: there are two ttys once the hv is running
13:33sventhe second one is the vuart one
14:17willy has quit [Ping timeout: 480 seconds]
15:04ae86 has quit [Read error: Connection reset by peer]
15:04ae86 has joined #asahi
16:00bps has quit [Remote host closed the connection]
16:01bps has joined #asahi
16:02ae86 has quit [Remote host closed the connection]
16:34phiologe has joined #asahi
16:37PhilippvK has quit [Ping timeout: 480 seconds]
16:44Ariadneif people need help with busybox feel free to ping me
17:05skali has joined #asahi
17:35bps has quit [Ping timeout: 480 seconds]
17:43skali has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:47tertu has joined #asahi
18:38marcanamw: vuart is just not implemented, like, at all
18:38marcanit's not a bug, it's just missing everything but trivial writes
18:38marcanwe need to implement tx complete IRQs and rx IRQs at the very least for this to work
18:39marcanand rx itself of course
18:39marcanlinux will write one FIFO worth of characters, then wait for an IRQ
18:39marcanno IRQ, no worky
18:41marcanalso I'm pretty sure that busybox is from a debian package or something :p
18:41marcandefinitely didn't compile it myself at least
18:57alyssamarcan: Please send the entirety of the Debian source code as a stack of DVDs in exchange for a nominal fee I will send to you by check.
19:01marcanneed to check if japan post is *finally* shipping to the US
19:33bps has joined #asahi
19:47aleasto has quit [Remote host closed the connection]
21:40tomtastic has quit [Ping timeout: 480 seconds]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi
23:34quarkyalice_ has joined #asahi
23:40quarkyalice has quit [Ping timeout: 480 seconds]
…