Sunday, 2018-04-08

*** tpb has joined #timvideos00:00
CarlFKI thought you were going to bed?00:10
*** nancy has quit IRC00:43
*** Samty has joined #timvideos01:52
*** nancy has joined #timvideos01:55
*** Samty has quit IRC02:01
*** nancy has quit IRC02:06
felix[m]1Yeah, well, I guess that didn't work out =)02:14
*** nancy has joined #timvideos02:22
CarlFKdo you have any boards that you have been able to flash?02:23
*** nancy has quit IRC02:45
felix[m]1No, I just have the nexys :-) . It's semi-working: Flashing the gateware separately worked, and then I had to figure out that I needed to set the boot jumper to QSPI. I still need to provide the kernel for the firmware, though.03:07
felix[m]1I'm pretty certain now that the changes I proposed in the issue above are correct -- unless mithro beats me to it (or I spend the entire day catching up on sleep), I'll see if I can put together a pull request.03:10
mithrofelix[m]1: Pull request already open03:10
tpbTitle: flash: Fix end address for firmware. by mithro · Pull Request #426 · timvideos/HDMI2USB-litex-firmware · GitHub (at
* mithro runs away again03:11
felix[m]1You fine folks are way to fast for me. Thanks @mithro!03:11
mithroHave not tested :-P03:12
mithrofelix[m]1: Would be good if you could...03:12
felix[m]1Well, I can flash the firmware with the changes you've made, but I can't flash the entire image -- the check fails. I think that's a board issue though, or something I'm doing wrong.03:13
felix[m]1There's one more thing in the file that might be worth looking at: I think line 47 should read `filename = args.other_file`03:15
felix[m]1(instead of args.other)03:15
CarlFKsounds plausable03:16
CarlFKdoes it show up as a usb serial device you can connect a terminal to?03:16
felix[m]1Yes, it does (I have both JTAG and TTY connections via USB)03:18
felix[m]1Regarding the change above, I haven't been able to figure out how argparse handles the hyphen in the argument name. Do you know whether '--other-file' gets sanitized to 'args.other_file'?03:19
felix[m]1It works for me, but I'd rather be sure :-)03:19
felix[m]1Ah it says here : "Any internal - characters will be converted to _ characters to make sure the string is a valid attribute name."03:23
tpbTitle: 16.4. argparse — Parser for command-line options, arguments and sub-commands Python 3.8.0a0 documentation (at
felix[m]1Ok, so now I'm definitely heading to bed. See you later, depending on your timezones :-)03:28
felix[m]1And CarlFK , thanks a lot for your support!03:29
CarlFKwait wait...03:31
CarlFKdo you get a prompt you can run "version" on?03:31
CarlFK(01:36:30 PM) CarlFK: hey look, I made a test.  :)
tpbTitle: HDMI2USB-litex-firmware/ at master · CarlFK/HDMI2USB-litex-firmware · GitHub (at
CarlFKhmm, that needs requests, and py3.. never mind, it may not be as simple as I hoped03:32
felix[m]1I have a quick moment if I can help, I'm just not sure what I'd do.03:36
felix[m]1 Ah, I think I get it now.03:40
felix[m]1Hm, I'm supposed to be running `python --version --tty=/dev/ttyUSB0`, right?03:42
CarlFKassuming /dev/ttyUSB0 is something you can connect a serial term to, like minicom or tio03:45
CarlFKor flterm03:45
CarlFKflterm --port=/dev/ttyUSB003:45
CarlFKshould say "connected" or something, hit Enter, see a hdmi2usb> prompt03:46
CarlFKpython3 - not sure if it will work with v2.03:46
felix[m]1Yeah, so that's an issue of mine -- I can't get flterm to work without supplying a --kernel=... flag03:47
felix[m]1It stays stuck at 'starting...'03:48
CarlFKif you get "test passed" it will be an accident, because I didn't add support for other boards...03:48
CarlFKit flterm?03:48
CarlFKdid you hit enter?03:48
felix[m]1I can supply the kernel once, and after that I don't need it anymore.03:48
felix[m]1(so flterm --tty=... works directly on the second try)03:49
CarlFKso .. 2nd try, enter, version enter.  get a big screen of version info?03:49
felix[m]1Ah, version is supposed to run on the HDMI2USB prompt? Oh sorry, I should not be doing useful things anymore :-)03:50
felix[m]1Give me a sec!03:50
CarlFKyes - version is supposed to run on the HDMI2USB prompt03:51
felix[m]1Ok, I only get a DNA for the hardware -- or is that what you're looking for?03:51
felix[m]1My local copy is way behind the github repo though, might need to catch up with the remote.03:52
tpbTitle: Ubuntu Pastebin (at
CarlFKthats should give you an idea03:52
CarlFKthat is what my .py does.  sends "version" (one char at a time) and parses the resulting spew03:53
felix[m]1Ok, that's pretty much what I get:
tpbTitle: Ubuntu Pastebin (at
CarlFKgit describe: v0.0.4-146-g45a1748-dirty03:55
CarlFKyeah, don't worry about it.03:56
CarlFKthe best we can hope for is "assert failed"03:56
felix[m]1Which assert do you mean by that?03:57
CarlFKthere is only one assert03:57
CarlFKim not 100% sure how I should test.  like, what defines "expected version" >?03:57
felix[m]1Ok, I think I understand. Anyhow, it's high time I catch up with the github repo again, and I should contribute some of the patches I've made for the nexys video while I'm at it.03:58
felix[m]1I need the board working in my particular configuration, so I've been a bit lazy about updating the code. But that's for tomorrow (or later today). Have a great day / see you later!04:00
CarlFKsee ya04:02
*** rohitksingh has joined #timvideos04:55
*** rohitksingh has joined #timvideos06:10
*** rohitksingh has quit IRC06:14
*** rohitksingh has joined #timvideos06:16
*** rohitksingh has quit IRC06:30
*** tsukasa_au has quit IRC06:42
*** thaytan has quit IRC08:35
*** thaytan has joined #timvideos08:36
*** ChanServ sets mode: +v thaytan08:36
*** CarlFK has quit IRC08:47
*** nancy_ has joined #timvideos09:57
*** nancy_ has quit IRC11:23
*** nancy_ has joined #timvideos12:01
*** nancy_ has quit IRC12:06
*** rohitksingh has joined #timvideos12:27
*** bunnie_ has quit IRC12:34
*** sb0 has joined #timvideos12:55
*** rohitksingh has quit IRC13:02
*** sb0 has quit IRC14:12
*** rohitksingh has joined #timvideos14:39
*** CarlFK has joined #timvideos14:44
*** ChanServ sets mode: +v CarlFK14:44
*** i_ has joined #timvideos15:11
*** rohitksingh has quit IRC15:24
*** rohitksingh has joined #timvideos15:25
*** rohitksingh has quit IRC16:19
*** rohitksingh has joined #timvideos16:35
*** i_ has joined #timvideos16:36
*** rohitksingh has quit IRC17:23
*** rohitksingh has joined #timvideos17:47
*** i_ has joined #timvideos17:48
*** rohitksingh has quit IRC18:00
*** I_ has joined #timvideos18:56
*** nancy has joined #timvideos20:20
*** techman83|clone has quit IRC22:04
*** techman83 has joined #timvideos22:04
*** ChanServ sets mode: +v techman8322:04
*** Kripton has quit IRC23:36
*** Kripton has joined #timvideos23:47

Generated by 2.13.1 by Marius Gedminas - find it at!