Friday, 2016-06-17

*** tpb has joined #timvideos00:00
*** sb0 has joined #timvideos00:52
*** panther has joined #timvideos01:29
*** panther is now known as sab_12301:29
sab_123mithro, ping01:29
mithrosab_123: I'll look at your pull request on the weekend01:52
sab_123mithro, okay thanks.01:52
mithrosab_123: actually have to do work for my employer occasionally :P01:54
sab_123mithro, yes :-), I agree completely. No issues. Just wanted to confirm01:55
mithrosab_123: pester me if you haven't seen anything by Monday01:55
sab_123mithro, will do01:55
*** sab_123 has quit IRC02:03
*** Bertl_oO is now known as Bertl_zZ02:09
mithrotumbleweed: ping? How should I set up a list of things which could be worked on for the DebCamp16 sprints for HDMI2USB stuff?02:21
*** CarlFK has joined #timvideos03:18
*** ChanServ sets mode: +v CarlFK03:18
*** ssk1328 has joined #timvideos03:48
*** rohitksingh_work has joined #timvideos04:15
mithroCarlFK: your testing script, can you get it to dump the version information too?04:27
CarlFKmithro: that would only apply when I see the HDMI2USB> prompt, right ?04:29
mithroCarlFK: yes04:29
ssk1328mithro: The heartbeat pull request is old. I have completely restructured the code now.04:38
mithrossk1328: okay, can you please update the pull request then?04:39
ssk1328mithro: I can't seem to figure out how to send a pull request without the previous README.md commits04:39
mithrossk1328: you need to change what is in the branch04:39
mithroYou will need to do a "git push --force" eventually04:40
ssk1328I have a branch with heartbeat stuff added to it. But this branch also has previous commits so now I need to cherrypick that specific commit.04:42
mithrossk1328: so, rename your old branch and create a new branch with the same name that only has the commits you want04:45
ssk1328mithro: I just sent a new pull request04:57
mithrossk1328: I would prefer you used the existing pull request04:57
mithrossk1328: your new pull request is incorrect too, it has the update README and then a revert commit - it shouldn't have the commit at all04:58
ssk1328mithro: Okay05:01
*** rohitksingh_work has quit IRC05:02
CarlFKmithro: looking at HDMI2USB>version... is there any one line that you want?  like   git describe: v0.0.0-639-g956a8b3-dirty05:25
CarlFK or          built: Apr 11 2016 15:53:0905:25
mithroCarlFK: the pull stuff would be good05:30
*** mobydikc has quit IRC05:37
ssk1328mithro: Sent you a pull request for heartbeat thing06:01
mithrossk1328: added comments06:09
ssk1328mithro: I am not sure why travis-ci is failing06:10
ssk1328It works fine when I do make load-lm3206:10
mithrossk1328: you can go and look at the error messages and find out why06:11
ssk1328mithro: the function that the error message is saying is undefined has already been included via hdmi_in* header files06:12
mithrossk1328: not all devices have two inputs and two outputs06:13
ssk1328mithro: Okay06:14
CarlFKmithro: how does this look? (still running...) http://paste.ubuntu.com/17426329/06:36
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)06:36
mithroCarlFK: good06:36
mithroCarlFK: just a sanity check that what is running on the device is what we asked :)06:36
CarlFKmithro: makes sense.  I am also showing the builds that don't have an atlys dir (build failed i guess?)06:37
CarlFKmithro: got a place for me to put this code?06:38
mithroCarlFK: not really06:38
CarlFKlol06:38
CarlFKk06:38
mithroCarlFK: It might make sense in the prebuilt repo06:39
CarlFKthat was my guess06:39
mithroCarlFK: dump it in a gist for now06:39
CarlFKmithro: why bother?06:40
mithroCarlFK: what do you mean?06:40
CarlFKwhat is the point of my putting it in a gist ?06:41
mithroCarlFK: So that we have it atleast stored somewhere06:41
CarlFKhow do you find it later?06:42
mithroCarlFK: search the logs here :P06:42
mithroCarlFK: there are a couple of bits that should probably be extracted and put into the modeswitch tool06:43
mithroCarlFK: it'll also let me add some comments06:43
CarlFKmithro: is there a .. um.. command I can run to put a file in a gist ?06:44
mithroCarlFK: there is, but I can't remember it off the top of my head06:45
mithrojust go to https://gist.github.com/ and paste06:45
tpbTitle: Create a new Gist · GitHub (at gist.github.com)06:45
mithrohttps://gist.github.com/defunkt/37023006:45
tpbTitle: A list of Gist clients. · GitHub (at gist.github.com)06:45
mithroCarlFK: gist is basically a better pastebin :)06:46
CarlFKbetter for who :p06:46
mithroCarlFK: everyone, it lets you update it - it has syntax highlighting - etc06:47
*** rohitksingh_work has joined #timvideos06:47
CarlFK$ pastebinit find_firm.py06:48
CarlFKhttp://paste.ubuntu.com/17426387/06:48
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)06:48
CarlFKthat works. this .. does not:06:48
CarlFK[email protected]:~/mnt/cnt1/juser/bin$ gist find_firm.py06:48
CarlFKgist: (WARNING) fread failed (command) on CGM file find_firm.py06:48
CarlFKgist: (WARNING) BEGIN METAFILE element missing06:48
CarlFKgist: (WARNING) find_firm.py is not a binary CGM, cannot open06:48
CarlFKgist>06:48
mithroCarlFK: I think that is not the gist I'm talking about06:49
mithroCarlFK: https://github.com/defunkt/gist#command06:50
tpbTitle: GitHub - defunkt/gist: Potentially the best command line gister. (at github.com)06:50
mithroCarlFK: it should work just like your pastebinit command06:50
JoelwLooks like the one you ran was "GIST - A Scientific Graphics Package For UNIX Workstations"06:50
CarlFKthat's what I was hoping for06:50
CarlFKlol06:50
CarlFK[email protected]:~/mnt/cnt1/juser/bin$ gist find_firm.py06:53
CarlFKhttps://gist.github.com/a39572f22ff118bf59c65c4f523a4c3b06:53
tpbTitle: find_firm.py · GitHub (at gist.github.com)06:53
mithroCarlFK: do you think you could see if you can make https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/scripts/download-prebuilt.sh script work again?06:53
tpbTitle: HDMI2USB-misoc-firmware/download-prebuilt.sh at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)06:53
CarlFK\o/06:53
mithrogreat!06:55
mithroCarlFK: it would be good if we have a couple of Python commands which probed the prebuilt repo on github and returned the available firmware versions06:55
mithroCarlFK: the idea would be that you should be able to do something like "hdmi2usb-mode-switch --load=<revision number|stable/testing/unstable>" and it updates your board06:56
mithroCarlFK: why did you use the openocd command rather than the flash command?06:57
*** rohitksingh_wor1 has joined #timvideos06:58
CarlFKI know of openocd and I don't know of flash06:58
*** rohitksingh_work has quit IRC07:00
CarlFKmithro: looks like there is no "git describe" or maybe even version command at some point ?07:01
CarlFKwhoops.. I shouldn't have the r = ser.write(b'version\n') inside the loop that reads the results back one line at a time...07:03
mithroYeah07:03
CarlFKis there some way to update that gist?07:04
mithroIf you go back before LCA the version info is wrong07:04
mithroCarlFK: yes07:04
mithroCarlFK: see the thing I linked07:05
mithroCarlFK: the aim with mode switch is that you shouldn't need to know openocd or fxload to update your firmware and manage the device07:06
mithroNot quite there yet, but slowly getting there07:07
mithroBtw did you try out the new udev rules?07:07
CarlFKI think I saw them, pretty sure I haven't done anything with them07:08
*** se6astian has joined #timvideos07:08
mithroThey should give you stable /dev/hdmi2usb names07:09
mithroSo you can use /dev/hdmi2usb/by-num/board0/video in your other scripts07:11
mithroAnyway gtg!07:13
mithroShould be around on the weekend07:14
CarlFKHDMI2USB>version07:16
CarlFKgateware revision: 0607e92607:16
CarlFKfirmware revision: 0607e926, built Jan 26 2016 11:25:3907:16
CarlFKthat's when my script got stuck07:16
CarlFKhttp://paste.ubuntu.com/17426578/07:17
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)07:17
CarlFKim off to07:17
*** rohitksingh_wor1 has quit IRC07:45
*** rohitksingh_work has joined #timvideos07:46
*** cr1901_modern has quit IRC07:58
*** wanig_ has joined #timvideos08:39
*** cyrozap has quit IRC08:42
*** cyrozap has joined #timvideos08:44
*** wanig has quit IRC08:45
*** rohitksingh_work has quit IRC08:46
*** deeprave has quit IRC08:49
*** deeprave has joined #timvideos08:50
*** ssk1328 has quit IRC09:04
*** Bertl_zZ is now known as Bertl09:21
*** aom has joined #timvideos10:29
*** aom has quit IRC10:54
*** panther has joined #timvideos11:18
*** panther is now known as sab_12311:19
*** rohitksingh_work has joined #timvideos11:32
*** sab_123 has quit IRC13:15
*** rohitksingh_work has quit IRC13:43
*** se6astian is now known as se6astian|away15:04
*** se6astian|away is now known as se6astian16:05
*** Bertl is now known as Bertl_oO19:32
*** se6astian is now known as se6astian|away21:00
*** cr1901_modern has joined #timvideos23:23

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!