Friday, 2018-03-30

*** tpb has joined #timvideos00:00
*** tpb` has joined #timvideos00:08
*** Joelw_ has joined #timvideos00:10
*** shorne_ has joined #timvideos00:10
*** tumbleweed_ has joined #timvideos00:11
*** tpb has quit IRC00:15
*** shorne has quit IRC00:15
*** Joelw has quit IRC00:15
*** tumbleweed has quit IRC00:15
*** kmehall has quit IRC00:15
*** jimmo has quit IRC00:15
*** Ishan_Bansal has quit IRC00:15
*** felix_ has quit IRC00:15
*** thaytan has quit IRC00:15
*** Kripton has quit IRC00:15
*** medicalwei has quit IRC00:15
*** xobs has quit IRC00:15
*** Kamilion has quit IRC00:15
*** CarlFK has quit IRC00:15
*** DocJosh has quit IRC00:15
*** tpb` is now known as tpb00:15
*** tpb has joined #timvideos00:17
*** tumbleweed has quit IRC00:19
*** tumbleweed has joined #timvideos00:19
*** felix[m]1 has quit IRC00:26
*** CarlFK[m] has quit IRC00:26
*** anshul98[m] has quit IRC00:27
*** ducky[m] has quit IRC00:27
*** jea[m] has quit IRC00:27
*** nbags[m]1 has quit IRC00:27
*** futaris[m] has quit IRC00:27
*** micolous[m] has quit IRC00:27
*** faulteh has quit IRC00:27
*** nbags[m] has joined #timvideos00:38
*** faulteh has joined #timvideos01:06
*** jea[m] has joined #timvideos01:06
*** anshul98[m] has joined #timvideos01:06
*** CarlFK[m] has joined #timvideos01:06
*** ducky[m] has joined #timvideos01:06
*** felix[m]1 has joined #timvideos01:06
*** micolous[m] has joined #timvideos01:06
*** futaris[m] has joined #timvideos01:32
*** kmehall has joined #timvideos01:32
*** jimmo has joined #timvideos01:32
*** Ishan_Bansal has joined #timvideos01:32
*** felix_ has joined #timvideos01:32
*** futaris[m] has quit IRC01:32
*** futaris[m] has joined #timvideos01:32
*** micolous[m] has quit IRC01:35
*** jea[m] has quit IRC01:35
*** futaris[m] has quit IRC01:35
*** felix[m]1 has quit IRC01:35
*** ducky[m] has quit IRC01:35
*** faulteh has quit IRC01:35
*** nbags[m] has quit IRC01:35
*** anshul98[m] has quit IRC01:35
*** CarlFK[m] has quit IRC01:35
*** nbags[m] has joined #timvideos02:00
*** Bonjourm8 has quit IRC02:05
*** CarlFK[m] has joined #timvideos02:28
*** faulteh has joined #timvideos02:28
*** anshul98[m] has joined #timvideos02:28
*** ducky[m] has joined #timvideos02:28
*** micolous[m] has joined #timvideos02:28
*** futaris[m] has joined #timvideos02:28
*** felix[m]1 has joined #timvideos02:28
*** jea[m] has joined #timvideos02:28
*** Kripton has quit IRC03:43
*** Kripton has joined #timvideos03:47
*** samsagaz has joined #timvideos03:54
*** samsagaz has quit IRC04:05
*** rohitksingh has joined #timvideos04:34
*** rohitksingh has quit IRC06:33
*** rohitksingh has joined #timvideos06:34
*** rohitksingh has quit IRC07:15
*** cr1901_modern has quit IRC07:23
*** rohitksingh has joined #timvideos07:28
*** rohitksingh has quit IRC08:23
*** rohitksingh has joined #timvideos08:27
*** rohitksingh has quit IRC08:58
*** Sigyn has quit IRC09:25
*** Sigyn has joined #timvideos09:26
*** rohitksingh has joined #timvideos09:36
*** nancy has joined #timvideos09:37
*** nancy has quit IRC09:44
*** nancy has joined #timvideos10:14
*** nancy has quit IRC10:33
*** harshgugale has joined #timvideos10:46
*** harshgugale has quit IRC10:51
*** rohitksingh has quit IRC11:57
*** rohitksingh has joined #timvideos12:02
*** rohitksingh has quit IRC13:29
*** harshgugale has joined #timvideos14:08
*** harshgugale has quit IRC14:13
*** Kripton has quit IRC15:51
*** Kripton has joined #timvideos15:53
*** nancy has joined #timvideos16:08
*** nancy has quit IRC16:11
*** saddj has joined #timvideos16:53
*** saddj has quit IRC17:05
*** shivm28 has joined #timvideos19:36
shivm28Hi everyone, I am currently working on Ubuntu 16.04 but I feel switching to Ubuntu 14.04 will be better for development. There are some issues with drivers while working with Xilinx ISE as well. Any suggestions?19:38
CarlFKshivm28: I would stay with 16.0419:53
CarlFKshivm28: describe the problems you are having, someone may be able to help you out19:54
shivm28CarlFK: I am trying to install drivers for ISE but getting this error: https://paste.ubuntu.com/p/jYvyrpXdnX/19:56
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)19:56
shivm28I searched a lot about the possible solutions and I figured out that the script is unable to find kernel version. This is because there is no support for the current kernel.19:58
CarlFKchecking linux kernel version... hello.c:1:30: fatal error: linux/utsrelease.h: No such file or directory20:01
CarlFKthat looks worth looking into20:01
tumbleweeddo you even need those drivers?20:06
shivm28tumbleweed: to connect board with computer and to program using ISE20:06
tumbleweedwhich board?20:07
shivm28Atlys board20:07
tumbleweedwe can program that with hdmi2usb-mode-switch (well, openocd20:08
CarlFKI was wondering bout that20:08
shivm28I am not able to flash firmware on my board for some reason.20:09
tumbleweedif you're using the toolchain that hdmi2usb-litex-firmware gives you, you don't need any ISE drivers (you'll never use ISE GUI either)20:09
tumbleweedwhat's the "some reason"?20:09
CarlFKtumbleweed: is vizzini-dkms needed to program, or just to connect to the hdmi2usb serial console?20:09
shivm28Do I need Xilinx cable to program the board?20:10
CarlFKAtlys board - first time, needs jumpers moved20:10
tumbleweedcorrect. for programming you need ixo-usb-jtag, fxload, openocd20:10
tumbleweedshivm28: no20:10
shivm28tumbleweed: I will share the error in a minute.20:11
shivm28I have removed the jumper JP11 to program the board. Is that correct?20:13
tumbleweedhttps://github.com/timvideos/HDMI2USB/wiki/Digilent-Atlys-Board:-Jumpers-and-Video-Connections says you only need the jumper for permanent flashing20:15
tpbTitle: Digilent Atlys Board: Jumpers and Video Connections · timvideos/HDMI2USB Wiki · GitHub (at github.com)20:15
tumbleweedwhich probably isn't what you're going to be doing for development20:15
tumbleweedso, yes20:16
shivm28I am stuck at this point from past 5 minutes: https://paste.ubuntu.com/p/m2JP3xVdxD/. Is that normal?20:27
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)20:27
tumbleweedrun with -v to see what's going on20:30
tumbleweed5 mins is a little long, yes20:30
tumbleweedbut a couple of minutes is normal20:30
CarlFKtumbleweed: line 3 has the -v20:31
shivm28tumbleweed: still stuck at same point20:31
tumbleweedoh, right, didn't see it was wrapped20:31
CarlFKshivm28: [email protected]:~$ openocd -v20:32
CarlFKOpen On-Chip Debugger 0.9.0+git20151228 (2016-01-26-04:52)20:32
tumbleweedshivm28 has a newer one, should be good20:33
shivm28Should I run openocd using that command in a new terminal?20:33
CarlFKI would, to make sure you have the right version20:34
tumbleweedCarlFK: I assume shivm28 is using the openocd from conda20:34
tumbleweedit looks like it from the paths20:34
tumbleweedthat'll be fine20:34
tumbleweedso it just hangs at line 41 forever?20:35
shivm28yes20:36
tumbleweedand you never see the DNA being printed20:36
tumbleweedthat usually happens almost instantly20:36
CarlFKyeah, I was wondering  about that20:36
shivm28Nothing except what I shared20:36
tumbleweedpower cycle the atlys and try again?20:37
shivm28okay20:37
shivm28removing JP11 pin, right?20:38
shivm28https://paste.ubuntu.com/p/zcNjRNFx7B/20:39
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)20:39
shivm28Now, I can see DNA being printed but getting unknown flash device error.20:41
tumbleweedno, you're flashing so you'll need jp1120:41
shivm28same error20:42
tumbleweeddid you power-cycle with jp11 connected?20:43
shivm28Yes20:43
tumbleweedhttps://github.com/timvideos/HDMI2USB-mode-switch/issues/2420:44
tpbTitle: Detect "Error: Unknown flash device (ID 0x00ffffff)" on Digilent Atlys · Issue #24 · timvideos/HDMI2USB-mode-switch · GitHub (at github.com)20:44
tumbleweedfrom the description of that ticket, the issue is jp1120:45
shivm28tumbleweed: I tried doing everything with that pin.20:46
CarlFKhere is mithros steps: https://logs.timvideos.us/%23timvideos/%23timvideos.2018-03-18.log.html#t2018-03-18T20:45:5420:47
tumbleweedwell, clearly not the one right thing :)20:47
tumbleweedeasy answer is don't bother with flashing for now, load-gateware is a lot faster20:48
shivm28https://paste.ubuntu.com/p/Kyk8wK6ZYz/20:54
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)20:54
shivm28load-gateware seems to work but I need to load firmware as well, right?20:55
tumbleweedyes20:57
CarlFKyay!20:57
shivm28Again stuck at this point: https://paste.ubuntu.com/p/YB4DzfbhpT/20:58
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)20:58
shivm28Should I try with another board or try building the image file again?21:00
tumbleweednow you press the reset button on the board21:01
shivm28still stuck :(21:03
tumbleweedbasically at that point it should boot and load the firmware via flterm21:03
CarlFKalso press enter at flterm21:03
tumbleweedoh, is that it21:04
shivm28no response to enter key21:05
CarlFKI also remember un/pluging the usb cables21:06
shivm28When exactly? While loading the firmware?21:06
CarlFKno - after it is loaded21:06
CarlFKand I am wondering if the jumper needs to be put back21:06
tumbleweedCarlFK: according that faq normal operation is no jumper. It's only needed the once21:07
CarlFKok, removed then ;)  fiddled with21:07
shivm28make gateware-load is executing successfully but make firmware-load is not working.21:08
CarlFKshivm28: try this:21:10
CarlFKwget https://raw.githubusercontent.com/timvideos/HDMI2USB-firmware-prebuilt/master/archive/master/v0.0.2-81-gd0d3aea/atlys/hdmi2usb/hdmi2usb.hex hdmi2usb-mode-switch -v --load-fx2-firmware hdmi2usb.hex21:10
CarlFKthat has worked for me at least once, then I put it on this page: https://github.com/timvideos/HDMI2USB/wiki/Flashing-Firmware#digilent-atlys21:11
tpbTitle: Flashing Firmware · timvideos/HDMI2USB Wiki · GitHub (at github.com)21:11
shivm28https://paste.ubuntu.com/p/VYKHqnpx6Q/21:15
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)21:15
shivm28CarlFK: How can I check if it worked or not?21:16
CarlFKshivm28: flterm --port  /dev/ttyVIZ021:17
shivm28https://paste.ubuntu.com/p/BqfpDVB8ht/21:18
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)21:18
shivm28After pressing enter, I got BIOS>21:18
CarlFKi think that is progress21:18
CarlFKtype help21:18
shivm28Available commands:21:19
shivm28mr         - read address space21:19
shivm28mw         - write address space21:19
shivm28mc         - copy address space21:19
shivm28crc        - compute CRC32 of a part of the address space21:19
shivm28ident      - display identifier21:19
shivm28serialboot - boot via SFL21:19
shivm28flashboot  - boot from flash21:19
shivm28memtest    - run a memory test21:19
CarlFKplease dont paste more than 2 or 3 lines here21:20
shivm28Oh sorry21:20
CarlFKtry ident , memtest and flashboot21:20
CarlFKyou should be getting H2U 00:52:47> - I think you get the BIOS prompt when it fails to boot, like fails a memtest.21:20
shivm28I tried flashboot but got error : Invalid flash boot image length 0xffffffff21:21
CarlFKI am guessing it didn't get loaded21:22
shivm28https://paste.ubuntu.com/p/XpHGMPfnq6/21:23
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)21:23
tumbleweedthat's the bootloader21:24
tumbleweedthat's the point where you do load-firmware, and type "serialboot" into the console21:24
shivm28serialboot is returning TIMEOUT21:26
tumbleweedfrom load-firmware?21:26
shivm28I am following this link right now:  wget https://raw.githubusercontent.com/timvideos/HDMI2USB-firmware-prebuilt/master/archive/master/v0.0.2-81-gd0d3aea/atlys/hdmi2usb/hdmi2usb.hex hdmi2usb-mode-switch -v --load-fx2-firmware hdmi2usb.hex21:27
tumbleweedok, I'll stay out of that21:27
shivm28Trying to flash prebuilt firmware.21:27
tumbleweedCarlFK: that's fx2 firmware, not the problem you need to be dealing with21:27
shivm28I will try building the image file again maybe21:28
shivm28But I believe it has to do something with that jumper pin :(21:29
tumbleweedno, it doesn't21:29
tumbleweedserialboot works when flterm is run with the kernel argument pointing to a firmware file21:30
tumbleweedthat's what make firmware-load does21:30
shivm28https://paste.ubuntu.com/p/w8CB5CTqxg/21:32
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)21:32
shivm28Some progress I guess21:32
shivm28using make firmware-load and then serialboot21:33
CarlFKI would download  and use prebuilt to confirm that bit works go up a few lines from that wiki page21:34
shivm28But now I am stuck at this point. https://paste.ubuntu.com/p/w8CB5CTqxg/21:34
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)21:34
shivm28waiting for gdb21:34
*** shivm28 has quit IRC21:39
tumbleweedyeah, that looks like some unhappy firmware21:40
*** hyadez has quit IRC22:45
*** hyadez has joined #timvideos23:52

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