Tuesday, 2017-10-31

*** tpb has joined #timvideos00:00
CarlFK[m]mithro: ansible doesn't like this:00:20
CarlFK[m]fatal: [cnt6]: FAILED! => {    "cmd": "./download-env.sh",00:21
CarlFK[m]I suspect the script is doing what it should do, but something is leaking an error status that ansible is picking up00:22
CarlFK[m]nm - it does error:00:23
CarlFK[m]./download-env.sh: line 183: build/conda/conda-meta/pinned: No such file or directory00:23
mithroSome type of output would be useful...00:24
CarlFK[m]http://paste.ubuntu.com/25854911/00:24
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)00:24
mithroWell, I know what is causing that00:31
mithroCarlFK: cd up a directory and try running again, does that work?00:31
CarlFK[m]mithro (IRC): seems to be working... doing lots of stuff anyway00:32
CarlFK[m]mithro (IRC): completed.00:35
CarlFK[m]quick question: in bash, how do I see the return code of the previus command?  echo ?_ or something like that00:35
mithroecho $?00:37
CarlFK[m]yep.  0 - good.00:38
mithrotumbleweed: Can you rebase your clrf change?00:42
mithrotumbleweed: And it looks like the build is passing? https://travis-ci.org/timvideos/HDMI2USB-litex-firmware/builds/294585794 ?00:42
tumbleweedmithro: why does it need a rebase?01:16
tumbleweed(github says it will merge)01:16
mithrotumbleweed: Because lots of things have been merged....01:17
tumbleweedgithub says there are no conflicts01:18
tumbleweedbut yeah, I can01:18
mithrotumbleweed: It doesn't "need" a rebase01:18
tumbleweedit'll mean another build while in the timvideos repo01:18
mithrotumbleweed: If you rebase, I think I've landed the change which should prevent it from adding another thing in the prebuild repo under master?01:19
tumbleweedmithro: you have any idea what's up with that build failure, I pasted earlier?01:30
mithrotumbleweed: This one -> http://paste.debian.net/993432/ ?01:31
tpbTitle: debian Pastezone (at paste.debian.net)01:31
tumbleweedyeah01:31
tumbleweedit seemed happy but presumably exited non-zero?01:32
tumbleweedor was that something to do with the indirection in the xilinx path?01:32
mithrotumbleweed: Need a lot more of the output to see the issue01:32
mithrotumbleweed: But I'm assuming it's the "Timing: Completed - 75 errors found."01:32
tumbleweedit doesn't write that to any log does it?01:33
tumbleweedit looks like the window of the screen I did that in died01:33
tumbleweedbuild/output.20171030-010223.log I guess01:34
tumbleweedI see timing errors, I'm not sure what to make of the01:35
tumbleweedm01:35
mithrotumbleweed: timing errors are generally bad :-P01:40
mithrotumbleweed: but they are also non-deterministic with ISE01:41
tumbleweedright, I know we're going out of spec in a few places01:44
tumbleweedso I thought those might be normal01:44
* tumbleweed retries01:47
mithrotumbleweed: I think there is 1 or 2 timing errors which use to occur02:10
mithroCarlFK[m]: https://github.com/timvideos/HDMI2USB-litex-firmware/pull/36802:30
tpbTitle: scripts: Work from random locations. by mithro · Pull Request #368 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)02:30
tumbleweedmithro: that doesn't look like non-deterministic failure... https://travis-ci.org/timvideos/HDMI2USB-litex-firmware/jobs/29512958402:35
tumbleweed(or related to my branch, at all)02:36
mithrotumbleweed: Fix is here -> https://github.com/timvideos/HDMI2USB-litex-firmware/pull/36902:39
tpbTitle: Fixing Pipistrello board by mithro · Pull Request #369 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)02:39
mithrotumbleweed: But you should see it say "Your build matrix was set to allow the failure of job 818.11 so we continued this build to the next stage."02:39
tumbleweedno, don't see that02:43
tumbleweedoh, there it is, in light grey02:44
CarlFK[m]mithro (IRC): now it should run ok from inside the scripts dir?03:04
mithroCarlFK[m]: once that is merged03:06
cr1901_modernmithro: Do you have a top.srp handy for a recent build of the mimasv2?03:21
cr1901_modernmimasv2_base_lm32*03:21
mithrocr1901_modern: https://github.com/timvideos/HDMI2USB-firmware-prebuilt/tree/master/archive/master/v0.0.3-1045-gccb30b9/mimasv2/base/lm32/gateware ?03:21
tpbTitle: HDMI2USB-firmware-prebuilt/archive/master/v0.0.3-1045-gccb30b9/mimasv2/base/lm32/gateware at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com)03:21
cr1901_modernhttps://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.3-1045-gccb30b9/mimasv2/base/lm32/gateware/top.srp#L2607 Does this strike you as odd?03:23
tpbTitle: HDMI2USB-firmware-prebuilt/top.srp at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com)03:23
cr1901_modern(and yes, thanks. that's what I needed)03:23
cr1901_modern(Mine is 27.224 MHz, but that doesn't matter- could be the random seed, could be my logic)03:24
mithrocr1901_modern: Yes that doesn't seem to be great...03:33
cr1901_modernIt doesn't seem to be right either (flashing an FPGA now)03:34
mithrohttps://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.3-1045-gccb30b9/mimasv2/base/lm32/gateware/top.srp#L260703:35
tpbTitle: HDMI2USB-firmware-prebuilt/top.srp at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com)03:35
mithroverses03:35
mithrohttps://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.3-1045-gccb30b9/opsis/base/lm32/gateware/top.srp#L317803:35
tpbTitle: HDMI2USB-firmware-prebuilt/top.srp at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com)03:35
cr1901_modernmithro: I could check my old builds (which I conveniently nuked today b/c I backed them up elsewhere)03:37
mithrocr1901_modern: That repo has a build for every time we merged something into the HDMI2USB-litex-firmware repo03:38
cr1901_modernmithro: Oh, right.03:39
cr1901_modernJust grep it and see when it tanked I guess03:39
mithroMost certainly something I did :-P03:39
cr1901_modernI noticed by pure accident, btw :P... it passed by in the console and I was like "wait, that's not right at all"03:40
cr1901_modernmithro: _all that being said_... the firmware boots03:41
cr1901_modernSo Idk wth is up03:41
mithrocr1901_modern: Yeah I would like the CI to check things like this :-P03:43
mithroTiming constraint: Default period analysis for Clock 'clk100'  Clock period: 34.792ns (frequency: 28.742MHz)03:43
cr1901_modernmimas only has a 100MHz crystal, right?03:48
mithrocr1901_modern: NFI03:48
cr1901_modernJust checked, yes it does03:48
cr1901_modernIt only bothers to calculate timing details for clk100 and base50_clk, not sys_clk03:49
cr1901_modernmithro: Okay, something important I just realized03:53
cr1901_modernhttps://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.3-1045-gccb30b9/mimasv2/base/lm32/gateware/top.srp#L2624-L263503:53
cr1901_modernMultiply the Total 13.917 by 2.503:53
tpbTitle: HDMI2USB-firmware-prebuilt/top.srp at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com)03:53
cr1901_modernyou'll get the minimum clk period03:53
cr1901_modernOther than that, idk wtf is going on :P. I guess one of us could ask on the forums if its somethign to worry about03:54
*** cr1901_modern1 has joined #timvideos04:23
*** cr1901_modern has quit IRC04:25
mithrocr1901_modern1: If we got back as far as v0.0.3-694-ge4d5f3d it is still like that...04:27
cr1901_modern1mithro: I suppose we shouldn't worry about it then for now. Or just make a footnote. Firmware is working fine04:28
cr1901_modern1(on my end anyway)04:28
mithrocr1901_modern1: The minispartan6 seems to have the same frequency...    Minimum period: 29.712ns (Maximum Frequency: 33.656MHz)04:30
cr1901_modern1Really... huh ._.04:30
cr1901_modern1mithro: Good news: I wrote a script to automate xferring new firmware (I've been using it for a while now).04:31
cr1901_modern1mithro: Bad news- it's in shell :)04:31
mithrohttps://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.0-701-gb6007e9/minispartan6/base/output.log#L2430-L243704:32
tpbTitle: HDMI2USB-firmware-prebuilt/output.log at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com)04:32
cr1901_modern1It'll calculate the crc and length for you, invoke "sx -k", and then wait until it sees "failed" or "successfully" strings04:32
cr1901_modern1mithro: hrm, well in this case I probably noticed it, said "oh it's above 32MHz still, no big deal"04:33
mithroIt should be in the 50-85MHz range, right?04:35
cr1901_modern1mithro: I honestly don't know now... b/c the clk*2.5 part is bugging me04:36
mithrocr1901_modern1: Ask _florent_ ?04:37
cr1901_modern1But yes, the minispartan's "sys_clk" should be ~80MHz04:37
cr1901_modern1will do04:37
*** cr1901_modern1 is now known as cr1901_modern04:37
*** chiralcarbon has joined #timvideos04:38
*** chiralcarbon has quit IRC04:50
cr1901_modernmithro: Could you take a look when you have time? https://github.com/timvideos/HDMI2USB-litex-firmware/pull/37005:48
tpbTitle: Add writable SPI flash and XMODEM xfer support by cr1901 · Pull Request #370 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)05:48
cr1901_modern(oh yea, CI is _prob_ gonna fail since it has no concept of meson)05:50
shornemithro: cool bunnie blogged about litex09:13
shornedont have time to read all the history above09:14
mithroshorne: Oh, I think i've fixed the openocd static linking, you shouldn't need the libftdi link anymore09:14
shorneShould I try the latest repo version of everything on arty again?09:15
shornemithro: cool, that will be helpful09:15
shorneI think ill have time to play with the fpga a bit later tonight09:15
shorne~3 hrs from now, got to go now09:16
*** CarlFK has quit IRC09:54
*** Joelw has quit IRC09:55
*** shenki has quit IRC09:55
*** Joelw has joined #timvideos09:55
*** shenki has joined #timvideos09:57
*** ChanServ sets mode: +v shenki09:57
*** hobbes- has quit IRC09:57
*** bunnie has quit IRC10:03
*** springermac has quit IRC10:03
*** bunnie has joined #timvideos10:03
*** springermac has joined #timvideos10:03
*** hobbes- has joined #timvideos10:03
*** hobbes- has quit IRC10:12
*** hobbes- has joined #timvideos10:12
*** shenki has quit IRC10:21
*** shenki has joined #timvideos10:21
*** ChanServ sets mode: +v shenki10:21
_florent_cr1901_modern:  where do we have the clk*2.5 part?11:48
*** CarlFK has joined #timvideos12:10
*** ChanServ sets mode: +v CarlFK12:10
*** jwhitmore has joined #timvideos12:47
*** tsglove2 has quit IRC12:51
*** aps has joined #timvideos13:23
*** tsglove has joined #timvideos13:49
*** tsglove2 has joined #timvideos15:38
*** tsglove has quit IRC15:40
*** tsglove3 has joined #timvideos15:45
*** tsglove2 has quit IRC15:48
*** tsglove2 has joined #timvideos15:50
*** tsglove3 has quit IRC15:52
*** tsglove3 has joined #timvideos15:53
*** tsglove2 has quit IRC15:55
*** tsglove2 has joined #timvideos15:56
*** tsglove3 has quit IRC16:00
*** tsglove3 has joined #timvideos16:09
*** tsglove2 has quit IRC16:10
*** tsglove2 has joined #timvideos16:11
*** jwhitmore has quit IRC16:13
*** tsglove3 has quit IRC16:15
*** tsglove3 has joined #timvideos16:33
*** tsglove2 has quit IRC16:36
*** tsglove2 has joined #timvideos16:44
*** tsglove2 has quit IRC16:46
*** tsglove2 has joined #timvideos16:46
*** tsglove3 has quit IRC16:47
tumbleweedmithro: so, retried this build a couple of times, and it's taking MANY hours. I assume that's not a good sign...16:52
tumbleweedI guess I need to pick another testing point16:52
tumbleweedCarlFK[m]: I'm trying to find where atlys video streaming broke16:52
CarlFK[m]hurry up :p16:53
CarlFK[m]tumbleweed (IRC): it just stopped building, right ?16:53
tumbleweedit hasn't worked in any build in the prebuilt repo, since the nextgen branch was merged (0.0.3 era)16:54
CarlFK[m]ps - I am getting some contracotrs started replacing air heater and water heater16:54
tumbleweedso I'm trying to find some in-between points to test, to see where it broke16:54
CarlFK[m]"hasn't worked" means there is something there, but loading = broken, right?16:55
CarlFK[m]my memory from July? was there wasn't even a dir for files to be in.  but ... um.. im sure you can figure that out, doesn' tmatter what my pea brain is thinking16:56
tumbleweedhttps://github.com/timvideos/HDMI2USB-litex-firmware/issues/347 - everything is fine except video over USB16:56
tpbTitle: USB streaming is corrupted on Atlys · Issue #347 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)16:56
CarlFK[m]I have some python to walk the file system, flash, hit the console port? and log the version (or lack of version like when it won't boot)16:57
CarlFK[m]might be good for looking for when streaming broke16:57
tumbleweedsadly there are no prebuilt builds for this16:58
tumbleweedso, getting builds is the first hurdle, and I'm failing at that...16:58
CarlFK[m]I can make that happen in an hour or so16:58
tumbleweedI think something was royally borked on the commit I'm testing - time to try another one...16:59
CarlFK[m]ah.. that's what I was thinking17:01
CarlFK[m]g2g - good luck17:02
*** tsglove2 has quit IRC17:39
CarlFK[m]tumbleweed (IRC): back - anything I can do?18:27
tumbleweednot right now, waiting on a build... But if one succeeds, I may give it to you to play with18:28
CarlFK[m]mithro (IRC): did the  ./download-env.sh fix get merged ?19:57
mithroCarlFK: not yet, turns out I can't code :-P19:58
CarlFK[m]lol - I see :p19:58
mithroYay CI!20:00
mithroCarlFK: merged now20:19
tumbleweedmithro: so, the reason there were no 0.0.3 builds before 600-ish was that there were about 600 commits in this nextgen merge: 16341a121:12
tumbleweedand its parent (0b07d30) seems to have a completely broken build system21:12
mithrotumbleweed: yeah - we also didn't use to build the nextgen branch either21:12
tumbleweedI poked at it for a bit, and couldn't get it to build21:13
tumbleweedgood news though, 16341a1 does build21:13
tumbleweedCarlFK[m]: can you try an image for me?21:13
CarlFK[m]tumbleweed (IRC): sure21:14
CarlFK[m]Atlys, right?21:14
tumbleweedyeah21:14
tumbleweedCarlFK[m]: https://corelli.tumbleweed.org.za/stefanor/tmp/atlys-16341a1/21:16
tpbTitle: Index of /stefanor/tmp/atlys-16341a1 (at corelli.tumbleweed.org.za)21:16
tumbleweedload top.bit + firmware.bin or flash top.bin + firmware.fbi21:17
tumbleweedmithro: did you say firmware flashing was broken for older builds because of reorg?21:17
mithrotumbleweed: https://github.com/timvideos/HDMI2USB-mode-switch/commit/a17ef658ff5bc9890dbcf8d36ad491cf777e4a0221:18
tpbTitle: Fix the location flashing firmware too. · timvideos/HDMI2USB-mode-switch@a17ef65 · GitHub (at github.com)21:18
tumbleweedI'm guessing at this point we're using mimasv2 already?21:21
tumbleweedit contains the commit "Adding MimasV2." (af596488)21:21
*** CarlFK has quit IRC21:31
cr1901_modern_florent_: Output from the PLL is where the 2.5*clk comes from I think21:58
CarlFK[m]ok I have atlys with old timvidoe.us logo, no version22:01
*** CarlFK has joined #timvideos22:02
*** ChanServ sets mode: +v CarlFK22:02
CarlFK[m]https://github.com/timvideos/HDMI2USB-mode-switch  Run make conda to setup a conda environment with everything you need, good for development and testing.23:29
tpbTitle: GitHub - timvideos/HDMI2USB-mode-switch: Tool for switching boards supported by HDMI2USB firmware between multiple different modes (programming, webcam, etc). (at github.com)23:29
CarlFK[m]this is what I should be using right?23:29
tumbleweedor apt install it23:30
mithroCarlFK[m]: If you are just using it, you shouldn't need the conda environment - that is only needed if you are developing it23:45
CarlFK[m]'oh'23:45
mithroCarlFK[m]: But you *should* be developing it23:46

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