*** tpb has joined #timvideos | 00:00 | |
tumbleweed | apt had solved a dependency problem by using sid's openocd | 00:00 |
---|---|---|
tumbleweed | (which is newer) | 00:00 |
CarlFK | lol | 00:00 |
CarlFK | the problem is you are using my packaging :p | 00:01 |
tumbleweed | now I get: | 00:03 |
tumbleweed | Error: unable to open ftdi device: device not found | 00:03 |
CarlFK | power cycle the atlys | 00:06 |
CarlFK | a udev rule should auto load something | 00:06 |
CarlFK | that makes lusb show: | 00:06 |
CarlFK | Bus 002 Device 015: ID 16c0:06ad Van Ooijen Technische Informatica | 00:06 |
CarlFK | Bus 005 Device 004: ID 04e2:1410 Exar Corp. | 00:06 |
tumbleweed | where do you get that udev rule? | 00:07 |
CarlFK | um.. one of my apt-gets from notes.txt | 00:07 |
tumbleweed | I have the Exar Corp device, and a Digilent Development board JTAG device | 00:07 |
CarlFK | ixo-usb-jtag | 00:08 |
tumbleweed | yeah, I just figured that out :) | 00:08 |
mithro | tumbleweed: don't use Carl's openocd package :-) | 00:10 |
tumbleweed | much better :) | 00:10 |
tumbleweed | mithro: what should I use? | 00:10 |
mithro | tumbleweed: the firmware will download openocd from conda | 00:10 |
tumbleweed | "the firmware" ? | 00:11 |
mithro | The get-env scripts | 00:11 |
tumbleweed | those sound like things I want to run, a lot less than carl's packages | 00:11 |
mithro | Yes | 00:12 |
tumbleweed | the packages may be messy, but at least I know what they're doing | 00:12 |
tumbleweed | and it looks like the messyness will resolve (one way or another) | 00:12 |
mithro | CarlFK's instructions are not useful if you want to actually help with development or do anything apart from basic testing | 00:13 |
tumbleweed | that's fine. I don't want to be installing proprietary crap on my laptop | 00:13 |
tumbleweed | getting it working at all is the most useful thing for me to do now | 00:13 |
mithro | https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/scripts/README.md | 00:13 |
tpb | Title: HDMI2USB-misoc-firmware/README.md at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 00:13 |
mithro | Love some help making those work on Debian | 00:14 |
mithro | I'll be back in about 30 minutes | 00:15 |
tumbleweed | I think I'll scare Debian Video people off a lot more with "install a proprietary development environment" than: "here are some messy debs that'll make it work" | 00:15 |
mithro | Just getting up and heading to work | 00:15 |
tumbleweed | I'm pretty sure we can make the production setup of this on Debian nice and simple | 00:15 |
tumbleweed | dev is probably a lot harder (due to the Xilinx ISE) | 00:16 |
mithro | tumbleweed: the production setup should be just install HDMI2USB-mode-switch | 00:16 |
mithro | tumbleweed: but that needs packaging | 00:17 |
tumbleweed | well, the production setup should be "turn it on" :P (eventually) | 00:17 |
mithro | Yes, true | 00:17 |
tumbleweed | anyway, it works | 00:17 |
mithro | Mode-switch will be needed if you want to upgrade the firmware | 00:17 |
mithro | If you wanted to be really fancy, you could have the gateware binary and the lm32 headers packaged, then people could still work on the lm32 firmware (which is just C) without needing the proprietary toolchain | 00:30 |
tumbleweed | that sounds useful | 00:31 |
mithro | tumbleweed: do you know udev at all? | 00:34 |
mithro | I'd like to setup /dev/hdmi/<serial number>/{video,tty} symlinks | 00:35 |
tumbleweed | only very vaguely | 00:43 |
tumbleweed | CarlFK: did you find any VGA->HDMI convertors that work, yet? | 00:43 |
tumbleweed | I got a couple to try, but they don't provide the right modes by EDID | 00:44 |
CarlFK | tumbleweed: other than the one I got a year ago, I havent tried | 00:44 |
tumbleweed | this does 1080p, but not 720p http://amazon.com/gp/product/B00Y3IGB62 | 00:45 |
CarlFK | my current plan for Node: if your laptop doesn't do hdmi, you get the twinpact. | 00:46 |
CarlFK | the two rooms we are in only have vga to the projector | 00:47 |
CarlFK | and I am not inclined to rewire them | 00:47 |
tumbleweed | that means you need working HDMI->VGA | 00:48 |
tumbleweed | do we have that? | 00:48 |
CarlFK | I think so.. I need to make sure I have 2 | 00:53 |
CarlFK | or just get 2 more. they are cheep.. $15 ish | 00:53 |
*** jamesh has quit IRC | 01:05 | |
*** jamesh has joined #timvideos | 01:05 | |
mithro | Okay, I'm around now | 01:39 |
mithro | CarlFK: ping? | 01:58 |
CarlFK | mithro: pong | 01:58 |
mithro | CarlFK: on that fresh setup, can you do a "conda update openocd" and then try "make load-gateware" step again? | 01:59 |
CarlFK | mithro: sure. | 01:59 |
CarlFK | works | 02:10 |
CarlFK | and I confirmed that it didn't work before the "conda update openocd" | 02:11 |
CarlFK | mithro: ^^^ | 02:12 |
mithro | okay, great - can you try from scratch again? | 02:12 |
mithro | CarlFK: A while back I asked if you wanted to manage the stable/testing links in the prebuilt repo | 02:12 |
CarlFK | mithro: sure - before I reimage the box, next step is erroring | 02:19 |
CarlFK | juser@dc10b:~/HDMI2USB-misoc-firmware$ make load-fx2-firmware | 02:19 |
CarlFK | make: *** No rule to make target `load-fx2-firmware'. Stop. | 02:19 |
mithro | It should just be "make load-fx2" | 02:20 |
CarlFK | want me to update: https://github.com/mithro/HDMI2USB-misoc-firmware/blob/master/scripts/README.md | 02:20 |
tpb | Title: HDMI2USB-misoc-firmware/README.md at master · mithro/HDMI2USB-misoc-firmware · GitHub (at github.com) | 02:20 |
CarlFK | remove "PROG=fpgalink" and change to "make load-fx2" | 02:21 |
mithro | CarlFK: gah - why did you sent that pull request to my repo and not the timvideos repo? | 02:32 |
mithro | CarlFK: can you resend that to the timvideos repo? | 02:32 |
CarlFK | because thats what I tested | 02:32 |
CarlFK | I have no idea how to send that somewhere else | 02:33 |
mithro | When you create the pull request, it will say where you are sending it too | 02:34 |
mithro | When you click the green "pull request" button, the first drop down is where you send the pull request | 02:35 |
jamesh | mithro: have you had a chance to look at the test suite fixes pull request for gst-switch? | 02:44 |
mithro | jamesh: sorry, not really | 02:45 |
mithro | jamesh: haven't really had any time to think about gst-switch stuff at the moment | 02:45 |
jamesh | okay | 02:45 |
mithro | jamesh: have less then a month to get everything ready for shipping the Opsis boards :-/ | 02:57 |
*** travis-ci has joined #timvideos | 03:19 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/master#40] (d7497b6): The build passed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88716952) | 03:19 |
*** travis-ci has left #timvideos | 03:19 | |
mithro | Bertl_zZ: ping? My OHS-Park order of your boards arrived! | 04:52 |
mithro | Bertl_zZ: the joins / berrs on the PCB board are a bit nasty | 04:55 |
*** travis-ci has joined #timvideos | 05:38 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/master#41] (ff33b4f): The build passed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88727535) | 05:38 |
*** travis-ci has left #timvideos | 05:38 | |
mithro | CarlFK: Okay, I merged your changes upstream | 05:43 |
mithro | CarlFK: and fixed a couple of small things too | 05:43 |
*** CarlFK has quit IRC | 05:46 | |
*** CarlFK has joined #timvideos | 05:52 | |
*** ChanServ sets mode: +v CarlFK | 05:52 | |
CarlFK | mithro: thanks | 05:54 |
CarlFK | mithro: about managing testing/stable - I am not sure how to evaluate stability | 05:56 |
CarlFK | mithro: I am happy to report my level of comfort and for the next two weeks it would be handy to me if thats all that mattered | 05:57 |
mithro | CarlFK: at the moment you are the biggest user, so "stable for you" is a good proxy for th emoment? | 05:57 |
CarlFK | for now | 05:58 |
*** travis-ci has joined #timvideos | 05:59 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/master#42] (74ad203): The build passed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88728323) | 05:59 |
*** travis-ci has left #timvideos | 05:59 | |
mithro | CarlFK: basically, the idea would be you test the unstable branch and if you are happy it works, promote to testing | 06:00 |
CarlFK | I am happy enough to say promote it now | 06:01 |
mithro | CarlFK: which version? | 06:01 |
CarlFK | firmware revision: 8e860e3a, built Nov 1 2015 09:32:31 | 06:03 |
*** travis-ci has joined #timvideos | 06:19 | |
travis-ci | [timvideos/HDMI2USB-misoc-firmware/master#275] (6a57c02): The build passed. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/88729690) | 06:19 |
*** travis-ci has left #timvideos | 06:19 | |
*** Bertl_zZ is now known as Bertl | 06:50 | |
*** CarlFK has quit IRC | 07:37 | |
*** se6astian|away is now known as se6astian | 07:53 | |
*** CarlFK has joined #timvideos | 08:28 | |
*** ChanServ sets mode: +v CarlFK | 08:28 | |
CarlFK | mithro: it has been on this for over 30 min: | 08:30 |
CarlFK | Using target part "6slx45csg324-3". | 08:30 |
CarlFK | Mapping design into LUTs... | 08:30 |
CarlFK | 3am.. bed time :p | 09:03 |
CarlFK | oh hell... | 09:04 |
CarlFK | Write failed: Broken pipe | 09:04 |
CarlFK | tmux... make gateware ... lets see what happens when I wake up | 09:06 |
*** Bertl is now known as Bertl_oO | 09:44 | |
mithro | _florent_: you about? I now have a pretty good understanding of how the USB needs to work (IE What needs to happen on the FX2 and signals the gateware needs to send) but I'm unsure on the correct way to implement it | 10:33 |
mithro | _florent_: basic theory is that the LM32 needs to generate a header, set a couple of bits and then DMA out the header+encoder data following it (and stalling on a FIFO full bit) | 10:43 |
*** travis-ci has joined #timvideos | 11:18 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/master#43] (36b6341): The build passed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88760078) | 11:18 |
*** travis-ci has left #timvideos | 11:18 | |
*** travis-ci has joined #timvideos | 11:19 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/fx2-refactor#45] (e177d3a): The build has errored. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88760867) | 11:19 |
*** travis-ci has left #timvideos | 11:19 | |
_florent_ | hi mithro, sorry I don't understand what you are doing exactly: why do we need to change the way the USB works? | 11:42 |
mithro | _florent_: because I'd like to decouple the USB and the JPEG parts and move the USB stuff into migen/misoc | 11:44 |
_florent_ | ah OK, | 11:44 |
*** travis-ci has joined #timvideos | 11:45 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/opsis-fixes#44] (48477f3): The build passed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88760526) | 11:45 |
*** travis-ci has left #timvideos | 11:45 | |
_florent_ | so moving code from the FX2 to the gateware? | 11:45 |
mithro | _florent_: Well, the gateware / lm32 firmware needs to eventually send configuration information over to the FX2 (IE the resolutions) | 11:47 |
_florent_ | ok | 11:48 |
mithro | so, I've been rewriting almost all of the FX2 firmware to be more understandable | 11:49 |
mithro | https://docs.google.com/document/d/15oMrgGfgziHL9kqiRNEF34UaUKkOw0XkG7-D83iEM1s/edit# | 11:49 |
tpb | Title: Google Docs - create and edit documents online, for free. (at docs.google.com) | 11:49 |
_florent_ | so we should change the usb streamer and add a ram to it that will contain the header and for each JPEG frame, send the header first followed by the frame | 11:49 |
mithro | _florent_: yes, the FX2 will act pretty much like a FIFO | 11:50 |
mithro | _florent_: you just keep sending bytes until the "FIFO full flag" is raised | 11:50 |
mithro | _florent_: then you pause until it is deasserted | 11:50 |
_florent_ | ok, that seems easier indeed | 11:51 |
mithro | _florent_: when you finish sending a full frame, you then toggle the "packet end" signal | 11:51 |
_florent_ | yes that seems fine | 11:52 |
*** travis-ci has joined #timvideos | 11:52 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/fx2-refactor#46] (6a8fbed): The build failed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88765434) | 11:52 |
*** travis-ci has left #timvideos | 11:52 | |
mithro | _florent_: I was really hoping to figure out a way to put the other end points under the LM32 control as the FX2 is super sucky - but it isn't really possible | 11:53 |
mithro | _florent_: Getting the CDC port working again is pretty simple too. | 11:53 |
mithro | _florent_: there are two endpoints, one you write data to | 11:54 |
mithro | _florent_: the other you read data from | 11:54 |
mithro | _florent_: the FIFOADDR[1.0] pins control which endpoint the fifo interface is connected too | 11:54 |
_florent_ | ok, for now you are emulating an UART with the FX2? | 11:55 |
mithro | _florent_: yeah - but that only works on the opsis | 11:56 |
mithro | _florent_: Sadly, the hardware UARTs arn't exposed on the FX2 onboard the Atlys | 11:57 |
mithro | _florent_: so, the process for sending a UART byte, is to interrupt the pending video data being sent, setting the FIFO address pins, writing the UART bytes, toggling pktend, restoring the FIFO address pins and allowing the video the continue where it left off | 11:59 |
_florent_ | ok | 12:00 |
mithro | _florent_: but for now we can ignore that | 12:01 |
*** travis-ci has joined #timvideos | 12:02 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/fx2-refactor#47] (f45dede): The build failed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88765958) | 12:02 |
*** travis-ci has left #timvideos | 12:02 | |
mithro | _florent_: I might just do software bit-banging at 9600 board or something on the spare pins | 12:03 |
mithro | s/board/baud/ | 12:11 |
mithro | _florent_: What I also wanted to mention is that I've been working on some FX2 firmware which makes it emulate a FTDI 232H chip as a better replacement for ixo-usb-jtag - I figured that might mean it would work pretty well with your liteUSB stuff | 12:12 |
_florent_ | ah ok, then we will be able to share code between liteUSB and the HDMI2USB gateware | 12:15 |
mithro | _florent_: yeah - this is more to make the Opsis more compatible with xc3sprogs and a bunch of proprietary JTAG tools under Windows / Mac | 12:17 |
mithro | _florent_: heading out now | 12:58 |
shenki | mithro: im in singapore! | 13:02 |
shenki | mithro: guess what the suburb im in is called? Novena! | 13:03 |
*** rohitksingh has joined #timvideos | 13:09 | |
mithro | shenki: ha! | 13:40 |
mithro | Is it open source | 13:40 |
CarlFK | mithro: all works: https://github.com/timvideos/HDMI2USB-misoc-firmware/tree/master/scripts | 14:05 |
tpb | Title: HDMI2USB-misoc-firmware/scripts at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 14:05 |
*** jamesh has quit IRC | 15:37 | |
*** jamesh has joined #timvideos | 15:46 | |
*** se6astian is now known as se6astian|away | 16:00 | |
*** rohitksingh1 has joined #timvideos | 16:07 | |
*** rohitksingh has quit IRC | 16:08 | |
*** Bertl_oO is now known as Bertl | 19:22 | |
*** rohitksingh1 has quit IRC | 19:43 | |
*** rohitksingh has joined #timvideos | 19:49 | |
*** se6astian|away is now known as se6astian | 21:25 | |
*** se6astian is now known as se6astian|away | 22:17 | |
mithro | hey Bertl | 22:46 |
CarlFK | mithro: the GChris pipeline does not transcode, it just dumps jpeg into a matroska container. and Shotcut video editor gets hartburn (eats up memory, cpu etc.. crashes) | 22:53 |
mithro | CarlFK: poor old shotcut | 22:54 |
CarlFK | do you have a suggestion for what gstreamer can transocde to? | 22:54 |
mithro | CarlFK: btw you probably want to delete your HDMI2USB-misoc-firmware that you forked from my repo and refork from the timvideos repo | 22:54 |
mithro | _florent_: heyo, I see the "encoder: new buffer almost working" patch in your repo - That stuff looks close enough that I think I'm understanding the right way to do this | 23:01 |
mithro | _florent_: sorry that should have been the "replace buf_fifo with an optimized reader/buffer" patch | 23:02 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!