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 HDMI2USB.tv - Numato Opsis Board (1d50:60b7)01:29
CarlFKis Opsis ok, or did something get messed up?01:30
mithroCarlFK: https://github.com/timvideos/litex-buildenv/wiki/USB-IDs#primary-usb-ids01:31
tpbTitle: USB IDs · timvideos/litex-buildenv Wiki · GitHub (at github.com)01:31
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 http://paste.ubuntu.com/p/FDNJTvDWDH/01:33
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)01:33
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
CarlFK01: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 http://paste.ubuntu.com/p/wV5JFXkvqf/01:36
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)01:36
mithroCarlFK: Bus 001 Device 011: ID 16c0:06ad Van Ooijen Technische Informatica <--- that is the Atlys in JTAG mode apparently...01:37
mithroixo-usb-jtag0x16C00x06ADany01: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
mithroOh02:12
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 https://github.com/timvideos/HDMI2USB-mode-switch 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 github.com)02:16
CarlFKmithro: http://paste.ubuntu.com/p/JsgT5vzsw3/  FileNotFoundError: [Errno 2] No such file or directory: 'fxload'02:17
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)02:17
mithroCarlFK: Doesn't look like it...02:17
mithroCarlFK: https://github.com/timvideos/conda-hdmi2usb-packages/issues/602:18
tpbTitle: Add fxload to this repo · Issue #6 · timvideos/conda-hdmi2usb-packages · GitHub (at github.com)02:18
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 -> https://github.com/timvideos/HDMI2USB-mode-switch/blob/master/Makefile#L302:25
tpbTitle: HDMI2USB-mode-switch/Makefile at master · timvideos/HDMI2USB-mode-switch · GitHub (at github.com)02:25
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
CarlFK/home/juser/HDMI2USB-mode-switch/conda/bin/openocd02:26
CarlFKmithro: progress  - now openodc errors  http://paste.ubuntu.com/p/5yGHxCV2Bp/02:29
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)02:29
mithroCarlFK: Is this the first time you have ever flashed this Atlys board?02:30
CarlFKmithro: I doubt it - but maybe?02:30
mithrohttps://paginas.fe.up.pt/~ee06211/doku.php?id=digilent_atlys#interfacing_with_the_onboard_numonyx_n25q12802:32
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: https://github.com/timvideos/HDMI2USB/wiki/Flashing-Firmware ?02:35
tpbTitle: Flashing Firmware · timvideos/HDMI2USB Wiki · GitHub (at github.com)02:35
CarlFKthat has worked, but im pretty sure somewhere in there is the ixo-usb-jtag package thing02:35
mithrohttps://github.com/timvideos/HDMI2USB-mode-switch/issues/2402:35
tpbTitle: Detect "Error: Unknown flash device (ID 0x00ffffff)" on Digilent Atlys · Issue #24 · timvideos/HDMI2USB-mode-switch · GitHub (at github.com)02:35
mithroCarlFK: https://web.archive.org/web/20181003041738/https://paginas.fe.up.pt/~ee06211/doku.php?id=digilent_atlys02:36
tpbTitle: digilent_atlys [Generation of Reconfigurable Circuits from Machine Code] (at web.archive.org)02:36
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) < https://matrix.org/_matrix/media/v1/download/matrix.org/pXZEQdGeVFgorENJzdNmQlZg >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
CarlFKhttps://raw.githubusercontent.com/wiki/timvideos/litex-buildenv/screen_shots/1_welcome.png03:04
mithroCarlFK: You added that image IIRC?03:04
mithroCarlFK: clone the wiki locally03:04
CarlFKyay. maybe more images will collect here https://github.com/timvideos/HDMI2USB/wiki/Images03:15
tpbTitle: 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
CarlFKmithro: AssertionError: Loading requires a .bit file03:51
CarlFKmithro: 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.bit03:57
tpbTitle: HDMI2USB-firmware-prebuilt-old2/top.bit at master · timvideos/HDMI2USB-firmware-prebuilt-old2 · GitHub (at github.com)03:57
CarlFKwelp, it didn't error :p03: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
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 https://github.com/timvideos/HDMI2USB/wiki/Images04:39
tpbTitle: Images · timvideos/HDMI2USB Wiki · GitHub (at github.com)04:39
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: http://paste.ubuntu.com/p/7K7JjMqd3g/05:10
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)05:10
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) < https://matrix.org/_matrix/media/v1/download/matrix.org/DOeUljVQcHVUJMxJBEoAdEqy >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 https://github.com/shenki/linux/commit/9e4dd3846226d649a615708791309d17efa4c53008:11
tpbTitle: usb-serial: Add vizzini driver for Exar USB 2 serial adapters · shenki/[email protected] · GitHub (at github.com)08:11
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
CarlFKmithro: http://paste.ubuntu.com/p/dD6zb4636p/08:47
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)08:47
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
CarlFKmithro: https://opsis.hdmi2usb.tv/getting-started/usb-ids.html#failsafe-mode09:26
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!!! https://veyepar.nextdayvideo.com/static/temp/atlys-v0.0.4-476-g9d94144.png10:16
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) < https://matrix.org/_matrix/media/v1/download/matrix.org/pUnMXuvkECHyKOuMdvTlbeQB >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 irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!