*** tpb has joined #timvideos | 00:00 | |
felix[m]1 | Hej y'all, I'm super-sorry to bother but I'm stuck again, flashing the firmware (to a Nexys Video) -- I'm seeing the device as /dev/ttyUSB, but flterm doesn't seem to be able to establish a connection (it seems to get stuck at 'Starting'). I've tried various baud rates, connecting without flashing (which liteX should allow me to do, right?), to no avail -- is there a trick? What am I missing? As before, any pointers are | 01:19 |
---|---|---|
felix[m]1 | much appreciated. Thanks! | 01:19 |
mithro | felix[m]1: So you have done a "make gateware-load" ? | 01:19 |
felix[m]1 | I think I did the equivalent (the make target is undefined for the nexys) -- I successfully loaded the gateware with openocd, and I can see the status led activating in response. | 01:21 |
mithro | felix[m]1: And then you did a "make firmware-load" and then hit enter? | 01:22 |
felix[m]1 | (I hope that counts as a replacement :-) ) | 01:22 |
mithro | felix[m]1: It should (assuming you did it correctly :-) | 01:22 |
felix[m]1 | Again -- that didn't work directly, I ran "make firmware" and then tried to connect using "flterm --port=/dev/ttyUSB2 --kernel=build/nexys_video_lm32/software/firmware/firmware.bin --speed=115200" | 01:24 |
mithro | felix[m]1: Okay | 01:24 |
mithro | felix[m]1: And you hit enter after running flterm? | 01:24 |
mithro | It should come up with a "BIOS>" prompt | 01:25 |
felix[m]1 | Yes I started flterm -- it outputs "[FLTERM] Starting...", and then nothing (I waited a while for the prompt) | 01:26 |
mithro | felix[m]1: Hit enter? | 01:26 |
felix[m]1 | That doesn't do anything (it seems) | 01:26 |
mithro | We really should make flterm send a character after it starts... | 01:26 |
felix[m]1 | (it won't take input) | 01:27 |
mithro | felix[m]1: Can you find the button connected to the CPU reset? | 01:27 |
mithro | ("cpu_reset", 0, Pins("G4"), IOStandard("LVCMOS15")), | 01:27 |
mithro | I wonder what is connected to G4 | 01:28 |
felix[m]1 | Yes, I know where it is. I take it I'm supposed to press that? | 01:28 |
felix[m]1 | Should be that button (it's labelled G4), but I'll check the board spec. | 01:29 |
mithro | felix[m]1: Yeah -- looks like it is | 01:29 |
mithro | felix[m]1: Hit that button while flterm is connected and see if you get any output | 01:30 |
felix[m]1 | Jup: https://github.com/Digilent/digilent-xdc/blob/master/Nexys-Video-Master.xdc#L38 | 01:30 |
tpb | Title: digilent-xdc/Nexys-Video-Master.xdc at master · Digilent/digilent-xdc · GitHub (at github.com) | 01:30 |
felix[m]1 | Wow, it works! | 01:30 |
felix[m]1 | Yes, I get the prompt now. Awesome! | 01:31 |
mithro | felix[m]1: I was looking at this -> https://reference.digilentinc.com/reference/programmable-logic/nexys-video/reference-manual | 01:31 |
tpb | Title: Nexys Video Reference Manual [Reference.Digilentinc] (at reference.digilentinc.com) | 01:31 |
mithro | felix[m]1: you get the BIOS prompt? | 01:31 |
felix[m]1 | I think so (it's labelled "H2U 00:00:00>") | 01:33 |
mithro | felix[m]1: Nope - that means you have loaded the HDMI2USB firmware successfully | 01:35 |
felix[m]1 | Ok, that sounds even better, right? ;-) | 01:35 |
mithro | felix[m]1: Yeah | 01:35 |
mithro | felix[m]1: I would now try getting tftp loading the firmware going | 01:35 |
mithro | felix[m]1: You should be able to adapt the tftp instructions from this tutorial -> j.mp/pre-fpga-lca2018 | 01:36 |
mithro | felix[m]1: You should be able to adapt the tftp instructions from this tutorial -> j.mp/pre-fpga-lca2018 | 01:37 |
mithro | felix[m]1: Are you "FelixVi" who sent this pull request -> https://github.com/timvideos/HDMI2USB-litex-firmware/pull/381 ? | 01:37 |
tpb | Title: saturn: adding platform and base target by FelixVi · Pull Request #381 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 01:37 |
felix[m]1 | Ok, I'll see if I can figure that out. Thank you so much! | 01:38 |
felix[m]1 | No, I'm afraid that's not me, though I might send you a PR sometime for the getting started guide. | 01:38 |
mithro | felix[m]1: http://openocd.zylin.com/#/c/4364/ | 01:39 |
tpb | Title: Gerrit Code Review (at openocd.zylin.com) | 01:39 |
mithro | felix[m]1: Too many people named Felix | 01:39 |
mithro | felix[m]1: We also have a Felix Held (who is felix_) | 01:40 |
mithro | felix[m]1: That is openocd support for Nexys Video by rohit who is in this channel a lot of the time too | 01:40 |
felix[m]1 | Jep, that looks awesome! | 01:40 |
mithro | felix[m]1: Looks like we have it in our openocd package here -> https://github.com/timvideos/conda-hdmi2usb-packages/tree/master/openocd | 01:41 |
tpb | Title: conda-hdmi2usb-packages/openocd at master · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 01:41 |
felix[m]1 | Yep, that worked a charm -- I think the only missing piece is putting the commands in the Makefile https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/targets/nexys_video/Makefile.mk -- would it make sense if I put the commands I used in there sometime? | 01:42 |
tpb | Title: HDMI2USB-litex-firmware/Makefile.mk at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 01:42 |
mithro | felix[m]1: Want to send me a pull request for that? | 01:42 |
mithro | felix[m]1: You should be able to copy the arty of https://github.com/timvideos/HDMI2USB-litex-firmware/pull/398/files#diff-13b697a3e2ad87e4c3d670ca4b3f9faf example | 01:42 |
tpb | Title: WIP: Add support for more boards by rohitk-singh · Pull Request #398 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 01:42 |
mithro | felix[m]1: were in the world are you located? | 01:42 |
mithro | be back in 15 minutes -- getting a drink | 01:43 |
felix[m]1 | Sure! I'm in Mannheim, Germany | 01:43 |
mithro | Ahh, so it's Sunday morning hacking? | 01:44 |
mithro | felix[m]1: on mobile now :-) | 01:45 |
mithro | felix[m]1: I'm in the US currently | 01:45 |
mithro | felix[m]1: actually it's like 2am for you!? | 01:46 |
felix[m]1 | Yes, nearing on 3am. Still, Sunday morning hacking! | 01:47 |
mithro | Still Sunday morning I guess just a bit different ensno fit :-) | 01:47 |
mithro | Jinx! | 01:47 |
mithro | felix[m]1: btw, what is your goal? | 01:47 |
mithro | Are you a potential GSoC student? | 01:47 |
felix[m]1 | I wish! I'm finishing my PhD this summer, so I'm afraid I probably won't be able to do GSoC. (also: I'm really a noob around electronics). My goal is to understand FPGAs (better), and liteX/Migen looked like a cool toolchain. Mid-term, I'd like to figure out how the HDMI decoding works and hook into that for some signal processing stuff. | 01:52 |
felix[m]1 | I'd be glad to help with smaller things though, and contribute back anything I figure out, but I can't realistically commit large amounts of time until my defense is through. I'm hoping to visit 35c3 this year, and would love to help with voc or anything related. | 01:57 |
felix[m]1 | I just saw that GitHub user andrewreds corrected all the stuff in the getting-started guide already. Dear me, I have been sitting on that browser tab for waaaay to long :-) | 02:02 |
*** hozer has joined #timvideos | 02:06 | |
mithro | CarlFK[m]: We need a post like this -> https://fossi-foundation.org/2018/02/12/gsoc | 02:17 |
tpb | Title: Become a GSoC student 2018! (at fossi-foundation.org) | 02:17 |
mithro | felix[m]1: https://github.com/mithro/tmds_encoding | 02:17 |
tpb | Title: GitHub - mithro/tmds_encoding: TMDS encoding tools (at github.com) | 02:17 |
felix[m]1 | Wow, that looks absolutely fantastic, thank you so much! (also for the workshop materials, I'm going to work through both) | 02:20 |
felix[m]1 | Ok, I'm calling it a day for now. I'll play with the capture software tomorrow, will test my changes to the makefiles again and then put together a tiny PR. I have to say, it's been a long time since I've been this excited about a piece of hardware -- looking forward to understanding how it works, and taking the board to a few meetups! Thanks a lot for your help, this has been fun! | 02:57 |
*** futarisIRCcloud has quit IRC | 03:03 | |
*** CarlFK has joined #timvideos | 03:30 | |
*** ChanServ sets mode: +v CarlFK | 03:30 | |
*** fumblehool has joined #timvideos | 03:42 | |
*** futarisIRCcloud has joined #timvideos | 04:27 | |
*** rohitksingh has joined #timvideos | 04:36 | |
*** rohitksingh1 has joined #timvideos | 04:37 | |
*** rohitksingh has quit IRC | 04:53 | |
*** rohitksingh1 has quit IRC | 04:53 | |
*** rohitksingh has joined #timvideos | 04:55 | |
*** rohitksingh1 has joined #timvideos | 04:56 | |
*** shorne_ has joined #timvideos | 06:53 | |
*** shorne has quit IRC | 06:56 | |
*** rohitksingh has quit IRC | 08:15 | |
*** andrewreds has joined #timvideos | 09:05 | |
*** andrewreds has quit IRC | 09:37 | |
cr1901_modern | Looks like FelixVi has vanished :(... I feel bad I wasn't able to fix his issues | 09:39 |
*** akhil_singh has joined #timvideos | 09:56 | |
akhil_singh | mithro : ping | 10:02 |
*** paawan has joined #timvideos | 10:03 | |
*** paawan has quit IRC | 10:04 | |
akhil_singh | mithro : This is @akhil-123, can u increase the discription on from where should the python script need to read and write the data from as per the comment on the issue "https://github.com/timvideos/HDMI2USB-litex-firmware/issues/297" | 10:09 |
akhil_singh | mithro : edit :- above link is not working, try this one : https://github.com/timvideos/HDMI2USB-litex-firmware/issues/297 | 10:16 |
tpb | Title: Figure out what the contents of `gateware/encoder/vhdl/header.hex` is · Issue #297 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 10:16 |
*** rohitksingh1 has quit IRC | 10:20 | |
*** rohitksingh has joined #timvideos | 10:21 | |
*** Kripton has quit IRC | 10:22 | |
*** Kripton has joined #timvideos | 10:22 | |
*** akhil_singh has quit IRC | 10:32 | |
*** rohitksingh1 has joined #timvideos | 11:34 | |
*** rohitksingh has quit IRC | 11:34 | |
*** andrewreds has joined #timvideos | 13:08 | |
*** Kripton has quit IRC | 13:50 | |
*** Kripton has joined #timvideos | 13:52 | |
*** rohitksingh has joined #timvideos | 14:21 | |
*** rohitksingh has quit IRC | 14:48 | |
*** rohitksingh has joined #timvideos | 15:10 | |
*** rohitksingh has quit IRC | 15:13 | |
*** andrewreds has quit IRC | 15:35 | |
*** sb0 has quit IRC | 15:53 | |
*** fumblehool has quit IRC | 16:11 | |
*** sb0 has joined #timvideos | 16:11 | |
*** sb0 has quit IRC | 16:28 | |
*** sb0 has joined #timvideos | 16:29 | |
felix_ | mithro: fyi: in the next round of the prototype fund, someone gets funding to work on voctomix: https://prototypefund.de/project/voctomix/ | 16:30 |
tpb | Title: Voctomix Prototypefund - Prototypefund (at prototypefund.de) | 16:30 |
mithro | felix_: Yeah - they told me at 34C3 | 16:42 |
felix_ | ok, just wanted to make sure that you are aware of that | 16:43 |
*** rohitksingh has joined #timvideos | 17:28 | |
*** rohitksingh1 has quit IRC | 17:36 | |
*** rohitksingh has quit IRC | 17:36 | |
*** sb0 has quit IRC | 17:37 | |
*** akhil_singh has joined #timvideos | 19:19 | |
*** akhil_singh has quit IRC | 19:47 | |
*** techman83 has quit IRC | 22:03 | |
*** techman83 has joined #timvideos | 22:04 | |
*** ChanServ sets mode: +v techman83 | 22:04 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!