*** tpb has joined #timvideos | 00:00 | |
*** Kripton_ has quit IRC | 05:20 | |
*** Kripton has joined #timvideos | 05:24 | |
*** Bertl_zZ is now known as Bertl | 08:50 | |
*** rohitksingh has joined #timvideos | 08:58 | |
*** sb0 has quit IRC | 09:00 | |
*** sb0 has joined #timvideos | 09:05 | |
*** seaLne has quit IRC | 09:33 | |
*** seaLne has joined #timvideos | 09:33 | |
*** Bertl is now known as Bertl_zZ | 10:12 | |
*** rohitksingh has quit IRC | 10:30 | |
*** rohitksingh has joined #timvideos | 17:05 | |
*** lep0le has joined #timvideos | 17:22 | |
lep0le | hello | 17:22 |
---|---|---|
lep0le | i have a question on howto flash an hdmi2usb.tv card | 17:22 |
lep0le | opsis card | 17:22 |
lep0le | so i follow the step of this page | 17:23 |
lep0le | https://github.com/timvideos/HDMI2USB-numato-opsis-docs/wiki/FlashOpsis | 17:23 |
tpb | Title: FlashOpsis · timvideos/HDMI2USB-numato-opsis-docs Wiki · GitHub (at github.com) | 17:23 |
lep0le | i follow all the step | 17:25 |
lep0le | s | 17:25 |
lep0le | and i get stuck on | 17:25 |
lep0le | subprocess.CalledProcessError: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128 Makefile:154 : la recette pour la cible « flash-gateware » a échouée make: *** [flash-gateware] Erreur 1 | 17:26 |
lep0le | maybe better with all the output of the flash command | 17:27 |
lep0le | make flash cd third_party/misoc && python3 make.py --external /home/lep0le/HDMI2USB-misoc-firmware --flash-proxy-dir /home/lep0le/HDMI2USB-misoc-firmware/third_party/flash_proxies --target opsis_hdmi2usb --target-option firmware_filename /home/lep0le/HDMI2USB-misoc-firmware/firmware/lm32/firmware.bin --csr_csv /home/lep0le/HDMI2USB-misoc-firmware/test/csr.csv --platform-option programmer openocd flash-bitstream fatal: Not a git repository: | 17:27 |
*** lep0le has quit IRC | 17:29 | |
*** lep0le has joined #timvideos | 17:29 | |
lep0le | and now the board appear in lsusb as : | 17:29 |
lep0le | Bus 001 Device 013: ID 16c0:06ad Van Ooijen Technische Informatica | 17:29 |
*** rohitksingh has quit IRC | 17:35 | |
*** rohitksingh has joined #timvideos | 17:36 | |
lep0le | is there a tuto somewhere to solve my flash problem | 17:36 |
*** rohitksingh has quit IRC | 18:03 | |
*** lep0le_ has joined #timvideos | 18:04 | |
*** lep0le has quit IRC | 18:05 | |
lep0le_ | hello | 18:05 |
lep0le_ | need help to flash an opsis board | 18:05 |
paddatrapper | mithro: ^^ | 18:20 |
CarlFK | lep0le_: i can try to help... in a few min | 18:37 |
lep0le_ | ok | 18:44 |
lep0le_ | i can wait | 18:44 |
lep0le_ | fewminutes | 18:45 |
CarlFK | rage. | 18:54 |
CarlFK | I have notes, I am sure they are on a github wiki page | 18:54 |
CarlFK | I have no idea who's account or repo or anything | 18:54 |
lep0le_ | i'm trying to make my opsis board work | 18:54 |
lep0le_ | so i go to https://github.com/timvideos/HDMI2USB-numato-opsis-docs/wiki/FlashOpsis | 18:55 |
tpb | Title: FlashOpsis · timvideos/HDMI2USB-numato-opsis-docs Wiki · GitHub (at github.com) | 18:55 |
lep0le_ | and make all the command | 18:55 |
lep0le_ | it don't seem to work | 18:55 |
lep0le_ | now i got this error: | 18:56 |
lep0le_ | ~/HDMI2USB-misoc-firmware $ source scripts/setup-env.sh This script is: /home/lep0le/HDMI2USB-misoc-firmware/scripts/setup-env.sh Firmware directory: /home/lep0le/HDMI2USB-misoc-firmware Build directory is: /home/lep0le/HDMI2USB-misoc-firmware/build 3rd party directory is: /home/lep0le/HDMI2USB-misoc-firmware/third_party Build directory not found! | 18:56 |
CarlFK | lep0le_: how is your python skills? | 19:02 |
lep0le_ | pity | 19:03 |
lep0le_ | i'm really a noob | 19:03 |
lep0le_ | my skills are movie, video | 19:03 |
lep0le_ | linux | 19:03 |
CarlFK | http://paste.ubuntu.com/23304538/ | 19:03 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 19:03 |
lep0le_ | but python | 19:03 |
CarlFK | that is not what I am looking for, but it is something | 19:03 |
CarlFK | it loops over all the firmware dirs, flashes, resets and tests | 19:04 |
CarlFK | default="atlys" | 19:04 |
lep0le_ | ok | 19:04 |
CarlFK | I don't think I tested it for Opsis, but if you dig out the commands, we can limp though | 19:04 |
lep0le_ | how do i use it | 19:05 |
CarlFK | if you dig out the commands ;) | 19:05 |
lep0le_ | ok | 19:05 |
CarlFK | I made that to test builds to see which ones failed a test | 19:06 |
lep0le_ | ok | 19:06 |
CarlFK | I don't expect you to do that | 19:06 |
lep0le_ | ok | 19:06 |
lep0le_ | so my last error was: lep0le@lep0le-P15xEMx ~/HDMI2USB-mode-switch $ ./opsis-update.sh Traceback (most recent call last): File "./hdmi2usb-mode-switch.py", line 116, in <module> assert len(boards) == 1, boards AssertionError: [] | 19:06 |
lep0le_ | evrything work before | 19:06 |
lep0le_ | i change the path | 19:07 |
CarlFK | look at line 121 and 129 | 19:07 |
CarlFK | I have no idea how to help you with that process, so ignore it unless someone else comes around who has an idea about it. | 19:08 |
CarlFK | that process = what you posted about, I think make is involved | 19:08 |
lep0le_ | first commant 121 give hdmi2usb-mode-switch Traceback (most recent call last): File "/home/lep0le/HDMI2USB-mode-switch/bin/hdmi2usb-mode-switch", line 116, in <module> assert len(boards) == 1, boards AssertionError: [] | 19:09 |
lep0le_ | 2nd command 129 give me : hdmi2usb-mode-switch --load-fx2-firmware usage: hdmi2usb-mode-switch [-h] [--verbose] [--by-type {opsis,atlys}] [--by-mac BY_MAC] [--by-dna BY_DNA] [--by-position BY_POSITION] [--all ALL] [--get-usbfs] [--get-sysfs] [--get-state] [--get-video-device] [--get-serial-device] | 19:10 |
lep0le_ | hdmi2usb-mode-switch --mode=jtag Traceback (most recent call last): File "/home/lep0le/HDMI2USB-mode-switch/bin/hdmi2usb-mode-switch", line 116, in <module> assert len(boards) == 1, boards AssertionError: [] | 19:11 |
*** cr1901_modern1 has joined #timvideos | 19:12 | |
*** cr1901_modern has quit IRC | 19:14 | |
CarlFK | lep0le_: pastebin the command and results | 19:19 |
lep0le_ | which command | 19:35 |
lep0le_ | i just did it before | 19:35 |
lep0le_ | so now i got this : | 19:39 |
lep0le_ | lep0le@lep0le-P15xEMx ~/HDMI2USB-mode-switch $ hdmi2usb-mode-switch --mode=jtagFound 1 boards. | 19:39 |
lep0le_ | the 2nd one give this return | 19:41 |
lep0le_ | lep0le@lep0le-P15xEMx ~/HDMI2USB-mode-switch $ hdmi2usb-mode-switch --load-fx2-firmware usage: hdmi2usb-mode-switch [-h] [--verbose] [--by-type {opsis,atlys}] [--by-mac BY_MAC] [--by-dna BY_DNA] [--by-position BY_POSITION] [--all ALL] [--get-usbfs] [--get-sysfs] [--get-state] [--get-video-device] [--get-serial-device] | 19:41 |
CarlFK | don't paste here | 19:41 |
lep0le_ | ah sorry | 19:41 |
CarlFK | oh, there are 3 lines of commands you need: 121, 125, 129 | 19:43 |
lep0le_ | https://paste.ubuntu.com/23304686/ | 19:44 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 19:44 |
lep0le_ | https://paste.ubuntu.com/23304691/ | 19:46 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 19:46 |
CarlFK | you need to pass a file name | 19:50 |
lep0le_ | file name ? | 19:51 |
lep0le_ | so in the 2nd part to flash the make flash give me this return: | 19:51 |
lep0le_ | https://paste.ubuntu.com/23304710/ | 19:51 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 19:51 |
CarlFK | (H2U B=opsis) lep0le@lep0le-P15xEMx ~/HDMI2USB-misoc-firmware $ make flash | 19:52 |
CarlFK | I stopped reading | 19:52 |
CarlFK | lep0le@lep0le-P15xEMx ~/HDMI2USB-mode-switch $ hdmi2usb-mode-switch --load-fx2-firmware <file name goes here> | 19:52 |
CarlFK | here is another bunch of commands I have that are closer to instructions | 19:53 |
CarlFK | http://paste.ubuntu.com/23304472/ | 19:53 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 19:53 |
CarlFK | but that is a little old. I can tell because I stopped using openocd a while ago. | 19:54 |
lep0le_ | now i got this error: | 20:02 |
lep0le_ | Error: couldn't open build/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin | 20:02 |
lep0le_ | when i do make flash | 20:02 |
lep0le_ | i gonna try your last set of commands | 20:03 |
CarlFK | build/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin | 20:05 |
CarlFK | pass the full path | 20:06 |
CarlFK | (don't ask me, ask mithro why it is like that) | 20:06 |
lep0le_ | ok thanks how can i ask mithro | 20:12 |
lep0le_ | here i mean | 20:13 |
CarlFK | mithro: why doesn't hdmi2usb-mode-switch --load-fx2-firmware look in the current dir for files? | 20:13 |
CarlFK | what does work is the full path | 20:14 |
CarlFK | and when you have an error, paste bin the whole thing. | 20:14 |
CarlFK | the one liners you post her only tell me 1/2 of what I need to help you | 20:14 |
lep0le_ | my last try give me this: | 20:34 |
lep0le_ | https://paste.ubuntu.com/23304876/ | 20:34 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 20:34 |
lep0le_ | hello CarlFK i do all the commands of the paste.ubuntu.com/23304472/ | 21:34 |
lep0le_ | and the result is this: https://paste.ubuntu.com/23305061/ | 21:35 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 21:35 |
CarlFK | lep0le_: what version do you have of: openocd -v | 21:38 |
CarlFK | Open On-Chip Debugger 0.9.0+git20151228 (2016-01-26-04:52) | 21:38 |
*** lep0le has joined #timvideos | 22:36 | |
lep0le | hello carlFK | 22:36 |
CarlFK | lep0le_: what version do you have of: openocd -v | 22:37 |
*** lep0le_ has quit IRC | 22:38 | |
lep0le | openocd give me a core dumped | 22:41 |
CarlFK | oh jeez | 22:43 |
CarlFK | what linux distro are you using ? | 22:43 |
lep0le | 0.9.0=git20151228-0 | 22:44 |
lep0le | this is my version | 22:44 |
lep0le | i find it in synaptic | 22:44 |
lep0le | i use mint 17 | 22:44 |
lep0le | linux 4.2.0.19-lowlatency | 22:45 |
lep0le | it's a trusty base system | 22:45 |
CarlFK | hmm, I am a little confused.. that ver no is good, but not sure how you got it on trusty | 22:47 |
CarlFK | apt-cache policy openocd | 22:47 |
CarlFK | 500 http://ppa.launchpad.net/timvideos/fpga-support/ubuntu xenial/main amd64 Packages | 22:47 |
tpb | Title: Index of /timvideos/fpga-support/ubuntu (at ppa.launchpad.net) | 22:47 |
CarlFK | I am pretty sure you need it to come from that ppa (not sure if the opsis patches have hit ubuntu repos yet, and surely not trusty) | 22:48 |
lep0le | https://paste.ubuntu.com/23305444/ | 22:50 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 22:50 |
CarlFK | well, that's good that you have the right version, but bad that it crashes | 22:54 |
CarlFK | mode-switch.py works out the parameters needed for openocd | 22:55 |
CarlFK | I thought I had seen that working ok | 22:55 |
lep0le | not sure to understand | 22:57 |
lep0le | you spoke of https://paste.ubuntu.com/23305061/ | 22:58 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 22:58 |
CarlFK | I see it crashed (core dump) there too | 22:59 |
CarlFK | you need to fix that first | 23:00 |
lep0le | ok | 23:00 |
lep0le | how can i do it | 23:00 |
CarlFK | I would start with mint support ... try /j #mint | 23:01 |
CarlFK | I am just guessing that #mint is good. I can tell you #ubuntu is not a good place to ask about this | 23:01 |
lep0le | not sure there is lot of help in mint | 23:02 |
lep0le | i will try | 23:02 |
lep0le | if i sudo openocd i don't got the error | 23:08 |
CarlFK | oh, do that | 23:13 |
CarlFK | it isn't clear when we do and don't need sudo for these things, so ... if sudo works, ok. | 23:14 |
lep0le | the following command : | 23:17 |
lep0le | sudo openocd -f board/numato_opsis.cfg -c 'init; xc6s_print_dna xc6s.tap; jtagspi_init 0 ~/HDMI2USB-mode-switch/flash_proxy/opsis/bscan_spi_xc6slx45t.bit; jtagspi_program /tmp/hdmi2usb/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin 0x0; exit' | 23:18 |
lep0le | seem to work | 23:18 |
lep0le | but sudo ./hdmi2usb-mode-switch.py --verbose --flash-gateware /tmp/hdmi2usb/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin | 23:19 |
lep0le | give me https://paste.ubuntu.com/23305531/ | 23:19 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 23:19 |
CarlFK | does this exist? /tmp/hdmi2usb/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin | 23:21 |
lep0le | no it doesn't, i just check | 23:26 |
lep0le | is there a way to figure this out | 23:31 |
lep0le | ? | 23:31 |
CarlFK | sudo ./hdmi2usb-mode-switch.py --verbose --flash-gateware /tmp/hdmi2usb/opsis_hdmi2usb-hdmi2usbsoc-opsis.binNumato Opsis in 'serial' mode at /dev/bus/usb/003/012 | 23:42 |
CarlFK | --flash-gateware /tmp/hdmi2usb/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin | 23:43 |
CarlFK | you need to pass the pathname to the file | 23:43 |
lep0le | how can i do this: pass the pathname to the file | 23:54 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!