*** tpb has joined #timvideos | 00:00 | |
CarlFK | mithro: trying to get an Atlys working - dmesg shows [ 374.710767] uvcvideo: Found UVC 1.00 device HDMI2USB.tv - Numato Opsis Board (1d50:60b7) | 01:29 |
---|---|---|
CarlFK | is Opsis ok, or did something get messed up? | 01:30 |
mithro | CarlFK: https://github.com/timvideos/litex-buildenv/wiki/USB-IDs#primary-usb-ids | 01:31 |
tpb | Title: USB IDs · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 01:31 |
mithro | CarlFK: I don't know why that is showing up as a Numato Opsis board... that USB ID is for our configuration of an Atlys... | 01:31 |
mithro | CarlFK: What does `lsusb` show? | 01:32 |
mithro | CarlFK: The Opsis should show up as `OpsisOperational0x2A190x5442` | 01:32 |
CarlFK | mithro: lsusb http://paste.ubuntu.com/p/FDNJTvDWDH/ | 01:33 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 01:33 |
CarlFK | mithro: Opsis isn't hooked up - just Atlys | 01:33 |
mithro | CarlFK: "sudo lsusb -l" | 01:33 |
CarlFK | mithro: lsusb: invalid option -- 'l' how avout -v? | 01:34 |
CarlFK | 01:34 | |
mithro | CarlFK: Probably -v | 01:34 |
mithro | Bus 001 Device 011: ID 16c0:06ad Van Ooijen Technische Informatica <-- that looks wrong... | 01:35 |
CarlFK | mithro: im floundering trying to get the Atlys working, so not surprised there is wron gstuff | 01:36 |
CarlFK | mithro: sudo lsusb -v http://paste.ubuntu.com/p/wV5JFXkvqf/ | 01:36 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 01:36 |
mithro | CarlFK: Bus 001 Device 011: ID 16c0:06ad Van Ooijen Technische Informatica <--- that is the Atlys in JTAG mode apparently... | 01:37 |
mithro | ixo-usb-jtag0x16C00x06ADany | 01:37 |
mithro | CarlFK: Is this a machine were you have installed ixo-usb-jtag package | 01:41 |
CarlFK | mithro: yep Installed: 0.0.1-1~bpo9+1 | 01:42 |
mithro | CarlFK: remove that package | 01:42 |
CarlFK | mithro: hmm.. removing it. I see this: The following packages will be REMOVED: hdmi2usb-mode-switch ixo-usb-jtag | 01:43 |
mithro | CarlFK: Yeah, these are tumbleweed's busted packages | 01:46 |
CarlFK | grumble :p | 01:46 |
CarlFK | mithro: do I do "hdmi2usb-mode-switch -v --load-fx2-firmware hdmi2usb.hex " before or after --flash-image image-gateware... | 02:09 |
*** cr1901_modern has quit IRC | 02:09 | |
mithro | CarlFK: Shouldn't need to? | 02:11 |
mithro | Oh | 02:12 |
mithro | CarlFK: After the FPGA has booted | 02:12 |
*** cr1901_modern has joined #timvideos | 02:13 | |
CarlFK | flash-image, power cycle, wait 30 seconds, load-fx2-firmware ? | 02:13 |
CarlFK | mithro: yes - that's what my docs say :D | 02:14 |
mithro | CarlFK: Sounds about right... | 02:14 |
CarlFK | mithro: in https://github.com/timvideos/HDMI2USB-mode-switch doesn't "make conda" make/get/install fxload? | 02:16 |
tpb | Title: GitHub - timvideos/HDMI2USB-mode-switch: Tool for switching boards supported by HDMI2USB firmware between multiple different modes (programming, webcam, etc). (at github.com) | 02:16 |
CarlFK | mithro: http://paste.ubuntu.com/p/JsgT5vzsw3/ FileNotFoundError: [Errno 2] No such file or directory: 'fxload' | 02:17 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 02:17 |
mithro | CarlFK: Doesn't look like it... | 02:17 |
mithro | CarlFK: https://github.com/timvideos/conda-hdmi2usb-packages/issues/6 | 02:18 |
tpb | Title: Add fxload to this repo · Issue #6 · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 02:18 |
CarlFK | mithro: FileNotFoundError: [Errno 2] No such file or directory: 'openocd' | 02:23 |
CarlFK | mithro: I'm trying to avoid the broken package | 02:23 |
mithro | CarlFK: Try "make conda/bin/openocd" | 02:24 |
mithro | Hrm, that should have already been installed -> https://github.com/timvideos/HDMI2USB-mode-switch/blob/master/Makefile#L3 | 02:25 |
tpb | Title: HDMI2USB-mode-switch/Makefile at master · timvideos/HDMI2USB-mode-switch · GitHub (at github.com) | 02:25 |
CarlFK | mithro: make: 'conda/bin/openocd' is up to date. | 02:25 |
mithro | CarlFK: `make config` | 02:25 |
CarlFK | mithro: says Set your path with; export PATH=/home/juser/HDMI2USB-mode-switch/bin:/home/juser/HDMI2USB-mode-switch/conda/bin:$PATH | 02:26 |
mithro | CarlFK: Do that? | 02:26 |
CarlFK | (venv) juser@cnt2:~/HDMI2USB-mode-switch$ which openocd | 02:26 |
CarlFK | /home/juser/HDMI2USB-mode-switch/conda/bin/openocd | 02:26 |
CarlFK | mithro: progress - now openodc errors http://paste.ubuntu.com/p/5yGHxCV2Bp/ | 02:29 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 02:29 |
mithro | CarlFK: Is this the first time you have ever flashed this Atlys board? | 02:30 |
CarlFK | mithro: I doubt it - but maybe? | 02:30 |
mithro | https://paginas.fe.up.pt/~ee06211/doku.php?id=digilent_atlys#interfacing_with_the_onboard_numonyx_n25q128 | 02:32 |
CarlFK | mithro: ah, this is my first one - it has the 0,1 and your 5v stickers on it | 02:33 |
mithro | CarlFK: That above page seems to be down... | 02:34 |
mithro | CarlFK: I can't seem to find instructions in our repo... | 02:34 |
CarlFK | mithro: https://github.com/timvideos/HDMI2USB/wiki/Flashing-Firmware ? | 02:35 |
tpb | Title: Flashing Firmware · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 02:35 |
CarlFK | that has worked, but im pretty sure somewhere in there is the ixo-usb-jtag package thing | 02:35 |
mithro | https://github.com/timvideos/HDMI2USB-mode-switch/issues/24 | 02:35 |
tpb | Title: Detect "Error: Unknown flash device (ID 0x00ffffff)" on Digilent Atlys · Issue #24 · timvideos/HDMI2USB-mode-switch · GitHub (at github.com) | 02:35 |
mithro | CarlFK: https://web.archive.org/web/20181003041738/https://paginas.fe.up.pt/~ee06211/doku.php?id=digilent_atlys | 02:36 |
tpb | Title: digilent_atlys [Generation of Reconfigurable Circuits from Machine Code] (at web.archive.org) | 02:36 |
CarlFK | mithro: iv definitely had this atlys flashed before | 02:37 |
mithro | CarlFK: I don't believe you | 02:37 |
CarlFK | mithro: its been to LCA - I suspect it is the one that had the funny line that might be 'bad memory' | 02:38 |
mithro | CarlFK: flash != load | 02:39 |
CarlFK | mithro: ah right. ok, back to no idea | 02:40 |
mithro | CarlFK: Did you read the things I link you? | 02:40 |
CarlFK | mithro: yes - but not sure what I should do | 02:42 |
mithro | JP11 is used to disable the FPGA from loading the configuration from the onboard SPI flash. This header may not be populated on your board. During normal operation this should not have a jumper on it. This jumper is only needed when loading the HDMI2USB firmware onto the board permanently for the first time. From the Digilent Atlys manual; | 02:43 |
* CarlFK[m] uploaded an image: 20190525_214213.jpg (66KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/pXZEQdGeVFgorENJzdNmQlZg > | 02:51 | |
CarlFK | mithro: found it, no jumper : | 02:51 |
CarlFK | mithro: ah, I should be doing --load-image ? | 02:52 |
mithro | CarlFK: If you want to load rather than flash it permanently? | 02:53 |
CarlFK | well, there is no --load-image | 02:53 |
CarlFK | mithro: im trying not to do anything new - other than new images and new os and new vizzini and who knows what else ? | 02:54 |
mithro | CarlFK: You want load-gateware, but you'll have to load-firmware as well | 02:54 |
CarlFK | how did I get this image on the wiki? so I can add that jp11 iamge too | 03:04 |
CarlFK | https://raw.githubusercontent.com/wiki/timvideos/litex-buildenv/screen_shots/1_welcome.png | 03:04 |
mithro | CarlFK: You added that image IIRC? | 03:04 |
mithro | CarlFK: clone the wiki locally | 03:04 |
CarlFK | yay. maybe more images will collect here https://github.com/timvideos/HDMI2USB/wiki/Images | 03:15 |
tpb | Title: Images · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 03:15 |
* CarlFK[m] uploaded an image: 20190525_222820.jpg (136KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/WmPZAGYdUOfXHaILbFUjcKOi > | 03:37 | |
* CarlFK[m] uploaded an image: 20190525_223304.jpg (849KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/tWpitJcFWulLVYQRksnwUOJt > | 03:42 | |
* CarlFK[m] uploaded an image: 20190525_224032.jpg (914KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/FAYPtBQVqTpJCTWaDTRitClB > | 03:49 | |
CarlFK | mithro: AssertionError: Loading requires a .bit file | 03:51 |
CarlFK | mithro: is this what I want? https://github.com/timvideos/HDMI2USB-firmware-prebuilt-old2/blob/master/archive/master/v0.0.4-476-g9d94144/atlys/hdmi2usb/lm32/gateware/top.bit | 03:57 |
tpb | Title: HDMI2USB-firmware-prebuilt-old2/top.bit at master · timvideos/HDMI2USB-firmware-prebuilt-old2 · GitHub (at github.com) | 03:57 |
CarlFK | welp, it didn't error :p | 03:59 |
* CarlFK[m] uploaded an image: 20190525_230602.jpg (110KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/kOgmwCPEPYsTsjapTVfHhBrq > | 04:14 | |
* CarlFK[m] uploaded an image: 20190525_230825.jpg (89KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/JaAfgaKYElCMEwdIYvIdgQmR > | 04:17 | |
CarlFK | mithro: JP11 (not J11) is 3 pins - it looks like the 2 options are 2v5 and 3v3 | 04:38 |
CarlFK | my board has 3v3 jumpered - see top pic of https://github.com/timvideos/HDMI2USB/wiki/Images | 04:39 |
tpb | Title: Images · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 04:39 |
mithro | CarlFK: That is JP12 | 04:58 |
CarlFK | mithro: oh hell | 04:58 |
CarlFK | mithro: I found JP11 - it is jumpered | 05:00 |
mithro | CarlFK: I seem to recall, you need to do - Connect power with JP11 jumpered and then remove JP11 and do the flash | 05:01 |
*** sc00bz has quit IRC | 05:07 | |
*** sc00bz has joined #timvideos | 05:08 | |
CarlFK | mithro: tried that, tried open, power, close, flash - tried open power flash.. all seem to be the same: http://paste.ubuntu.com/p/7K7JjMqd3g/ | 05:10 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:10 |
CarlFK | mithro: intersting is im not getting many (any) 0x181818, and I do get that all the time trying with my laptop | 05:10 |
mithro | CarlFK: Power on with JP11 connected, remove JP11 while power is still on), use hdmi2usb-mode-switch with --flash (while power is still on)? | 05:11 |
CarlFK | mithro: yep. just did that. same result: Info : JTAG tap: xc6s.tap tap/device found: 0x44008093 (mfg: 0x049 (Xilinx), part: 0x4008, ver: 0x4) | 05:13 |
CarlFK | Error: Unknown flash device (ID 0x00ffffff) | 05:13 |
CarlFK | about the same time it errors and returns to prompt, the "done" light comes on | 05:17 |
* CarlFK[m] uploaded an image: 20190526_001007.jpg (128KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/DOeUljVQcHVUJMxJBEoAdEqy > | 05:18 | |
CarlFK | mithro: ^^ done light | 05:19 |
CarlFK | mithro: good news. I have another Atlys - it passes hdmi from input1 to output 0 on boot (no usb hooked up) | 05:46 |
CarlFK | mithro: I get no response when I connect to the console - no prompt, just [FLTERM] Starting... | 06:07 |
mithro | CarlFK: which serial port? | 06:08 |
CarlFK | mithro: flterm --port /dev/ttyACM0 | 06:08 |
mithro | CarlFK: That doesn't work on the Atlys you need the /dev/ttyVIZ0 or something... | 06:08 |
*** rohitksingh has joined #timvideos | 06:36 | |
CarlFK | mithro: progress.. /dev/ttyVIZ0 v0.0.4-203-g5f07955 | 06:44 |
*** rohitksingh_ has joined #timvideos | 07:10 | |
*** rohitksingh has quit IRC | 07:11 | |
*** rohitksingh_ has quit IRC | 07:11 | |
tumbleweed | mithro: oi | 07:36 |
tumbleweed | what exactly is busted? is there a bug report? | 07:36 |
*** sc00bz has quit IRC | 07:51 | |
*** sc00bz has joined #timvideos | 07:52 | |
CarlFK | tumbleweed: im guessing a mode-switch package has a dep on ixo-usb-jtag - but I'm not sure when it gets installed | 08:03 |
tumbleweed | it does, yes | 08:08 |
CarlFK | I hear that's bad | 08:09 |
CarlFK | tumbleweed: im testing https://github.com/shenki/linux/commit/9e4dd3846226d649a615708791309d17efa4c530 | 08:11 |
tpb | Title: usb-serial: Add vizzini driver for Exar USB 2 serial adapters · shenki/linux@9e4dd38 · GitHub (at github.com) | 08:11 |
CarlFK | I see and use /dev/ttyUSB0 - but the other driver created ttyVIZ0 - is this ok? | 08:12 |
CarlFK | dmesg [21437.130124] usb 1-5.1: vizzini_1410 converter now attached to ttyUSB0 | 08:13 |
tumbleweed | CarlFK: no, it's good | 08:13 |
tumbleweed | it needs things from there | 08:13 |
tumbleweed | (I mean the dependency) | 08:14 |
CarlFK | *shrug* everything is on fire here, so I have no idea what is good or not | 08:14 |
tumbleweed | having two devices for the vizzini device sounds wrong | 08:14 |
CarlFK | um, not at the same time | 08:14 |
CarlFK | the vizzini-dkms installed one gives ttyVIZ0 | 08:14 |
CarlFK | shenki version ttyUSB0 | 08:15 |
tumbleweed | ah, that sounds correct | 08:15 |
CarlFK | k - Ben said he would help get it upstream | 08:15 |
CarlFK | so i'm poking it.. while everything else is on fire. good time. | 08:16 |
CarlFK | hmm, this is a new amount of 1818... | 08:32 |
CarlFK | DNA = 110000001100000010011110000001010100001001001010011000100 (0x181813c0a8494c4) | 08:32 |
CarlFK | mithro: im stuck - Error: Unknown flash device (ID 0x00ffffff) | 08:47 |
CarlFK | mithro: http://paste.ubuntu.com/p/dD6zb4636p/ | 08:47 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 08:47 |
mithro | tumbleweed: You install ixo-usb-jtag, which installs udev rules which conflict with the udev rules used in the hdmi2usb-mode-switch package and lead to confusing results... | 08:47 |
mithro | CarlFK: The only thing I know about that issue is what I linked you too | 08:48 |
CarlFK | mithro: are you sure it's the same issue? | 08:49 |
mithro | CarlFK: If it's not the same issue, then I have no idea | 08:49 |
tumbleweed | mithro: the ixo-usb-jtag doesn't include any udev rules | 08:51 |
CarlFK | mithro: do you remember anything about "failsafe" where if you do something within some time after power up .. something different happens? | 09:02 |
mithro | CarlFK: nope! | 09:02 |
CarlFK | mithro: https://opsis.hdmi2usb.tv/getting-started/usb-ids.html#failsafe-mode | 09:26 |
mithro | CarlFK: Doesn't apply to the Atlys | 09:26 |
CarlFK | mithro: progress!!! I hooked up my extratron vga-hdmi set it to 720p @25 color bars, I get stable output from the Atlys | 09:40 |
CarlFK | on boot, which means it has been flashed. | 09:40 |
CarlFK | im guessing LCA Gelong | 09:41 |
CarlFK | any ideas on console quirks? | 09:41 |
CarlFK | omg prompt! | 09:43 |
CarlFK | platform: atlys git describe: v0.0.4-476-g9d94144 | 09:43 |
CarlFK | built: May 22 2019 | 09:44 |
CarlFK | ok, never mind Gelong 201?? | 09:44 |
CarlFK | mithro: lookie!!! https://veyepar.nextdayvideo.com/static/temp/atlys-v0.0.4-476-g9d94144.png | 10:16 |
CarlFK | wake up!!! | 10:16 |
mithro | CarlFK: latest version? | 11:19 |
mithro | CarlFK: plus we should both be asleep... | 11:22 |
*** CryptoManiac has joined #timvideos | 13:17 | |
*** CryptoManiac has quit IRC | 15:53 | |
*** sb0 has joined #timvideos | 16:08 | |
*** springermac has quit IRC | 16:09 | |
*** springermac has joined #timvideos | 16:11 | |
*** CarlFK has quit IRC | 17:52 | |
*** CarlFK has joined #timvideos | 17:52 | |
*** ChanServ sets mode: +v CarlFK | 17:52 | |
CarlFK | mithro: yep - current ver, seems to work - no idea when/what make it happen | 18:58 |
* CarlFK[m] uploaded an image: 20190526_142533.jpg (108KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/pUnMXuvkECHyKOuMdvTlbeQB > | 19:34 | |
*** techman83 has quit IRC | 22:08 | |
*** techman83 has joined #timvideos | 22:09 | |
*** ChanServ sets mode: +v techman83 | 22:09 | |
*** mauz555 has joined #timvideos | 23:11 | |
*** mauz555 has quit IRC | 23:22 | |
*** mauz555 has joined #timvideos | 23:23 | |
*** mauz555 has quit IRC | 23:28 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!