2021-09-28
00:27jhweruyuw has quit [Remote host closed the connection]
01:11riker77_ has joined #asahi-dev
01:16riker77 has quit [Ping timeout: 480 seconds]
01:16riker77_ is now known as riker77
01:30yuyichao_ has quit [Ping timeout: 480 seconds]
02:00yuyichao_ has joined #asahi-dev
02:40phiologe has joined #asahi-dev
02:44PhilippvK has quit [Ping timeout: 480 seconds]
08:28FireFox317 has joined #asahi-dev
10:57yuyichao_ has quit [Ping timeout: 480 seconds]
11:13yuyichao_ has joined #asahi-dev
11:34sjg1 has joined #asahi-dev
11:38sjg1I posted the output here: https://lore.kernel.org/u-boot/CAPnjgZ0t8PswLTArvPgctsZSNXr5n7VG12p6=KiN-ZXmOzxs3A@mail.gmail.com/
11:41svenhm.. so that looks like it successfully talked to the other side and if the cable supports usb 3.0 that should also be enough
11:51sjg1But I get invalid argument, as if it cannot set the serial rate. Also it seems odd to set that on a USB-C port which presumably goes faster
12:01aleasto has joined #asahi-dev
12:03FireFox317sjg1: i think it actually uses 2 pins in the usb-c cable and actually transmits the uart signal over that, so then setting the baudrate does make sense
12:04FireFox317but I might be incorrect tho
12:26sveni don't think that was ever finished (or, well, i guess it wasn't even started). most of us just use another m1 machine and the few who have a real serial interface built something themselves
12:29povik has quit [Quit: Page closed]
13:05sjg1sven: OK ta. The breakout board seems to be out of stock but will see if it comes back. I would prefer USB serial as I don't generally use Mac for development. I suppose I can use ssh to help
13:06j_eyyou can also run u-boot under the hypervisor, which means you can use a non-mac to conenct to the vUART
13:14svenhrm, i guess i should also look into exposing that USB PD chip to linux userspace so that we can eventually also use linux running on the m1 for this
14:40j_eysjg1: something like python3 linux.py --compression=none u-boot-nodtb.bin t8103-j274.dtb right?
14:43j_eysjg1: https://paste.gg/p/anonymous/87fe66db44d447f0a7aeeaf31d0ed7a0 something like this should work
14:44j_eylinux.py isnt using the hypervisor, but my link ^ will, and will give you uart (over a normal usb cable to a linux machine)
14:48FireFox317 has quit [Quit: Page closed]
15:01j_ey(and in the original terminal where you used run_guest you can use ctrl+c to stop it running, and type reboot to.. reboot)
15:09psykose has quit [Remote host closed the connection]
15:10psykose has joined #asahi-dev
15:11sjg1[2724541.085569] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
15:16j_eyhttps://termbin.com/q4dc is what I deleted, but as kettenis said, maybe just work out which dw3 node you need to delete
15:19j_eykettenis: I also did a weird thing and appended my linux kernel to the uboot image, so I didnt have to use the nvme code to load the kernel lol
15:22psykose has quit [Read error: No route to host]
15:22psykose has joined #asahi-dev
15:28sjg1j_ey: kettenis: I don't get a console when I leave the USB and dart USB nodes as 'disabled'. It waits for several seconds, appears to connect, but I see no output
15:46jbowen has joined #asahi-dev
16:07aleasto has quit [Ping timeout: 480 seconds]
16:10jbowen has quit [Ping timeout: 480 seconds]
16:19nevexo has joined #asahi-dev
16:21cfleming has quit [Ping timeout: 480 seconds]
16:30aleasto has joined #asahi-dev
16:42jbowen has joined #asahi-dev
16:51jbowen has quit [Ping timeout: 480 seconds]
17:19jhweruyuw has joined #asahi-dev
17:28jbowen has joined #asahi-dev
17:43jbowen has quit [Ping timeout: 480 seconds]
18:10jbowen has joined #asahi-dev
19:56FireFox317 has joined #asahi-dev
20:00yuyichao has joined #asahi-dev
20:04yuyichao_ has quit [Ping timeout: 480 seconds]
20:16FireFox317 has left #asahi-dev [Leaving]
20:20FireFox317 has joined #asahi-dev
20:20FireFox317 has left #asahi-dev [#asahi-dev]
20:21FireFox317 has joined #asahi-dev
20:21jbowen has quit [Quit: leaving]
22:12aleasto has quit [Quit: Konversation terminated!]
22:40yuyichao_ has joined #asahi-dev
22:44yuyichao has quit [Ping timeout: 480 seconds]
22:53yuyichao_ has quit [Ping timeout: 480 seconds]