Monday, 2015-03-02

*** tpb has joined #timvideos00:00
mithrospeaking of shenki - have you finished doing those tickets yet?01:48
shenkimithro: o/01:54
shenkimithro: i started looking at them before realising that i needed hardware to do any meaningful mering of changes01:54
mithroshenki: most of them were like "fix the" and "sub module in fx2lib"?01:55
shenkimithro: hrm. i just looked at the first one :)01:56
shenkimithro: how do i get that search for all my tickets up?01:56
tpbTitle: Issues · GitHub (at
shenkimithro: is it possible to stick a submodule in a directory?02:06
shenkimithro: i'd prefer to just clone fx2lib into the cypress/ directory02:07
shenkiwe used submodules for openpower, and every time i need to use it i have to go re-read the docs02:07
mithroshenki: yes, you can can put a submodule anywhere02:10 now goes to the github wiki for the hdmi2usb repo02:12
*** CarlFK has joined #timvideos02:14
*** ChanServ sets mode: +v CarlFK02:14
mithroCarlFK: -> now goes to the github wiki for the hdmi2usb repo02:17
CarlFKyay!  thanks.02:17
mithroCarlFK: those photos you linked are in a confusing order02:20
mithroMaZderMind: I also ordered two of the minispartans02:46
*** CarlFK has quit IRC03:01
*** travis-ci has joined #timvideos04:22
travis-cishenki/HDMI2USB#19 (dev - 713308b : Joel Stanley): The build failed.04:22
travis-ciChange view :^...713308b1a4ad04:22
travis-ciBuild details :
*** travis-ci has left #timvideos04:22
*** travis-ci has joined #timvideos04:24
travis-cishenki/HDMI2USB#20 (dev - 9a34f9c : Joel Stanley): The build is still failing.04:24
travis-ciChange view :
travis-ciBuild details :
*** travis-ci has left #timvideos04:24
mithroshenki: I wonder what is going on there, it's only showing like the first 10-15 lines04:26
*** travis-ci has joined #timvideos04:31
travis-cishenki/HDMI2USB#21 (dev - 5585c88 : Joel Stanley): The build is still failing.04:31
travis-ciChange view :
travis-ciBuild details :
*** travis-ci has left #timvideos04:31
shenkimithro: ahh, make it stop04:31
mithroshenki: it's your repo's travis.yml04:31
shenkimithro: yeah, i just turned it off for my repo04:32
tpbTitle: cypress: Add fx2lib submodule · 5585c88 · shenki/HDMI2USB · GitHub (at
shenkimithro: why doesn't that rule get run as a dep of the one above it?04:35
shenkimithro: i want to say "if the fx2lib dir doesn't exist, run the rule that does the submodule crap"04:35
shenkibecause we don't want the submodule crap to run every time you build the fx2.lib (otherwise if you're doing local hacks it might break you)04:35
mithroshenki: you want to depend on something inside the fx2lib directory, as the fx2lib directory itself will exist even without the submodules init/update04:38
shenkimithro: oh, i see04:39
*** travis-ci has joined #timvideos04:40
travis-cimithro/HDMI2USB#73 (master - a820dc9 : Tim 'mithro' Ansell): The build is still failing.04:40
travis-ciChange view :
travis-ciBuild details :
*** travis-ci has left #timvideos04:40
mithroshenki: any idea why your git push thing is broken?04:40
shenkimithro: err... one bug at a time :)04:41
tpbTitle: Travis CI - Free Hosted Continuous Integration Platform for the Open Source Community (at
shenkimithro: does that sha exist in the repo?04:45
mithroshenki: I did a git gc and a git fsck on the repo04:48
mithroto see if that helped04:48
mithronope :(04:50
mithrogit clone --depth=50 --branch=master04:50
mithroseems to be working now that I fetchs the latest upstream into build04:54
*** tija has joined #timvideos04:54
mithrowe should move build to rackspace04:55
mithro~seen aps04:55
tpbmithro: aps was last seen in #timvideos 1 week, 2 days, 2 hours, 24 minutes, and 20 seconds ago: <aps> mithro: morning. I'm going to have a call/chat with someone from Ansible support. Do you have any questions you'd like answered?04:55
shenkimithro: yeah, that's what that box you were asking me about the other day was for04:59
mithroshenki: I was trying to figure out the best way to combined your thing with the xilinx tools inside a docker image04:59
shenkimithro: okay05:00
shenkimithro: do you recall what the baud rate the cdc device enumerates as?05:00
mithroI'm not sure it matters?05:00
*** tvCommitBot has joined #timvideos05:04
tvCommitBot[HDMI2USB] mithro opened pull request #115: Small fixes to the travis build. (master...master)
*** tvCommitBot has left #timvideos05:04
mithroshenki: can you take a quick look at that pull request?05:04
shenkimithro: i think you should leave it in this channel05:07
shenkii'm not in that other channel05:07
shenkimithro: regarding ths commit
tpbTitle: Added eeprom IIC file and README · 4de8948 · rohit91/libfpgalink · GitHub (at
shenkimithro: what is the origin of that .iic file?05:15
mithroI think rohit created it by hand05:16
shenkimithro: okay05:16
shenkiyeah, it looks easy to create from a script05:16
shenkiperhaps i shuld add a script that creates it, instead of adding the binary?05:16
*** hyades_ has joined #timvideos05:16
shenki$ hexdump -C ~/Downloads/hdmi2usb_unconfigured_device.iic05:16
shenki00000000  c0 50 1d b5 60 00 00 01  ff ff ff ff ff ff ff ff  |.P..`...........|05:16
shenki00000010  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|05:16
mithroshenki: sure if you think you can do that05:17
mithroshenki: definately think we should cherry-pick rohit's commits first though05:17
shenkimithro: they're already there05:19
shenkimithro: with the exception of the one that changes the configured devices' pid05:19
shenkimithro: but ive pulled that one in05:19
mithroshenki: yeah I was just talking about the pid and the iic file bit05:19
shenkiokay. i don't want to chunk a binary into the repo05:20
*** CarlFK has joined #timvideos05:40
*** ChanServ sets mode: +v CarlFK05:40
cfeltonshenki: really stretching my memory but this is a script I used back in the day to create the FX2 eeprom images
tpbTitle: (at
shenkicfelton: wow :)05:42
shenkicfelton: we just need 8 bytes, so i created it like this:05:42
shenki        echo -n -e \\xc0\\x50\\x1d\\xb5\\x60\\x00\\x00\\x00\\x01 > [email protected]05:42
shenki        dd if=/dev/zero count=$((16*1024 - 8)) bs=1 >> [email protected]05:42
shenkibut i'm not sure that it's any less opaque than just checking in the 16k binary fiel05:42
cfeltondon't think I can claim much credit for the script05:43
cfeltontrue, at least it would be test and not binary?05:43
cfeltonthe relevant code you would need is around 138 to build the header, I don't remember the difference between the fist by of 0xC2 or 0xC005:47
mithro0xC0 means just load VID+PID05:48
mithro0xC2 means load a complete firmware05:48
cfeltonahhh, yes05:48
shenkimithro: so we don't even need the 16k? Just enough for the load vid+pid command?05:48
*** travis-ci has joined #timvideos05:49
travis-ci[mithro/HDMI2USB/master#75] (19c8e2f): The build passed. (
*** travis-ci has left #timvideos05:49
*** Niharika has joined #timvideos05:49
mithroshenki: take another look at that pull request - I reduce the announce to a single line which I think is better05:49
mithroshenki: I believe so05:50
cfeltonhow do you guys keep travis happy while the build is occurring, i.e. how do you prevent travis from timing out?05:50
mithrocfelton: we echo out the build output05:50
*** travis-ci has joined #timvideos06:12
travis-citimvideos/HDMI2USB#31 (master - c67f834 : Tim Ansell): The build has errored.06:12
travis-ciChange view :
travis-ciBuild details :
*** travis-ci has left #timvideos06:12
shenkimithro: hrm, can you link the pr to me?06:23
*** aps_ has joined #timvideos07:25
*** hyades_ has quit IRC07:30
*** slomo has joined #timvideos07:35
*** tvCommitBot has joined #timvideos07:44
tvCommitBot[HDMI2USB] shenki pushed 4 new commits to master:
tvCommitBotHDMI2USB/master a820dc9 Tim 'mithro' Ansell: Allow an existing ssh-config as travis now includes one.07:44
tvCommitBotHDMI2USB/master 8bdf590 Tim 'mithro' Ansell: Removing the primary channel and leaving HDMI2USB channel.07:44
tvCommitBotHDMI2USB/master 19c8e2f Tim 'mithro' Ansell: Using a 1 line announce template.07:44
*** tvCommitBot has left #timvideos07:44
*** tvCommitBot has joined #timvideos07:53
tvCommitBot[HDMI2USB] shenki opened pull request #116: Polish Cypress FX2 firmware  (
*** tvCommitBot has left #timvideos07:53
*** travis-ci has joined #timvideos07:55
travis-ci[timvideos/HDMI2USB/master#32] (0274f78): The build has errored. (
*** travis-ci has left #timvideos07:55
*** f15h has joined #timvideos08:21
tijamithro: How do I send video frames stored in RAM over ethernet on Linux?08:34
tijashenki: Don't I have to use rtp?08:37
tijasorry I am complete noob08:37
shenkitija: ah okay. i assumed from your question you were wanting to send raw ethernet frames08:37
shenkitija: rtp is layered on top of TCP or UDP (and therefore on top of IP)08:38
shenkitija: did you do a computer networking class at uni?08:38
tijashenki: yes. We had one.08:39
shenkitija: heh, so you're not a complete noob08:39
tijabut it was all theory not much practical stuff done08:40
tijawill this be useful?
tpbTitle: StreamingGuide – FFmpeg (at
shenkitija: what are you trying to do?08:44
tijashenki: Let say I captured HDMI frames on zybo and now it is stored on the DDR. How do I send the video frames over ethernet just the way we stream video via usb in HDMI2USB?08:45
shenkitija: ah right08:46
shenkitija: yeah, using vlc or ffmpeg or gstreamer are all good options08:46
tijashenki: can you give me more details?08:48
shenkitija: i'd recommend testing on your laptop first08:48
shenkitija: stream a video file over udp using gstreamer08:48
tijalike what all needs to be done? Do i have to create rtp packets or gstreamer will take care of it?08:49
shenkigstreamer does that08:50
shenkiopen up two terminals, and in one run this:08:51
shenkigst-launch-1.0 videotestsrc ! \ jpegenc ! \ rtpjpegpay ! \ udpsink host= port=520008:51
shenkiwhile on the other run this: gst-launch-1.0 udpsrc port=5200 ! application/x-rtp, encoding-name=JPEG,payload=26 ! rtpjpegdepay ! jpegdec ! autovideosink08:51
shenkihrm, irc ate the newlines. that first one should look like this:08:52
shenkigst-launch-1.0 videotestsrc !  jpegenc !  rtpjpegpay ! udpsink host= port=520008:52
shenkitija: did you get that going?08:53
tijashenki: oh yeah. I can see a test pattern08:54
shenkitija: cool08:55
shenkitija: so now you want to install gst-launch-1.0 on the zybo08:55
shenkitija: and get networking going08:55
shenkiand run the same command line, except with the IP of your laptop instead of
tijashenki: okay I think I got it. I will continuously write frames to a file and the Gstreamer will read it from the file and stream it. Right?08:57
shenkiyou're just using a test pattern to make sure that gstreamer and networking is working08:57
shenkitija: one step at a time :)08:58
tijaAs you say Captain!08:59
*** wanig has joined #timvideos09:00
*** f15h has quit IRC09:10
*** sb0 has quit IRC09:27
*** aps_ has quit IRC09:36
*** thaytan has quit IRC09:42
*** sb0 has joined #timvideos09:51
mithroshenki: I think someone purchased the server that was lex :P09:54
shenkimithro: hah09:55
shenkimithro: the ip has come alive?09:55
mithroshenki: yeah09:59
*** sb0 has quit IRC10:11
*** Niharika has quit IRC10:26
mithroshenki: did you want me to merge your pull request?11:09
tijashenki: on my zybo, I am running this command. add-apt-repository ppa:gstreamer-developers/ppa11:18
tijaI am getting this error.11:18
tijapycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none')11:18
tijaany idea why?11:18
shenkimithro: yes please11:25
shenkitija: hrm. what is the internet connection you're on?11:25
shenkitija: is there a chance you're getting man-in-the-middled?11:25
tijashenki: college LAN11:25
*** tvCommitBot has joined #timvideos11:26
tvCommitBot[HDMI2USB] mithro pushed 8 new commits to master:
tvCommitBotHDMI2USB/master d929095 Joel Stanley: cypress: Build firmware.c the same way as other files...11:26
tvCommitBotHDMI2USB/master 111d122 Joel Stanley: cypress: Add fx2lib submodule...11:26
tvCommitBotHDMI2USB/master 5368882 Joel Stanley: cypress: Flesh out the README a bit...11:26
*** tvCommitBot has left #timvideos11:26
tijashenki: Yes I am sitting behind college proxy server11:26
shenkitija: okay. that's sucky11:26
*** thaytan has joined #timvideos11:26
*** ChanServ sets mode: +v thaytan11:26
mithrotija: we set up a ssh tunnel server for you guys ni india to use11:26
mithrotija: if you send me a ssh key, I'll give you an account11:26
tijamithro: but it should work because things work perfectly on my laptop ubuntu11:27
shenkitija: how have you got your zybo set up? Can you walk me through the steps to get mine set up the same way?11:27
mithrotija: did you install the ssl certificates?11:28
mithrotija: sudo apt-get install ca-certificates11:28
tijashenki: there is a linux distribution for zybo and zedboard11:29
tpbTitle: Xillinux: A Linux distribution for Zedboard, ZyBo, MicroZed and SocKit | (at
tijaI am using that11:29
shenkitija: coo11:29
shenkitija: cool11:29
shenkitija: did you try just doing 'apt-get install gstreamer1.0-tools'?11:31
shenkiwithout adding the ppa?11:31
tijaUnable to locate package gstreamer1.0-tools.  :(11:32
shenkitija: did you try just doing 'apt-get install gstreamer0.10-tools'?11:33
tijagstreamer0.10 is already there11:33
shenkitija: so you can try running the commands we spoke about before, just use gst-inspect-0.10 instead of -1.011:34
tijaokay let me try.11:34
shenkimithro: so what should i hack on next?11:35
mithroshenki: figuring out the edid stuff11:36
mithroshenki: according to ajit this bug -> was why your demo didn't work at LCA11:37
tpbTitle: You need to reset the device after loading firmware before uvc works · Issue #112 · timvideos/HDMI2USB · GitHub (at
*** travis-ci has joined #timvideos11:37
travis-ci[timvideos/HDMI2USB/master#33] (8abe2db): The build has errored. (
*** travis-ci has left #timvideos11:37
shenkimithro: yeah, i did reset it11:37
mithrowhy does travis what an fricken pass-phrase!? ?11:39
tpbTitle: Travis CI - Free Hosted Continuous Integration Platform for the Open Source Community (at
mithroit works fine on my builds...11:40
mithroI'm going to head home so I can do washing while debugging this11:43
mithrowe find out tomorrow if we got accepted into GSoC11:43
tijanot working shenki11:44
mithrotija: more useful information would be good11:45
tijaran this on zybo11:45
tijagst-launch-0.10 videotestsrc !  jpegenc !  rtpjpegpay ! udpsink host= port=520011:45
tijaran this on my system11:45
tijagst-launch-1.0 udpsrc port=5200 ! application/x-rtp, encoding-name=JPEG,payload=26 ! rtpjpegdepay ! jpegdec ! autovideosink11:45
shenkitija: do you have a second machine?11:47
mithrotija: what was the error output?11:47
mithrotija: just pastebin the output of both commands11:47
tijashenki: yes i have a machine.11:48
tijaNo error output.11:48
shenkitija: paste all of the output11:48
shenkitija: if you can try the first command from another machine on the same network (connected int the same way as the zybo), to check that the packets are getting through11:48
tpbTitle: Pastebin | IRCCloud (at
tija^ on zybo11:49
tpbTitle: Pastebin | IRCCloud (at
tija^ on my laptop11:49
tijaI tried the same commands, with gst-launch-0.10 with ip as my localmachine and it didn't work.11:55
tijaI guess the command does not work with 0.1011:56
shenkitija: it should11:56
tijashenki: oh yeah I wrote it wrong :P11:57
shenkitija: :)11:57
tijashenki: Not working I will check it at night.12:13
shenkitija: okay12:14
shenkitija: do things like check you can connect on that port between the machines12:14
shenkitija: one way to test that is to run "python -m SimpleHTTPServer 5200" on your laptop12:15
shenkitija: and then do "wget" on the zybo12:15
shenkihrm, that ip looks a bit fishy12:15
*** Niharika has joined #timvideos12:30
*** slomo_ has joined #timvideos15:31
*** slomo_ has joined #timvideos15:31
*** slomo has quit IRC15:34
*** aps_ has joined #timvideos15:58
*** aps_ is now known as aps16:00
*** sb0 has joined #timvideos16:25
*** tija has quit IRC16:29
*** sb0 has quit IRC16:58
*** f15h has joined #timvideos17:17
*** f15h has quit IRC17:27
*** sb0 has joined #timvideos17:30
*** sb0 has quit IRC18:08
apsTimVideos not selected for GSoC '15 :(19:10
*** Niharika has quit IRC19:14
*** hyades_ has joined #timvideos19:27
*** abhinav95 has joined #timvideos19:28
*** rohitksingh has joined #timvideos20:01
*** piymis has joined #timvideos20:04
*** piymis has quit IRC20:17
*** piymis has joined #timvideos20:25
*** sb0 has joined #timvideos21:26
*** hyades_ has quit IRC21:30
*** sirnam has joined #timvideos21:46
*** piymis has left #timvideos21:50
*** slomo_ has quit IRC22:06
*** AnxiousGarlic has joined #timvideos22:09
*** AnxiousGarlic has left #timvideos22:10
*** abhinav95 has quit IRC22:12
*** sirnam has quit IRC23:09
*** sb0 has quit IRC23:38
*** sb0 has joined #timvideos23:43

Generated by 2.13.1 by Marius Gedminas - find it at!