*** tpb has joined #timvideos | 00:00 | |
CarlFK | I thought you were going to bed? | 00:10 |
---|---|---|
*** nancy has quit IRC | 00:43 | |
*** Samty has joined #timvideos | 01:52 | |
*** nancy has joined #timvideos | 01:55 | |
*** Samty has quit IRC | 02:01 | |
*** nancy has quit IRC | 02:06 | |
felix[m]1 | Yeah, well, I guess that didn't work out =) | 02:14 |
*** nancy has joined #timvideos | 02:22 | |
CarlFK | lol | 02:23 |
CarlFK | do you have any boards that you have been able to flash? | 02:23 |
*** nancy has quit IRC | 02:45 | |
felix[m]1 | No, 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]1 | I'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 |
mithro | felix[m]1: Pull request already open | 03:10 |
mithro | felix[m]1: https://github.com/timvideos/HDMI2USB-litex-firmware/pull/426 | 03:11 |
tpb | Title: flash: Fix end address for firmware. by mithro · Pull Request #426 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 03:11 |
* mithro runs away again | 03:11 | |
felix[m]1 | You fine folks are way to fast for me. Thanks @mithro! | 03:11 |
mithro | Have not tested :-P | 03:12 |
mithro | felix[m]1: Would be good if you could... | 03:12 |
felix[m]1 | Well, 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]1 | There'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 |
CarlFK | sounds plausable | 03:16 |
CarlFK | does it show up as a usb serial device you can connect a terminal to? | 03:16 |
felix[m]1 | Yes, it does (I have both JTAG and TTY connections via USB) | 03:18 |
felix[m]1 | Regarding 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]1 | It works for me, but I'd rather be sure :-) | 03:19 |
felix[m]1 | Ah it says here https://docs.python.org/dev/library/argparse.html#dest : "Any internal - characters will be converted to _ characters to make sure the string is a valid attribute name." | 03:23 |
tpb | Title: 16.4. argparse — Parser for command-line options, arguments and sub-commands Python 3.8.0a0 documentation (at docs.python.org) | 03:23 |
felix[m]1 | Ok, so now I'm definitely heading to bed. See you later, depending on your timezones :-) | 03:28 |
felix[m]1 | And CarlFK , thanks a lot for your support! | 03:29 |
CarlFK | wait wait... | 03:31 |
CarlFK | do you get a prompt you can run "version" on? | 03:31 |
CarlFK | (01:36:30 PM) CarlFK: hey look, I made a test. :) https://github.com/CarlFK/HDMI2USB-litex-firmware/blob/master/jenkins/tests/ck_version.py | 03:31 |
tpb | Title: HDMI2USB-litex-firmware/ck_version.py at master · CarlFK/HDMI2USB-litex-firmware · GitHub (at github.com) | 03:31 |
CarlFK | hmm, that needs requests, and py3.. never mind, it may not be as simple as I hoped | 03:32 |
felix[m]1 | I 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]1 | Hm, I'm supposed to be running `python ck_version.py --version --tty=/dev/ttyUSB0`, right? | 03:42 |
CarlFK | yep | 03:44 |
CarlFK | assuming /dev/ttyUSB0 is something you can connect a serial term to, like minicom or tio | 03:45 |
CarlFK | or flterm | 03:45 |
CarlFK | flterm --port=/dev/ttyUSB0 | 03:45 |
CarlFK | should say "connected" or something, hit Enter, see a hdmi2usb> prompt | 03:46 |
CarlFK | python3 - not sure if it will work with v2. | 03:46 |
felix[m]1 | Yeah, so that's an issue of mine -- I can't get flterm to work without supplying a --kernel=... flag | 03:47 |
felix[m]1 | It stays stuck at 'starting...' | 03:48 |
CarlFK | if you get "test passed" it will be an accident, because I didn't add support for other boards... | 03:48 |
CarlFK | it flterm? | 03:48 |
CarlFK | did you hit enter? | 03:48 |
felix[m]1 | Yes! | 03:48 |
CarlFK | hmm | 03:48 |
felix[m]1 | I 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 |
CarlFK | whack. | 03:49 |
CarlFK | so .. 2nd try, enter, version enter. get a big screen of version info? | 03:49 |
felix[m]1 | Ah, version is supposed to run on the HDMI2USB prompt? Oh sorry, I should not be doing useful things anymore :-) | 03:50 |
felix[m]1 | Give me a sec! | 03:50 |
CarlFK | yes - version is supposed to run on the HDMI2USB prompt | 03:51 |
felix[m]1 | Ok, I only get a DNA for the hardware -- or is that what you're looking for? | 03:51 |
felix[m]1 | My local copy is way behind the github repo though, might need to catch up with the remote. | 03:52 |
CarlFK | http://paste.ubuntu.com/p/2Qp3hzrx7s/ | 03:52 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:52 |
CarlFK | thats should give you an idea | 03:52 |
CarlFK | that is what my .py does. sends "version" (one char at a time) and parses the resulting spew | 03:53 |
felix[m]1 | Ok, that's pretty much what I get: https://paste.ubuntu.com/p/58sRZC7DVN/ | 03:54 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:54 |
CarlFK | git describe: v0.0.4-146-g45a1748-dirty | 03:55 |
CarlFK | hmm | 03:55 |
CarlFK | yeah, don't worry about it. | 03:56 |
CarlFK | the best we can hope for is "assert failed" | 03:56 |
felix[m]1 | Which assert do you mean by that? | 03:57 |
CarlFK | there is only one assert | 03:57 |
CarlFK | im not 100% sure how I should test. like, what defines "expected version" >? | 03:57 |
felix[m]1 | Ok, 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]1 | I 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 |
CarlFK | see ya | 04:02 |
*** rohitksingh has joined #timvideos | 04:55 | |
*** rohitksingh has joined #timvideos | 06:10 | |
*** rohitksingh has quit IRC | 06:14 | |
*** rohitksingh has joined #timvideos | 06:16 | |
*** rohitksingh has quit IRC | 06:30 | |
*** tsukasa_au has quit IRC | 06:42 | |
*** thaytan has quit IRC | 08:35 | |
*** thaytan has joined #timvideos | 08:36 | |
*** ChanServ sets mode: +v thaytan | 08:36 | |
*** CarlFK has quit IRC | 08:47 | |
*** nancy_ has joined #timvideos | 09:57 | |
*** nancy_ has quit IRC | 11:23 | |
*** nancy_ has joined #timvideos | 12:01 | |
*** nancy_ has quit IRC | 12:06 | |
*** rohitksingh has joined #timvideos | 12:27 | |
*** bunnie_ has quit IRC | 12:34 | |
*** sb0 has joined #timvideos | 12:55 | |
*** rohitksingh has quit IRC | 13:02 | |
*** sb0 has quit IRC | 14:12 | |
*** rohitksingh has joined #timvideos | 14:39 | |
*** CarlFK has joined #timvideos | 14:44 | |
*** ChanServ sets mode: +v CarlFK | 14:44 | |
*** i_ has joined #timvideos | 15:11 | |
*** rohitksingh has quit IRC | 15:24 | |
*** rohitksingh has joined #timvideos | 15:25 | |
*** rohitksingh has quit IRC | 16:19 | |
*** rohitksingh has joined #timvideos | 16:35 | |
*** i_ has joined #timvideos | 16:36 | |
*** rohitksingh has quit IRC | 17:23 | |
*** rohitksingh has joined #timvideos | 17:47 | |
*** i_ has joined #timvideos | 17:48 | |
*** rohitksingh has quit IRC | 18:00 | |
*** I_ has joined #timvideos | 18:56 | |
*** nancy has joined #timvideos | 20:20 | |
*** techman83|clone has quit IRC | 22:04 | |
*** techman83 has joined #timvideos | 22:04 | |
*** ChanServ sets mode: +v techman83 | 22:04 | |
*** Kripton has quit IRC | 23:36 | |
*** Kripton has joined #timvideos | 23:47 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!