*** tpb has joined #timvideos | 00:00 | |
*** paradisaeidae_ has joined #timvideos | 00:19 | |
CarlFK[m] | ok, unboxed another Atlys - timvideo.us/color bars. Now to figure out what version of firmware it is running | 00:21 |
---|---|---|
*** paradisaeidae_ has quit IRC | 01:31 | |
*** SamSagaZ has quit IRC | 01:34 | |
*** SamSagaZ has joined #timvideos | 01:35 | |
*** paradisaeidae_ has joined #timvideos | 01:49 | |
*** paradisaeidae__ has joined #timvideos | 02:47 | |
*** paradisaeidae_ has quit IRC | 02:49 | |
*** paradisaeidae__ is now known as paradisaeidae | 02:49 | |
*** rohitksingh_work has joined #timvideos | 03:33 | |
mithro | CarlFK[m]: So, I need to know the last firmware version to work on the Atlys and also more details about what is going on | 04:05 |
CarlFK[m] | mithro (IRC): I can't figure out how to get a serial connection to the term to see version | 04:06 |
mithro | CarlFK[m]: You connect to the exart / vizzini serial port? | 04:07 |
CarlFK[m] | how? | 04:07 |
mithro | minicom / flterm / etc? | 04:07 |
CarlFK[m] | I am pretty sure I need to see something in dmesg that isn't there, so there is nothing to connect to | 04:07 |
CarlFK[m] | Bus 003 Device 004: ID 04e2:1410 Exar Corp. XR21V1410 USB-UART IC | 04:08 |
CarlFK[m] | Bus 003 Device 003: ID 1443:0007 Digilent Development board JTAG | 04:08 |
CarlFK[m] | that may also be a problem | 04:08 |
CarlFK[m] | minicom: cannot open /dev/hdmi2usb/by-num/all0/tty0: No such file or directory | 04:08 |
CarlFK[m] | mithro (IRC): also, how hard would it be for you to start a new build where pattern is the default output? | 04:10 |
CarlFK[m] | that might help my testing | 04:10 |
mithro | Bus 003 Device 004: ID 04e2:1410 Exar Corp. XR21V1410 USB-UART IC <- Exar / Vizzini USB UART | 04:11 |
mithro | Apparently there isn't a T in Exar | 04:11 |
*** paradisaeidae has quit IRC | 04:16 | |
CarlFK[m] | mithro (IRC): to get the serial port, do I need to load ./v0.0.2-81-gd0d3aea/atlys/hdmi2usb/hdmi2usb.hex | 04:16 |
CarlFK[m] | (or some version | 04:16 |
mithro | CarlFK[m]: Not on the Atlys | 04:16 |
CarlFK[m] | mithro (IRC): to get the console? | 04:17 |
mithro | CarlFK[m]: Give me 3 things you attempted to do before I tell you. | 04:17 |
CarlFK[m] | lusub, dmesg |grep vix, minicom | 04:18 |
*** paradisaeidae_ has joined #timvideos | 04:19 | |
mithro | CarlFK[m]: Did you try unplugging the USB UART, run dmesg -wH and then plugging it back in? | 04:19 |
CarlFK[m] | do you want to know the 400 things I have done for the last 14 hours? ;) | 04:20 |
CarlFK[m] | most of that time was spent expecting to see color bars | 04:20 |
mithro | CarlFK[m]: Can you do what I suggest above? | 04:21 |
CarlFK[m] | 3 hours ago I figured out the back screen might be because no input | 04:21 |
CarlFK[m] | I don't know which is witch, ok to un/plug both? | 04:21 |
mithro | CarlFK[m]: One connector is labeled something like PROG | 04:22 |
mithro | CarlFK[m]: The other is labeled something like UART | 04:22 |
* CarlFK[m] sent a long message: CarlFK[m]_2017-07-24_04:22:48.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/XeUBXqOZOIKRbndXsHyJKIkB> | 04:23 | |
mithro | Hrm... cdc_xr_usb_serial -- I'm not sure what module that is - shenki is that your module? | 04:24 |
CarlFK[m] | juser@cnt5:~$ lsmod | grep viz | 04:26 |
CarlFK[m] | vizzini 36864 0 | 04:26 |
CarlFK[m] | [ 8.459876] vizzini: module verification failed: signature and/or required key missing - tainting kernel | 04:26 |
CarlFK[m] | [ 8.460090] usbcore: registered new interface driver vizzini | 04:26 |
CarlFK[m] | [ 8.460091] vizzini: Exar USB UART Driver for XR21V141x | 04:26 |
mithro | CarlFK[m]: That is the right driver.... | 04:26 |
mithro | It should echo some dev name under /dev/ ? | 04:26 |
mithro | CarlFK[m]: Can you see if cdc_xr_usb_serial is in lsmod? | 04:26 |
CarlFK[m] | I was expecting to see viz in dmesg when I plugged it in | 04:27 |
CarlFK[m] | lsmod |grep cdc_xr_usb_serial - nothing | 04:27 |
mithro | CarlFK[m]: That is what I am expecting too.... | 04:27 |
mithro | CarlFK[m]: But maybe the vizzini module outputs messages with other stupid names - it is very crap | 04:27 |
Ishan_Bansal | mithro : ping | 04:36 |
mithro | Ishan_Bansal: pong | 04:36 |
mithro | CarlFK[m]: So, any messages about something in /dev being created when you plugged in? | 04:37 |
mithro | CarlFK[m]: Also what machine are you doing this on? | 04:37 |
CarlFK[m] | mithro (IRC): ubuntu 16.4 - minimal install - about the same as the base install for lca | 04:41 |
mithro | CarlFK[m]: We didn't use any Atlys' at LCA IIRC? | 04:41 |
CarlFK[m] | correct | 04:41 |
mithro | CarlFK[m]: but not your debian thing? | 04:41 |
CarlFK[m] | the two are very similar | 04:42 |
CarlFK[m] | all the same repo/set of files, some if/then where needed | 04:43 |
mithro | CarlFK[m]: I'm more suspect about udev rules / modules that your debian / ansible setup might be installing | 04:43 |
Ishan_Bansal | mithro, I am currently working over the huffman and the test bench and I am getting the following error : | 04:44 |
Ishan_Bansal | https://pastebin.com/5jzspPWY | 04:44 |
Ishan_Bansal | but the sink is been defined in the Huffman as follows: | 04:44 |
tpb | Title: Traceback (most recent call last): File "new_huffman_tb.py", line 62, in (at pastebin.com) | 04:44 |
Ishan_Bansal | https://pastebin.com/Ccj5M3Y0 | 04:44 |
Ishan_Bansal | I am not able to get the problem. For reference the code for the test bench is as follows: | 04:44 |
Ishan_Bansal | https://pastebin.com/zatqFP1p | 04:44 |
tpb | Title: [Python] class Huffman(PipelinedActor,Module): def __init__(self): - Pastebin.com (at pastebin.com) | 04:44 |
tpb | Title: [Python] from litex.gen import * from litex.soc.interconnect.stream import * from lit - Pastebin.com (at pastebin.com) | 04:44 |
mithro | Ishan_Bansal: Can you give me links to things on github rather than pastebins? | 04:45 |
CarlFK[m] | mithro (IRC): I am worried about that too | 04:45 |
CarlFK[m] | mithro (IRC): I didnt install the udev package we made, but something like openocd may have installed its own | 04:45 |
mithro | CarlFK[m]: So, a clean ubuntu 16.04 install with just HDMI2USB-mode-switch installed would be the best test set up | 04:46 |
mithro | CarlFK[m]: If you had the development environment setup it would be 30-40 seconds to generate your own firmware which had the test pattern as the default setup (you wouldn't need the Xilinx toolchain or to regenerate the gateware) | 04:47 |
CarlFK[m] | mithro (IRC): and vizzini-dkms , and minicom.. right ? | 04:47 |
mithro | CarlFK[m]: don't even bother with minicom, use flterm | 04:47 |
CarlFK[m] | build-essential posh fxload libftdi-dev | 04:48 |
mithro | You can install flterm via "conda install flterm" inside the HDMI2USB-mode-switch environment | 04:48 |
CarlFK[m] | https://github.com/CarlFK/HDMI2USB-mode-switch/wiki that shows the things I have done to a clean install | 04:48 |
tpb | Title: Home · CarlFK/HDMI2USB-mode-switch Wiki · GitHub (at github.com) | 04:48 |
mithro | CarlFK[m]: Which part? | 04:49 |
mithro | CarlFK[m]: I'm working on making it so that you can use the prebuilt gateware while hacking on the C code firmware -- which should mean you can do lot of HDMI2USB development / customisation without needing the Xilinx toolchain | 04:49 |
mithro | I have to run now | 04:49 |
CarlFK[m] | the 2 july 2017 bit - stop at June 30 2017 | 04:49 |
mithro | will be back in an hour | 04:49 |
mithro | CarlFK[m]: That can't be true as you can't "apt-get install vizzini-dkms" unless you added the timvideos FPGA repo and that isn't in the list of things you have done? | 04:51 |
mithro | bblr | 04:51 |
CarlFK[m] | good catch - I added the sudo apt install -y software-properties-common ... but not the ppa bit | 04:52 |
Ishan_Bansal | Code for the huffman.py : https://github.com/ishan98/litejpeg/blob/huffman/litejpeg/core/huffman/huffman.py | 05:00 |
Ishan_Bansal | and the testBench is : | 05:00 |
Ishan_Bansal | https://github.com/ishan98/litejpeg/blob/huffman/test/new_huffman_tb.py | 05:00 |
tpb | Title: litejpeg/huffman.py at huffman · ishan98/litejpeg · GitHub (at github.com) | 05:00 |
tpb | Title: litejpeg/new_huffman_tb.py at huffman · ishan98/litejpeg · GitHub (at github.com) | 05:00 |
* CarlFK[m] uploaded an image: file1500872660400.jpg (140KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/LnjhjZvqSLzngcafNSAjdQPr> | 05:05 | |
CarlFK | jea - did you open an issue about "video_mode list" hanging? | 05:39 |
CarlFK | c2 that tumbleweed built last year: [ 3438.269161] vizzini 1-1.4.1:1.0: ttyVIZ0: XR21v14x usb uart device | 05:49 |
CarlFK | this gets testing status: git describe: v0.0.3-710-g947321b-dirty | 05:51 |
mithro | Back now | 06:19 |
mithro | CarlFK[m]: So yeah, something like /dev/ttyVIZ0 is the serial port you should be connecting too | 06:20 |
mithro | CarlFK[m]: I assume you should be asleep now, however? | 06:20 |
CarlFK | mithro: na, i have at least an hour left in me | 06:20 |
CarlFK | mithro: I have a c2 hooked up that I can connect to the console - so that verifies the atlys is working | 06:21 |
mithro | CarlFK: so it was just that the default output is black? | 06:21 |
CarlFK | correct | 06:21 |
CarlFK | wel, thats is one problem | 06:21 |
CarlFK | don't know why the /dev/ttyVIZ0 isn't coming up | 06:22 |
CarlFK | on my fresh ubuntu box | 06:22 |
CarlFK | mithro: here is my current problem: ~/HDMI2USB-firmware-prebuilt/archive/master/v0.0.3-730-gf9c031d/atlys/hdmi2usb/lm32$ hdmi2usb-mode-switch -v --flash-gateware flash.bin | 06:25 |
CarlFK | move usb to c2 | 06:25 |
mithro | CarlFK: Well, that doesn't involved the HDMI2USB firmware at all - that is entirely the vizzini-dkms stuff | 06:25 |
CarlFK | odroid@r1odroid:~$ flterm --port /dev/ttyVIZ0 | 06:25 |
CarlFK | [FLTERM] Starting... | 06:25 |
CarlFK | hitting enter, etc.. no response | 06:25 |
mithro | CarlFK: Can you hit the reset button? | 06:26 |
mithro | While keeping the flterm connected | 06:27 |
CarlFK | mithro: reset - nothing. including the leds don't go off | 06:27 |
mithro | Okay, what do you think is the reset button? :-P | 06:27 |
CarlFK | the one that reboots my other atlys | 06:27 |
mithro | That doesn't tell me which - I seem to recall a little red button labelled something like MRST? | 06:28 |
* CarlFK[m] uploaded an image: file1500877724308.jpg (25KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/lynseEinHclYcFkLWhywVXlW> | 06:29 | |
mithro | CarlFK: welp, that seems rather likely to be the right one | 06:30 |
mithro | CarlFK: you seem to have a working Atlys that has v0.0.3-710-g947321b-dirty ? | 06:32 |
CarlFK | mithro: I haven't streamed yet, but I can get color bars and connection to it | 06:33 |
mithro | CarlFK: Can you hit the same button on that board and see what you get on the serial console? | 06:34 |
*** paradisaeidae_ has quit IRC | 06:34 | |
CarlFK | mithro: it reboots - lots of stuff.. do you need the details? | 06:34 |
mithro | Can you pastebin it? | 06:34 |
CarlFK | http://paste.ubuntu.com/25160881/ | 06:36 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 06:36 |
mithro | CarlFK: that is rather interesting... | 06:40 |
Ishan_Bansal | mithro : I have send you the links of the huffman see once when you are free. | 06:40 |
mithro | CarlFK: That doesn't have the HDMI2USB firmware on it, it has the "VideoSoC" on it -- which is all of HDMI2USB without the USB/JPEG encoder.... | 06:42 |
CarlFK | mithro: I think that is the result of me flashing random tings expecting to see color bars | 06:43 |
Ishan_Bansal | mithro : got that, Actually I got two functions by the Huffman which is creating that problem. :) | 06:50 |
CarlFK | mithro: that should have come from HDMI2USB-firmware-prebuilt/archive/master/v0.0.3-710-g947321b/atlys/video/lm32/flash.bin right? | 06:54 |
CarlFK | mithro: I am trying to flash that onto a 2nd atlys, still getting black/nothing on console | 06:55 |
CarlFK | mithro: I can't see to replicate it | 07:00 |
mithro | No - that is "video" | 07:03 |
mithro | CarlFK: You want the "hdmi2usb" directory | 07:04 |
mithro | Oh wait | 07:04 |
mithro | Sorry - yes it is likely that working atlys was flashed from that flash.bin file you linked (assuming the versions match exactly) | 07:04 |
mithro | CarlFK: So that binary works on one Atlys but not another? | 07:06 |
mithro | CarlFK: Do you have something that you have flashed on this Atlys that works? | 07:07 |
CarlFK | mithro: seems that binary doesn't work. not sure this is working | 07:09 |
mithro | CarlFK: What do you mean? | 07:09 |
CarlFK | (02:06:17 AM) mithro: CarlFK: So that binary works on one Atlys but not another? | 07:09 |
CarlFK | correct | 07:09 |
CarlFK | (02:07:03 AM) mithro: CarlFK: Do you have something that you have flashed on this Atlys that works? | 07:09 |
CarlFK | no | 07:09 |
mithro | Let me start again | 07:09 |
mithro | You have two Atlys boards. | 07:10 |
mithro | (a) One Atlys board has something like master/v0.0.3-710-g947321b/atlys/video/lm32/flash.bin on it (according to the version info you can get from serial) but you are unsure how you got that Atlys into that state. | 07:10 |
CarlFK | correct | 07:11 |
mithro | (b) One Atlys board you tried to flash what we think (a) has on it and but you still get nothing via the serial port. | 07:11 |
CarlFK | correct | 07:12 |
mithro | With (b), was it working / doing anything before you start flashing it with things? | 07:12 |
CarlFK | I don't know. I haven't used it at a show (no mounting hardware attached to it's feet) | 07:13 |
CarlFK | oh!!! month or so ago (April maybe?) I setup a box for you? and someone else to try somethhing ? | 07:14 |
mithro | CarlFK: No idea? | 07:15 |
CarlFK | I remember asking if you wanted me to leave it in place - that might have been the board that is flashed | 07:15 |
mithro | CarlFK: I think maybe flashing the Digilent firmware that the Atlys boards ship with and seeing if that works is a potential idea.... | 07:15 |
mithro | CarlFK: can you give me the output of your attempt to flash the video/lm32 to (b) above? | 07:16 |
mithro | CarlFK: And did you power cycle the Atlys after "flashing" that? | 07:16 |
CarlFK | power cycle - no. | 07:18 |
CarlFK | did now.. and I have version git describe: v0.0.3-730-gf9c031d-dirty | 07:18 |
CarlFK | thats the latest in ~/HDMI2USB-firmware-prebuilt/archive/master | 07:19 |
CarlFK | H2U 00:00:49>x c p 0 | 07:20 |
CarlFK | Connecting pattern to output0 - patter on my lcd | 07:20 |
mithro | I'm confused.... | 07:21 |
CarlFK | mithro: I have not been power cycling | 07:21 |
mithro | CarlFK: You saying that things are now working after power cycling? | 07:21 |
CarlFK | yep | 07:22 |
CarlFK | but just target: video | 07:22 |
CarlFK | let me try hdmi2usb | 07:22 |
mithro | CarlFK: https://www.youtube.com/watch?v=nn2FB1P_Mn8 | 07:23 |
CarlFK | lol | 07:24 |
mithro | I was sure I had added "power cycle" to the end of my instructions - but it appears I also failed at doing that... | 07:25 |
CarlFK | target: hdmi2usb | 07:28 |
CarlFK | git describe: v0.0.3-730-gf9c031d-dirty | 07:28 |
mithro | CarlFK: Getting console output is a good initial starting point | 07:30 |
mithro | CarlFK: Do you get video output is the next one | 07:30 |
mithro | CarlFK: Then do you get video input | 07:30 |
mithro | I'm going to disappear in a couple of minutes again | 07:31 |
CarlFK | out yes | 07:32 |
CarlFK | checing in now.. | 07:32 |
CarlFK | mithro: in and out work | 07:33 |
mithro | CarlFK: so it works? | 07:34 |
CarlFK | mithro: seem so - should I try the encoder over usb or do I need the .hex for that | 07:35 |
CarlFK[m] | mithro (IRC): hdmi2usb-mode-switch -v --load-fx2-firmware ... assert len(exart_uarts) == len(atlys_boards) | 08:14 |
CarlFK[m] | http://paste.ubuntu.com/25161198/ | 08:14 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 08:14 |
Ishan_Bansal | mithro : is their any way to use a signal as an index of another signal ? | 10:10 |
*** rohitksingh_work has quit IRC | 12:41 | |
*** rohitksingh has joined #timvideos | 13:31 | |
*** rohitksingh has quit IRC | 13:57 | |
*** CarlFK has quit IRC | 14:14 | |
*** rohitksingh has joined #timvideos | 14:52 | |
*** rohitksingh has quit IRC | 16:59 | |
*** CarlFK has joined #timvideos | 17:48 | |
*** ChanServ sets mode: +v CarlFK | 17:48 | |
*** CarlFK has quit IRC | 19:23 | |
*** CarlFK has joined #timvideos | 19:33 | |
*** ChanServ sets mode: +v CarlFK | 19:33 | |
*** CarlFK has quit IRC | 19:58 | |
*** CarlFK has joined #timvideos | 20:13 | |
*** ChanServ sets mode: +v CarlFK | 20:13 | |
paddatrapper | mithro: can we push our meeting this week out 30 minutes? I have to work until 10:20 on Thursday | 21:23 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!