Sunday, 2019-05-26

*** tpb has joined #timvideos00:00
CarlFKmithro: trying to get an Atlys working - dmesg shows [  374.710767] uvcvideo: Found UVC 1.00 device - Numato Opsis Board (1d50:60b7)01:29
CarlFKis Opsis ok, or did something get messed up?01:30
tpbTitle: USB IDs · timvideos/litex-buildenv Wiki · GitHub (at
mithroCarlFK: 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
mithroCarlFK: What does `lsusb` show?01:32
mithroCarlFK: The Opsis should show up as `OpsisOperational0x2A190x5442`01:32
CarlFKmithro: lsusb
tpbTitle: Ubuntu Pastebin (at
CarlFKmithro: Opsis isn't hooked up - just Atlys01:33
mithroCarlFK: "sudo lsusb -l"01:33
CarlFKmithro: lsusb: invalid option -- 'l' how avout -v?01:34
mithroCarlFK: Probably -v01:34
mithroBus 001 Device 011: ID 16c0:06ad Van Ooijen Technische Informatica  <-- that looks wrong...01:35
CarlFKmithro: im floundering trying to get the Atlys working, so not surprised there is wron gstuff01:36
CarlFKmithro: sudo lsusb -v
tpbTitle: Ubuntu Pastebin (at
mithroCarlFK: Bus 001 Device 011: ID 16c0:06ad Van Ooijen Technische Informatica <--- that is the Atlys in JTAG mode apparently...01:37
mithroCarlFK: Is this a machine were you have installed ixo-usb-jtag package01:41
CarlFKmithro: yep   Installed: 0.0.1-1~bpo9+101:42
mithroCarlFK: remove that package01:42
CarlFKmithro: hmm.. removing it. I see this: The following packages will be REMOVED:    hdmi2usb-mode-switch ixo-usb-jtag01:43
mithroCarlFK: Yeah, these are tumbleweed's busted packages01:46
CarlFKgrumble :p01:46
CarlFKmithro: 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 IRC02:09
mithroCarlFK: Shouldn't need to?02:11
mithroCarlFK: After the FPGA has booted02:12
*** cr1901_modern has joined #timvideos02:13
CarlFKflash-image, power cycle, wait 30 seconds, load-fx2-firmware ?02:13
CarlFKmithro: yes  - that's what my docs say :D02:14
mithroCarlFK: Sounds about right...02:14
CarlFKmithro: in doesn't "make conda"  make/get/install fxload?02:16
tpbTitle: GitHub - timvideos/HDMI2USB-mode-switch: Tool for switching boards supported by HDMI2USB firmware between multiple different modes (programming, webcam, etc). (at
CarlFKmithro:  FileNotFoundError: [Errno 2] No such file or directory: 'fxload'02:17
tpbTitle: Ubuntu Pastebin (at
mithroCarlFK: Doesn't look like it...02:17
tpbTitle: Add fxload to this repo · Issue #6 · timvideos/conda-hdmi2usb-packages · GitHub (at
CarlFKmithro: FileNotFoundError: [Errno 2] No such file or directory: 'openocd'02:23
CarlFKmithro: I'm trying to avoid the broken package02:23
mithroCarlFK: Try "make conda/bin/openocd"02:24
mithroHrm, that should have already been installed ->
tpbTitle: HDMI2USB-mode-switch/Makefile at master · timvideos/HDMI2USB-mode-switch · GitHub (at
CarlFKmithro: make: 'conda/bin/openocd' is up to date.02:25
mithroCarlFK: `make config`02:25
CarlFKmithro: says Set your path with;   export PATH=/home/juser/HDMI2USB-mode-switch/bin:/home/juser/HDMI2USB-mode-switch/conda/bin:$PATH02:26
mithroCarlFK: Do that?02:26
CarlFK(venv) [email protected]:~/HDMI2USB-mode-switch$ which openocd02:26
CarlFKmithro: progress  - now openodc errors
tpbTitle: Ubuntu Pastebin (at
mithroCarlFK: Is this the first time you have ever flashed this Atlys board?02:30
CarlFKmithro: I doubt it - but maybe?02:30
CarlFKmithro: ah, this is my first one - it has the 0,1 and your 5v stickers on it02:33
mithroCarlFK: That above page seems to be down...02:34
mithroCarlFK: I can't seem to find instructions in our repo...02:34
CarlFKmithro: ?02:35
tpbTitle: Flashing Firmware · timvideos/HDMI2USB Wiki · GitHub (at
CarlFKthat has worked, but im pretty sure somewhere in there is the ixo-usb-jtag package thing02:35
tpbTitle: Detect "Error: Unknown flash device (ID 0x00ffffff)" on Digilent Atlys · Issue #24 · timvideos/HDMI2USB-mode-switch · GitHub (at
tpbTitle: digilent_atlys [Generation of Reconfigurable Circuits from Machine Code] (at
CarlFKmithro: iv definitely had this atlys flashed before02:37
mithroCarlFK: I don't believe you02:37
CarlFKmithro: its been to LCA - I suspect it is the one that had the funny line that might be 'bad memory'02:38
mithroCarlFK: flash != load02:39
CarlFKmithro: ah right.  ok, back to no idea02:40
mithroCarlFK: Did you read the things I link you?02:40
CarlFKmithro:  yes - but not sure what I should do02:42
mithroJP11 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) < >02:51
CarlFKmithro: found it, no jumper :02:51
CarlFKmithro: ah, I should be doing --load-image ?02:52
mithroCarlFK: If you want to load rather than flash it permanently?02:53
CarlFKwell, there is no  --load-image02:53
CarlFKmithro: im trying not to do anything new - other than new images and new os and new vizzini and who knows what else ?02:54
mithroCarlFK: You want load-gateware, but you'll have to load-firmware as well02:54
CarlFKhow did I get this image on the wiki?  so I can add that jp11 iamge too03:04
mithroCarlFK: You added that image IIRC?03:04
mithroCarlFK: clone the wiki locally03:04
CarlFKyay. maybe more images will collect here
tpbTitle: Images · timvideos/HDMI2USB Wiki · GitHub (at
* CarlFK[m] uploaded an image: 20190525_222820.jpg (136KB) < >03:37
* CarlFK[m] uploaded an image: 20190525_223304.jpg (849KB) < >03:42
* CarlFK[m] uploaded an image: 20190525_224032.jpg (914KB) < >03:49
CarlFKmithro: AssertionError: Loading requires a .bit file03:51
CarlFKmithro: is this what I want?
tpbTitle: HDMI2USB-firmware-prebuilt-old2/top.bit at master · timvideos/HDMI2USB-firmware-prebuilt-old2 · GitHub (at
CarlFKwelp, it didn't error :p03:59
* CarlFK[m] uploaded an image: 20190525_230602.jpg (110KB) < >04:14
* CarlFK[m] uploaded an image: 20190525_230825.jpg (89KB) < >04:17
CarlFKmithro:  JP11 (not J11) is 3 pins - it looks like the 2 options are 2v5 and 3v304:38
CarlFKmy board has 3v3 jumpered - see top pic of
tpbTitle: Images · timvideos/HDMI2USB Wiki · GitHub (at
mithroCarlFK: That is JP1204:58
CarlFKmithro: oh hell04:58
CarlFKmithro:   I found JP11 - it is jumpered05:00
mithroCarlFK: I seem to recall, you need to do - Connect power with JP11 jumpered and then remove JP11 and do the flash05:01
*** sc00bz has quit IRC05:07
*** sc00bz has joined #timvideos05:08
CarlFKmithro: tried that, tried open, power, close, flash - tried open power flash.. all seem to be the same:
tpbTitle: Ubuntu Pastebin (at
CarlFKmithro: intersting is im not getting many (any) 0x181818, and I do get that all the time trying with my laptop05:10
mithroCarlFK: 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
CarlFKmithro: yep. just did that.  same result: Info : JTAG tap: xc6s.tap tap/device found: 0x44008093 (mfg: 0x049 (Xilinx), part: 0x4008, ver: 0x4)05:13
CarlFKError: Unknown flash device (ID 0x00ffffff)05:13
CarlFKabout the same time it errors and returns to prompt, the "done" light comes on05:17
* CarlFK[m] uploaded an image: 20190526_001007.jpg (128KB) < >05:18
CarlFKmithro: ^^ done light05:19
CarlFKmithro: good news.  I have another Atlys - it passes hdmi from input1 to output 0 on boot (no usb hooked up)05:46
CarlFKmithro: I get no response when I connect to the console  - no prompt, just [FLTERM] Starting...06:07
mithroCarlFK: which serial port?06:08
CarlFKmithro:  flterm --port /dev/ttyACM006:08
mithroCarlFK: That doesn't work on the Atlys you need the /dev/ttyVIZ0 or something...06:08
*** rohitksingh has joined #timvideos06:36
CarlFKmithro: progress.. /dev/ttyVIZ0 v0.0.4-203-g5f0795506:44
*** rohitksingh_ has joined #timvideos07:10
*** rohitksingh has quit IRC07:11
*** rohitksingh_ has quit IRC07:11
tumbleweedmithro: oi07:36
tumbleweedwhat exactly is busted? is there a bug report?07:36
*** sc00bz has quit IRC07:51
*** sc00bz has joined #timvideos07:52
CarlFKtumbleweed: im guessing a mode-switch package has a dep on ixo-usb-jtag - but I'm not sure when it gets installed08:03
tumbleweedit does, yes08:08
CarlFKI hear that's bad08:09
CarlFKtumbleweed: im testing
tpbTitle: usb-serial: Add vizzini driver for Exar USB 2 serial adapters · shenki/[email protected] · GitHub (at
CarlFKI see and use /dev/ttyUSB0 - but the other driver created ttyVIZ0 - is this ok?08:12
CarlFKdmesg [21437.130124] usb 1-5.1: vizzini_1410 converter now attached to ttyUSB008:13
tumbleweedCarlFK: no, it's good08:13
tumbleweedit needs things from there08:13
tumbleweed(I mean the dependency)08:14
CarlFK*shrug* everything is on fire here, so I have no idea what is good or not08:14
tumbleweedhaving two devices for the vizzini device sounds wrong08:14
CarlFKum, not at the same time08:14
CarlFKthe vizzini-dkms installed one gives ttyVIZ008:14
CarlFKshenki version ttyUSB008:15
tumbleweedah, that sounds correct08:15
CarlFKk - Ben said he would help get it upstream08:15
CarlFKso i'm poking it.. while everything else is on fire. good time.08:16
CarlFKhmm, this is a new amount of 1818...08:32
CarlFKDNA = 110000001100000010011110000001010100001001001010011000100 (0x181813c0a8494c4)08:32
CarlFKmithro: im stuck - Error: Unknown flash device (ID 0x00ffffff)08:47
tpbTitle: Ubuntu Pastebin (at
mithrotumbleweed: 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
mithroCarlFK: The only thing I know about that issue is what I linked you too08:48
CarlFKmithro: are you sure it's the same issue?08:49
mithroCarlFK: If it's not the same issue, then I have no idea08:49
tumbleweedmithro: the ixo-usb-jtag doesn't include any udev rules08:51
CarlFKmithro: do you remember anything about "failsafe" where if you do something within some time after power up .. something different happens?09:02
mithroCarlFK: nope!09:02
mithroCarlFK: Doesn't apply to the Atlys09:26
CarlFKmithro: progress!!!  I hooked up my extratron vga-hdmi set it to  720p @25 color bars, I get stable output from the Atlys09:40
CarlFKon boot, which means it has been flashed.09:40
CarlFKim guessing LCA Gelong09:41
CarlFKany ideas on console quirks?09:41
CarlFKomg prompt!09:43
CarlFKplatform: atlys git describe: v0.0.4-476-g9d9414409:43
CarlFKbuilt: May 22 201909:44
CarlFKok, never mind Gelong 201??09:44
CarlFKmithro: lookie!!!
CarlFKwake up!!!10:16
mithroCarlFK: latest version?11:19
mithroCarlFK: plus we should both be asleep...11:22
*** CryptoManiac has joined #timvideos13:17
*** CryptoManiac has quit IRC15:53
*** sb0 has joined #timvideos16:08
*** springermac has quit IRC16:09
*** springermac has joined #timvideos16:11
*** CarlFK has quit IRC17:52
*** CarlFK has joined #timvideos17:52
*** ChanServ sets mode: +v CarlFK17:52
CarlFKmithro: yep - current ver, seems to work - no idea when/what make it happen18:58
* CarlFK[m] uploaded an image: 20190526_142533.jpg (108KB) < >19:34
*** techman83 has quit IRC22:08
*** techman83 has joined #timvideos22:09
*** ChanServ sets mode: +v techman8322:09
*** mauz555 has joined #timvideos23:11
*** mauz555 has quit IRC23:22
*** mauz555 has joined #timvideos23:23
*** mauz555 has quit IRC23:28

Generated by 2.13.1 by Marius Gedminas - find it at!