*** tpb has joined #timvideos | 00:00 | |
mithro | tumbleweed: https://github.com/apps/unfurl-links | 00:00 |
---|---|---|
tpb | Title: GitHub Apps - Unfurl Links 路 GitHub (at github.com) | 00:00 |
cr1901_modern | printf debugging is useless for qemu T_T | 00:08 |
mithro | cr1901_modern: Why? You can send the tty output to a different pts? | 00:08 |
cr1901_modern | mithro: That doesn't matter when xmodem/the serial xfer app is swallowing stdout (and doesn't release it fast enough before swallowing my debug output) | 00:09 |
mithro | cr1901_modern: Hrm? make the console be a different pts and connect your xmodem to that? | 00:10 |
cr1901_modern | mithro: My current qemu command line https://hastebin.com/jamodefipu.pl | 00:10 |
mithro | cr1901_modern: So, what is the problem? | 00:11 |
tumbleweed | mithro: pushed patches to both of those branches | 00:12 |
cr1901_modern | mithro: None of my debug output after the xfer finishes is being displayed | 00:12 |
* cr1901_modern tries harder | 00:12 | |
mithro | where should the debug info be going? | 00:12 |
cr1901_modern | It should be displayed on stdout after the xmodem xfer is done (so it doesn't interfere with the return codes for the transmitter) | 00:15 |
cr1901_modern | But instead what's happening is when I log back into minicom after the xfer is done, a number of printf statements don't display | 00:16 |
mithro | cr1901_modern: Are you sure you don't have multiple serial connections open? | 00:17 |
cr1901_modern | mithro: Ummm, well there is a "minicom" open that I can't account for ._. | 00:18 |
cr1901_modern | is there a quick linux command to figure out what fds its using? | 00:18 |
cr1901_modern | actually n/m | 00:18 |
cr1901_modern | that won't help here b/c I killed qemu | 00:18 |
* cr1901_modern looks for the open minicom | 00:19 | |
cr1901_modern | Okay, so that minicom's attached to a different pty | 00:20 |
cr1901_modern | mithro: Yes I'm sure I only have one serial connection open | 00:20 |
cr1901_modern | mithro: My theory is that "sx"'s stdin buffer (which is stdout of my pty) is filled with a number of messages after the xfer finishes, but sx closes stdin as it exits and the messages get lost | 00:25 |
cr1901_modern | I wonder if I can "tee" it to get the missing messages | 00:26 |
cr1901_modern | wtf... when I do "echo \"write spi xmodem 0x20088000 60104 0XB6848B7C\" > /dev/pts/20", the other side doesn't receive it until I open minicom | 00:35 |
*** tvCommitBot has joined #timvideos | 05:14 | |
tvCommitBot | [website] mithro pushed 6 new commits to add-code-of-conduct-1: https://git.io/vFLNn | 05:14 |
tvCommitBot | website/add-code-of-conduct-1 a78993b Tim 'mithro' Ansell: Adding a reporting file. | 05:14 |
tvCommitBot | website/add-code-of-conduct-1 3d3cc54 Tim 'mithro' Ansell: Moving CODE_OF_CONDUCT.md into conduct/Code.md | 05:14 |
tvCommitBot | website/add-code-of-conduct-1 448c777 Tim 'mithro' Ansell: Adding wrapping and front matter to code of conduct. | 05:14 |
*** tvCommitBot has left #timvideos | 05:14 | |
mithro | shenki: So - you going to reproduce shorne's stuff? :-P | 05:17 |
shenki | mithro: tonight! | 05:26 |
shenki | mithro: which board should I use? | 05:27 |
shenki | mithro: i was also going to review his upstream kernel patches. they are sitting in my inbox | 05:27 |
mithro | shenki: I'm unsure if shorne was using hardware or just qemu... | 05:27 |
mithro | shenki: Arty or Opsis | 05:27 |
shenki | ok | 05:28 |
mithro | Will test the Arty here sometime soon I think... | 05:31 |
*** CarlFK has quit IRC | 05:51 | |
*** tvCommitBot has joined #timvideos | 06:10 | |
tvCommitBot | [website] mithro pushed 1 new commit to add-code-of-conduct-1: https://git.io/vFLxU | 06:10 |
tvCommitBot | website/add-code-of-conduct-1 3f20dc4 Tim 'mithro' Ansell: travis: Use rvm 2.2 | 06:10 |
*** tvCommitBot has left #timvideos | 06:10 | |
*** aps has joined #timvideos | 06:14 | |
*** CarlFK has joined #timvideos | 06:17 | |
*** ChanServ sets mode: +v CarlFK | 06:17 | |
*** rohitksingh has joined #timvideos | 06:28 | |
*** tvCommitBot has joined #timvideos | 06:35 | |
tvCommitBot | [website] mithro pushed 1 new commit to add-code-of-conduct-1: https://git.io/vFLpJ | 06:35 |
tvCommitBot | website/add-code-of-conduct-1 63b9654 Tim 'mithro' Ansell: Rakefile: Don't checkout again? | 06:35 |
*** tvCommitBot has left #timvideos | 06:35 | |
*** rohitksingh has quit IRC | 06:51 | |
*** tvCommitBot has joined #timvideos | 07:07 | |
tvCommitBot | [website] mithro closed pull request #17: Adding Code of Conduct. (master...add-code-of-conduct-1) https://git.io/vFLWf | 07:07 |
*** tvCommitBot has left #timvideos | 07:07 | |
*** tvCommitBot has joined #timvideos | 07:07 | |
tvCommitBot | [website] mithro deleted add-code-of-conduct-1 at 63b9654: https://git.io/vFLhs | 07:07 |
*** tvCommitBot has left #timvideos | 07:07 | |
*** rohitksingh has joined #timvideos | 07:14 | |
cr1901_modern | mithro: I made a little bit of progress when I switched to flterm. So here's what happened when trying to do an xmodem xfer w/ flterm using qemu: | 07:18 |
cr1901_modern | 1. flterm errors out immediately w/ 11 transfer failures | 07:18 |
cr1901_modern | 2. HDMI2USB echos "Invalid chars in CRC." in the middle of a bunch of garbage. I have no idea where this string is defined in HDMI2USB. | 07:18 |
cr1901_modern | 3. Every 10 seconds, qemu-litex echoes a load of crap to the screen. For every newline in this crap, the "H2U time>" prompt is refreshed. It does this 11 times. The crap is identical each time. | 07:18 |
cr1901_modern | 4. Prompt goes back to normal after 11 times. | 07:18 |
cr1901_modern | So I suspect what is happening is that there is a nice mismatch between when the qemu serial port is actually retrieving data versus when its sent | 07:18 |
cr1901_modern | And the "crap" that's being emitted is in fact the contents of the first packet, 11 times | 07:19 |
cr1901_modern | mithro: Plz ignore everything I just wrote lmao. This is a different "oversight" in my flterm fixes. I'll make a mental note and we can discuss after I get qemu working. | 07:23 |
cr1901_modern | mithro: Actually, my list still applies; the garbage still happens when I account for the flterm "oversight" | 07:29 |
mithro | shenki: For the arty, you might need a crossover cable | 07:51 |
*** aps has quit IRC | 09:04 | |
*** jwhitmore has joined #timvideos | 09:28 | |
mithro | shorne: I get 'buildroot login:' with qemu now too! | 09:42 |
*** rohitksingh has quit IRC | 09:44 | |
shorne | mithro: I was just using qemu so far | 11:04 |
shorne | now that qemu is working I will try to get serial output on arty again | 11:05 |
shorne | but... I was having issues with getting any output, so I might need to integrate _florent_ 's adv_dbg_sys patches so I can debug whats going on | 11:06 |
shorne | after that we can work on linux networking | 11:06 |
shorne | Is there any work on the liteth driver in linux? | 11:06 |
*** aps has joined #timvideos | 12:06 | |
*** tsglove has quit IRC | 12:41 | |
shenki | benh was interested in writing a driver. i'll ask him about that tomorrow | 12:50 |
shenki | i'm not aware of any existing code for ethernet | 12:51 |
shorne | shenki: I think now with userspace on qemu working it should not take too much time | 12:52 |
shenki | shorne: cool | 12:53 |
shorne | The bios code is probably a good place to start | 12:55 |
shorne | https://github.com/enjoy-digital/liteeth/tree/937c2407276371d9f8c1bb19c4ae8e97e581da83/liteeth/software/libuip | 12:55 |
tpb | Title: liteeth/liteeth/software/libuip at 937c2407276371d9f8c1bb19c4ae8e97e581da83 路 enjoy-digital/liteeth 路 GitHub (at github.com) | 12:55 |
*** accesspoint has joined #timvideos | 12:56 | |
*** tsglove has joined #timvideos | 14:07 | |
*** tsglove2 has joined #timvideos | 14:28 | |
*** tsglove has quit IRC | 14:31 | |
*** tsglove3 has joined #timvideos | 14:51 | |
*** tsglove2 has quit IRC | 14:54 | |
*** jwhitmore has quit IRC | 15:12 | |
*** tsglove3 has quit IRC | 15:25 | |
*** tsglove3 has joined #timvideos | 15:27 | |
*** tsglove3 has joined #timvideos | 15:28 | |
*** tsglove2 has joined #timvideos | 15:29 | |
*** tsglove3 has quit IRC | 15:33 | |
*** tsglove3 has joined #timvideos | 15:34 | |
*** tsglove2 has quit IRC | 15:35 | |
*** tsglove3 has quit IRC | 15:35 | |
*** tsglove3 has joined #timvideos | 15:37 | |
*** tsglove2 has joined #timvideos | 15:38 | |
*** tsglove3 has quit IRC | 15:41 | |
*** tsglove3 has joined #timvideos | 16:00 | |
*** tsglove2 has quit IRC | 16:03 | |
*** rohitksingh has joined #timvideos | 16:21 | |
*** tsglove2 has joined #timvideos | 16:36 | |
*** tsglove3 has quit IRC | 16:39 | |
*** jwhitmore has joined #timvideos | 16:53 | |
*** tsglove3 has joined #timvideos | 17:03 | |
*** tsglove2 has quit IRC | 17:06 | |
*** sb0 has quit IRC | 17:08 | |
*** tsglove2 has joined #timvideos | 17:12 | |
*** sb0 has joined #timvideos | 17:12 | |
*** jwhitmore has quit IRC | 17:14 | |
*** tsglove3 has quit IRC | 17:15 | |
*** jwhitmore has joined #timvideos | 17:16 | |
*** tsglove3 has joined #timvideos | 17:24 | |
*** tsglove2 has quit IRC | 17:27 | |
*** jwhitmore has quit IRC | 17:35 | |
*** tsglove2 has joined #timvideos | 17:49 | |
*** tsglove2 has quit IRC | 17:51 | |
*** tsglove2 has joined #timvideos | 17:51 | |
tumbleweed | mithro: that build failed, but it seemed successful? http://paste.debian.net/993432/ | 17:52 |
tpb | Title: debian Pastezone (at paste.debian.net) | 17:52 |
*** tsglove3 has quit IRC | 17:53 | |
*** tsglove3 has joined #timvideos | 17:55 | |
mithro | https://www.bunniestudios.com/blog/?p=5018 | 17:56 |
*** tsglove2 has quit IRC | 17:58 | |
*** jwhitmore has joined #timvideos | 18:05 | |
tumbleweed | nice | 18:05 |
*** rohitksingh has quit IRC | 18:19 | |
*** rohitksingh has joined #timvideos | 18:33 | |
*** tsglove2 has joined #timvideos | 18:34 | |
CarlFK | quite | 18:36 |
*** tsglove3 has quit IRC | 18:37 | |
*** tsglove3 has joined #timvideos | 18:40 | |
*** tsglove2 has quit IRC | 18:43 | |
*** rohitksingh has quit IRC | 19:07 | |
*** rohitksingh has joined #timvideos | 19:13 | |
*** tsglove3 has quit IRC | 19:22 | |
*** tsglove3 has joined #timvideos | 19:22 | |
*** rohitksingh has quit IRC | 19:54 | |
*** tsglove2 has joined #timvideos | 20:01 | |
*** tsglove3 has quit IRC | 20:04 | |
*** aps has quit IRC | 20:24 | |
*** tsglove3 has joined #timvideos | 20:35 | |
*** tsglove2 has quit IRC | 20:38 | |
mithro | https://github.com/0xAX/0bt | 20:38 |
tpb | Title: GitHub - 0xAX/0bt: 馃捒 馃惂 some experiments with loading of the Linux kernel (at github.com) | 20:38 |
*** tsglove2 has joined #timvideos | 20:47 | |
*** accesspoint has left #timvideos | 20:47 | |
*** tsglove2 has quit IRC | 20:49 | |
*** tsglove3 has quit IRC | 20:51 | |
mithro | Merge all the changes! | 20:57 |
tumbleweed | thanks :) | 21:02 |
mithro | tumbleweed: Need to take another look at https://github.com/timvideos/HDMI2USB-litex-firmware/pull/341 | 21:10 |
tpb | Title: Use CRLF line-endings by stefanor 路 Pull Request #341 路 timvideos/HDMI2USB-litex-firmware 路 GitHub (at github.com) | 21:10 |
CarlFK[m] | 5:19 - pxe booted installer.. lets see how fast this new ssd thing works | 22:21 |
CarlFK[m] | it's been 5 min... im not impressed :p | 22:26 |
mithro | CarlFK[m]: So you going to do some testing? | 22:35 |
mithro | CarlFK[m]: btw what relay boards did you buy? | 22:35 |
CarlFK[m] | mithro : trying to. figured I should have a clean/known/up to date box | 22:36 |
tumbleweed | mithro: any ideas about that build failure? | 22:36 |
tumbleweed | I assume the CI failures on the CR-LF branch are due to you locking down the prebuilt repo? | 22:37 |
mithro | tumbleweed: link? | 22:37 |
tumbleweed | http://paste.debian.net/993432/ | 22:37 |
tpb | Title: debian Pastezone (at paste.debian.net) | 22:37 |
CarlFK[m] | SainSmart USB Eight Channel Relay Board for Automation - 12 V Link: http://a.co/g1M2lo2 | 22:38 |
CarlFK[m] | somewhere is a comment describing how it flutters when you connect/reset the usb connection | 22:41 |
CarlFK[m] | if you plug in usb, then power, all is well | 22:41 |
CarlFK[m] | power, then usb and 3 of the relays click a few times | 22:41 |
CarlFK[m] | also "sudo reboot" the pc that the usb is plugged int, and the relays click (which powercycles the opsis) | 22:42 |
CarlFK[m] | so I would say lets look for another version and maybe it will be better | 22:44 |
mithro | FYI - I think we are going to rename the "HDMI2USB-litex-firmware" to something like "litebuild" because we now have 2 projects using it for setup | 22:44 |
mithro | s/2 projects/3 projects/ | 22:44 |
mithro | There will still be a HDMI2USB-litex-firmware for the HDMI2USB specific stuff | 22:44 |
mithro | But it will be much smaller | 22:44 |
CarlFK[m] | heh 'Had no way to find ip address' | 22:48 |
*** tsglove2 has joined #timvideos | 22:50 | |
*** jwhitmore has quit IRC | 22:57 | |
CarlFK[m] | "The relays DO switch all on/off very quickly when your computer boots up, but if you're fine with this it works well." | 22:58 |
CarlFK[m] | " on computer startup, the board goes through some kind of initialization and trips the relays rapidly a few times." "Now I feel like I need a power control for the 12V for the relays so they are unpowered during reboot cycles ..." | 23:00 |
mithro | CarlFK[m]: Is there a reason you picked that relay board? | 23:00 |
CarlFK[m] | a ps1er said "I got something from that company" | 23:00 |
mithro | The current users of "litebuild" would be - HDMI2USB, MicroPython on FPGAs and Linux on LiteX | 23:01 |
CarlFK[m] | I liked the usb-cb connector | 23:01 |
CarlFK[m] | usb-b (no c) | 23:01 |
CarlFK[m] | 8 relays for $30 was the cheepest per relay cost. and I made up reasons why I might need 5. | 23:02 |
CarlFK[m] | so yes, lots of reasons. No good reasons. | 23:02 |
cr1901_modern | mithro: I'm not 100% sure what you have in mind for litebuild, but throw ideas out there and I will tell you all the ways Windows makes it difficult :) | 23:05 |
cr1901_modern | (this is hopefully a joke) | 23:05 |
mithro | cr1901_modern: I'm thinking of trying to use meson stuff | 23:06 |
cr1901_modern | mithro: Cool! I use meson for libmodem already without issue | 23:07 |
cr1901_modern | Need to still add sdcc support, but that shouldn't be too hard (priorities lol) | 23:08 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!