Wednesday, 2018-09-19

*** tpb has joined #timvideos00:00
*** lexano has joined #timvideos00:10
*** CarlFK has quit IRC00:42
cr1901_modernmithro: When do you leave for Poland tomorrow?00:47
mithrocr1901_modern: Noon!00:47
cr1901_modernmithro: Let's get my PR merged before then and gauge how difficult the micropython port is, is that okay?00:47
mithrocr1901_modern: I'm hoping https://travis-ci.org/timvideos/litex-buildenv/builds/430312910 can be merged first00:48
mithrocr1901_modern: That is the submodule changes00:49
cr1901_modernRight, I updated the litex submodule in my PR for you, but merging in your changes (or rebasing on top) shouldn't be too difficult00:50
mithrocr1901_modern: I'd like to seperate the submodule update from your merge -- that should also mean we get nextpnr00:51
mithrocr1901_modern: So you don't get blamed for breaking things ;-)00:54
cr1901_modernHah...00:55
cr1901_modernWell, I'll merge in your changes when it's ready; I don't think a rebase is going to work since I updated the litex submodule manually before your PR, and rebasing on top will destroy your submodule updates on litex00:56
cr1901_modernIn the meantime I guess I'll start working on getting arty into litex-buildenv00:57
*** Tyrael has joined #timvideos00:58
cr1901_modernmithro: That okay w/ you? ^^ You don't mind looking over two PRs from me at once :)?01:00
mithroarty? Arty-S7?01:00
cr1901_moderna7 and s701:01
cr1901_modernoh wait... a7 is already there01:01
cr1901_modernso yes, s701:01
*** Tyrael has quit IRC01:01
mithroSure!01:02
mithrocr1901_modern: Module upgrade is going okay so far... https://travis-ci.org/timvideos/litex-buildenv/builds/43031291001:03
cr1901_modernAt some point we are gonna run into the 200 job limit methinks :)01:04
cr1901_modernmithro: Looks like I forgot to make a PR for litex for something :(01:08
mithrocr1901_modern: Oh?01:08
cr1901_modernFor RISC-V testing, Litex will need to have the submodule VexRiscv-verilog updated to: d7bbc2c01:09
cr1901_modernWhich it is on my private tree, but I never made a PR for it01:09
*** tac-tics_ has quit IRC01:38
mithrocr1901_modern: All green! So going to merge the submodule updates01:39
synaption[m]Hey all.  I have a quick random FPGA question if anybody want's to chime in.  Is vivado backwards compatible.  I feel like I have had problems running projects I find online that were made on older versions, but some people have expressed that this should not be the case leading me to believe that it's user error on my part.  Any ideas?01:40
*** hozer has joined #timvideos01:41
synaption[m]Digilent specifically claims to support specific versions. for example01:43
synaption[m]https://reference.digilentinc.com/reference/software/sdsoc/start?redirect=1#revision_platforms01:43
tpbTitle: SDSoC Platforms [Reference.Digilentinc] (at reference.digilentinc.com)01:43
mithrosynaption[m]: Its suppose to be backwards compatible, but people always seem to have issues01:45
cr1901_modernmithro: Excellent01:45
mithrocr1901_modern: Merged!01:46
cr1901_modernmithro: Testing my updates to litex now01:46
synaption[m]thanks, also "merging" "Litex"!? sounds exciting01:47
mithrosynaption[m]: Do you know about https://github.com/timvideos/litex-buildenv/wiki ?01:49
tpbTitle: Home · timvideos/litex-buildenv Wiki · GitHub (at github.com)01:49
mithrosynaption[m]: How did you end up in this channel? Are you one of CarlFK[m]'s FPGA group?01:50
*** CarlFK has joined #timvideos01:51
*** ChanServ sets mode: +v CarlFK01:51
mithrospeak of the devil :-P01:51
CarlFKI think that's bob from gsoc and ps101:52
CarlFKmatrix on my phone goes buz when I'm nicked01:52
CarlFKtyping on my phone however .. bugs me.01:53
synaption[m]thats me01:57
synaption[m]hi01:57
*** CarlFK has quit IRC01:57
synaption[m]I don't think I have spelunked that particular github page, but I'm aware of Litex and a few of its many intricacies.01:59
synaption[m]actually wanting to play with the Litex PCI bus is one of the reasons I'm trying to migrate my vivado stuff over from windows to ubuntu, but it seems as though installing the most up to date 2018.2 version was a foolish mistake on my part since everything seems to support 2017.402:02
cr1901_modernmithro: Still testing my PR to litex. If this works, I can go ahead and test riscv for tinyfpga in litex-buildenv as well02:13
cr1901_modernMight as well while I'm poking around02:13
mithrocr1901_modern: Your change is lm32 for tinyfpga_bx?02:20
cr1901_modernmithro: The PR as it stands on Github, right now, is for lm32 only. I didn't finish all the machinery to test vexriscv yet, but am close to doing so02:21
mithrocr1901_modern: Okay, so we should still merge it, right?02:21
cr1901_modernNot yet, b/c I haven't tested your new commits/merged it yet :)02:22
cr1901_modernI guess you'd rather get lm32 working in this PR, and I can submit riscv separately?02:22
mithrocr1901_modern: Can I push the rebase to your pull request?02:23
cr1901_modernmithro: If you've already done it, go for it02:25
mithrocr1901_modern: Pushing02:25
mithrocr1901_modern: Done!02:25
cr1901_modernOkay will pull in a second, need to stash02:26
synaption[m]is it a boy or a girl02:26
* cr1901_modern glares at synaption[m]02:26
cr1901_modernmithro: https://github.com/timvideos/litex-buildenv/pull/55#discussion_r216706553 This is resolved I think02:30
tpbTitle: Add TinyFPGA BX Platform by cr1901 · Pull Request #55 · timvideos/litex-buildenv · GitHub (at github.com)02:30
cr1901_modernhttps://github.com/timvideos/litex-buildenv/pull/55/files/3f691e817cb7be802b760646ff84a572ee8e28d9#diff-e9b12939307ee186a1ba3c0410311e6f I think thise should wait until ewen's fixes02:30
cr1901_modernthese* even02:31
*** CarlFK has joined #timvideos02:31
*** ChanServ sets mode: +v CarlFK02:31
cr1901_modernyea, risc-v is gonna have to be a separate PR- can't get it to work right now :P02:36
cr1901_modernmithro: Does litex-buildenv _not_ install its own binaries if it finds certain binaries already on your path?02:48
cr1901_modernI just noticed- I already have my own copies of yosys, nextpnr, in ~/.local/bin on my Linux box. . ./scripts/enter-env.sh happily uses them, but doesn't indicate whether they were found or not02:49
mithrocr1901_modern: I'm working on that right now02:49
cr1901_modernWell, _is_ there a way to override it so you can use your own binaries :P?02:49
cr1901_modern(Just wondering)02:50
mithrocr1901_modern: Not really set up for that...02:50
mithroBut I mean it does look for things in the path...02:50
cr1901_modernAhhh right: https://github.com/timvideos/litex-buildenv/blob/master/scripts/enter-env.sh#L14902:52
tpbTitle: litex-buildenv/enter-env.sh at master · timvideos/litex-buildenv · GitHub (at github.com)02:52
mithrohttps://github.com/timvideos/litex-buildenv/pull/55/commits/91e7506dcb5319318bd09005676165fbfc7d4bc402:58
tpbTitle: Add TinyFPGA BX Platform by cr1901 · Pull Request #55 · timvideos/litex-buildenv · GitHub (at github.com)02:58
cr1901_modernmithro: Disregard my question, I think everything is working normally; the download-env and enter-env scripts don't account for toolchains other than Xilinx yet02:58
cr1901_modernmithro: Need to install tinyprog python2 module as well :)02:59
synaption[m]hrmmm, after begrudginly installing 2017.4, I'm still having my same issue.  This is what my life has become...02:59
cr1901_modernBut yes, this is good work :D02:59
cr1901_modernmithro: http://ix.io/1n0c sed: -e expression #2, char 14: unknown option to `s' :)03:06
mithrocr1901_modern: Yep, just fixing now03:06
cr1901_moderntinyfpga: Is there any possiblity tinyprog can run on python3 so it can be integrated into litex-buildenv's conda environment?03:07
mithroLooks like the nextpnr package is broken....03:13
cr1901_modernI'll try it on my end03:17
mithrocr1901_modern: It's installed to the wrong location03:18
cr1901_modern-DCMAKE_INSTALL_PREFIX=whatever_conda_expects03:19
*** andi-m has quit IRC03:20
*** andi-m has joined #timvideos03:22
cr1901_modernFortunately, I didn't manage to install it on my local machine b/c the sed script is still buggy :D03:22
cr1901_modernerr s/script/command/03:22
mithrocr1901_modern: Try now03:24
cr1901_moderndid you rebuild nextpnr?03:25
mithroWorking on it03:25
mithrocr1901_modern: https://travis-ci.org/mithro/litex-buildenv/jobs/43034520403:27
cr1901_modernCool!03:29
cr1901_modernwe're getting close :D03:29
cr1901_modernhttps://github.com/timvideos/litex-buildenv/pull/55/files#diff-47e31f3a77db15e74d1194a5b61ce02dR331 mithro: Bikeshed suggestion... perhaps make a line that says "echo: Getting platform info..." or similar above this line?03:35
tpbTitle: Add TinyFPGA BX Platform by cr1901 · Pull Request #55 · timvideos/litex-buildenv · GitHub (at github.com)03:35
cr1901_modernNot now of course. But it confused me and I thought it was part of the openocd install output for a sec :P03:35
*** rohitksingh_work has joined #timvideos03:44
cr1901_modernhttps://travis-ci.org/mithro/litex-buildenv/jobs/430345214#L3448 I wonder what happened here ._.?03:56
mithrocr1901_modern: It was already broken03:59
cr1901_modernI see... well, once nextpnr is ready, I can do some final testing04:20
cr1901_modernmithro: Let me know when nextpnr is updated please04:36
*** futarisIRCcloud has joined #timvideos04:46
*** rohitksingh_work has quit IRC05:14
cr1901_modernmithro: Did you do a force push about 40 mins ago to my PR branch?07:24
*** puck_ has quit IRC08:14
*** puck_ has joined #timvideos08:17
*** jimmy__ has joined #timvideos08:41
*** jimmy__ has quit IRC08:45
*** mauz555 has joined #timvideos08:45
*** ewen has joined #timvideos09:17
ewencr1901_modern: FYI, tinyprog should run okay under Python 3.5+ (and IIRC litex-buildenv currently uses Python 3.6).  Eg, https://tinyfpga.com/bx/guide.html recommends users install Python 3.6.  And I did get it to run with Python 3.5 on Ubuntu 16.04 LTS.09:19
tpbTitle: TinyFPGA BX User Guide (at tinyfpga.com)09:19
cr1901_modernOh nevermind then09:20
cr1901_modernsome of the programmers (tinyfpga_a) are only python209:20
ewencr1901_modern: I'm not 100% sure how tinyprog is being installed into litex-buildenv.  It's possible it's got, eg, #! /usr/bin/python at the top of it by default, which probably makes it run under python2.  But I think in theory it'd be fine if that were swapped with path to the conda python3 install of litex-buildenv09:24
*** futarisIRCcloud has quit IRC09:25
*** ewen has quit IRC10:11
*** rohitksingh_work has joined #timvideos10:32
*** tactics__ has joined #timvideos11:18
*** tactics has quit IRC11:21
*** fitzsim has quit IRC11:26
*** mauz555 has quit IRC11:31
*** rohitksingh_work has quit IRC11:44
*** rohitksingh_work has joined #timvideos11:47
*** fitzsim has joined #timvideos11:52
*** rohitksingh_work has quit IRC12:00
*** mauz555 has joined #timvideos12:31
mauz555I loaded LiteX vexriscv Gateware on my Arty A7, I'm able to access the BIOS via UART. I'd like to boot Linux on it, im looking for a way to upload (rv32 compiled) vmlinux on the SPI FLASH14:26
*** rohitksingh has joined #timvideos14:40
CarlFKmauz555: do you know about https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf#try-downloading-and-building-linux-for-openrisc-100015:21
tpbTitle: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com)15:21
mauz555CarlFK: interesting, this wiki is a goldmine many thanks15:23
CarlFKmauz555: bam.  start from the top, post here the moment something seems odd15:27
CarlFKit worked a year ago, libc changes broke a bunch of it, we have been fixing things, they may all be fixed, but maybe not15:28
CarlFKalso the fixes may not have landed in the repo's listed15:28
*** rohitksingh has quit IRC15:54
*** rohitksingh has joined #timvideos16:00
cr1901_modernmithro: nextpnr still appears to be installing itself in the wrong place... ahh well16:01
mithrocr1901_modern: It seems to have installed in the right place here -> https://travis-ci.org/timvideos/conda-hdmi2usb-packages/jobs/43038422816:10
cr1901_modernOn my machine it installed into build/conda/usr/bin16:14
cr1901_modernis that the correct directory?16:14
cr1901_modernmithro: I think the correct prefix should be -DCMAKE_INSTALL_PREFIX=$PREFIX16:16
cr1901_modernor ${PREFIX}, like it's done w/ VTR: https://github.com/timvideos/conda-hdmi2usb-packages/blob/2d4d8c16c72309e7d96521f53914084e42421137/vtr/build.sh#L1116:17
tpbTitle: conda-hdmi2usb-packages/build.sh at 2d4d8c16c72309e7d96521f53914084e42421137 · timvideos/conda-hdmi2usb-packages · GitHub (at github.com)16:17
mithrohrm...16:17
cr1901_modernmithro: I'm trying to make a valiant effort to get this merged before you have to leave :)16:20
mithroYeah16:20
mithroStill a couple of hours :-P16:20
cr1901_modernAny chance you could rebuild nextpnr w/ ${PREFIX} as the install prefix?16:21
mithrocr1901_modern: Already on it16:21
cr1901_modernAfter this is merged, I'm taking a nice nap16:22
cr1901_modernI've actually earned it today16:22
mithrocr1901_modern: Build should be at https://travis-ci.org/timvideos/conda-hdmi2usb-packages/jobs/43062653716:24
cr1901_modernI hope ${PREFIX} always maps to "/"...16:27
mithrocr1901_modern: See the DESTDIR in the make install16:28
mithroI'm very close to getting the cross compilers to be green again -> https://travis-ci.org/mithro/conda-hdmi2usb-packages/builds/43037511616:28
cr1901_modernI should consider looking into getting appveyor working16:29
cr1901_modernmithro: Did you just cancel my build for PR #55?16:33
mithrocr1901_modern: Probably16:34
mithrocr1901_modern: Cancelled anything which I thought was blocking the nextpnr build16:35
mithrobrb - Just arrived at the airport, will be back from the lounge16:37
cr1901_modernahhh cool16:37
cr1901_modernahhh, IRC on the go16:37
cr1901_modernhttps://travis-ci.org/timvideos/conda-hdmi2usb-packages/jobs/430628778#L1080 Oops :P16:48
cr1901_modernmithro: Fatigue is setting in. Be back in 30 mins after recharging16:49
mithrocr1901_modern: no worries!16:49
CarlFKmithro: would it help if I ran test builds here?   to augment the CI builds16:51
CarlFKwhatever augment means :p16:51
CarlFKmithro: if there are errors, it will be easier to debug, right ?16:52
*** initself_ has joined #timvideos16:56
*** initself_ has quit IRC17:01
*** rohitksingh has quit IRC17:03
mauz555CarlFK: https://pastebin.com/qttje3yK17:04
tpbTitle: Possible Spam Detected (at pastebin.com)17:04
mauz555CarlFK: when using TARGET=vexriscv  'binutils-riscv32-unknown-elf=2.28' is missing in the conda repo17:04
CarlFKmithro: mauz555 got PackagesNotFoundError: The following packages are not available from current channels:     - binutils-riscv32-unknown-elf=2.2817:05
CarlFKmauz555: target vexriscv ?17:05
mauz555CarlFK: I'd like to run linux kernel on a different LiteX base SoC (RISCV ISA compatible)17:06
CarlFKmauz555: you should get through that page the way it says first17:07
CarlFKmithro: ignore me17:07
mithrocr1901_modern: That seems to have built...17:10
cr1901_modernmithro: Yup, installing now and seeing what happens17:17
cr1901_modernif it works locally, then I'll restart the conda build17:17
cr1901_modernhttp://ix.io/1n39 Aaaand of course it won't be that simplre17:18
cr1901_modernEver see an error like this?17:19
*** rohitksingh has joined #timvideos17:19
cr1901_modernpython 3.6 apparently wants readline=6.217:23
* cr1901_modern sighs17:23
cr1901_modernmithro: I don't think this is getting done before your flight :(.17:23
mithroI should have wifi on my flight17:24
*** tac-tics_ has joined #timvideos17:25
cr1901_modernmithro: Unfortunately, I really do need to take a break. I wasn't counting on conda woes :P. And btw, moving build/conda and starting over has the same issue17:28
mithrocr1901_modern: If it builds with your own version of nextpnr-ice40 then I'll fix the conda issues17:28
cr1901_modernhttp://ix.io/1n3f17:29
mithrocr1901_modern: Yeah17:31
cr1901_modernmithro: yosys all of a sudden depends on libreadline.so.7, and conda installed libreadline.so.617:32
cr1901_modernso I can't use the conda yosys either17:33
cr1901_modernmithro: Running with my own copies of yosys and nextpnr works fine17:35
*** CarlFK has quit IRC17:35
*** CarlFK has joined #timvideos17:36
*** ChanServ sets mode: +v CarlFK17:36
*** OGF26 has joined #timvideos17:37
cr1901_modernmithro: is disabling readline a good idea? I thought we want that. I just can't get conda to install the C readline library17:43
mithrocr1901_modern: In our flow nobody uses the tools interactively17:43
cr1901_modernTrue... also I can't seem to figure out whether readline refers to the python package or the C library17:43
cr1901_modernconda can't seem to make up it's damn mind17:44
* tac-tics_ wonders why Anaconda needs to be a thing.17:48
cr1901_modernmithro: I'll try in an hour or so... need to take a nap for real, sorry :(17:48
mithrocr1901_modern: No worries17:49
*** rohitksingh has quit IRC17:49
*** japhir has joined #timvideos17:54
*** japhir has quit IRC17:55
CarlFKtac-tics_: Anaconda is a cross platform package manager.  they all have different features.  it might be the best choice.18:08
mithrocr1901_modern: https://travis-ci.org/timvideos/litex-buildenv/jobs/43061735518:28
mithrocr1901_modern: nextpnr seems to have installed and I'm not on my plane yet...18:28
mithrocr1901_modern: nextpnr-ice40 found at /home/travis/build/timvideos/litex-buildenv/build/conda/bin/nextpnr-ice4018:29
*** freeway has joined #timvideos18:55
*** freeway is now known as Guest2019818:55
*** Guest20198 has quit IRC18:59
*** rohitksingh has joined #timvideos19:00
*** rohitksingh has quit IRC19:04
mithroNow yosys hates us :-(19:11
*** soleblaze14 has joined #timvideos19:33
*** soleblaze14 has quit IRC19:35
xobsSuch messages. Trying to set up a builder for CI purposes?19:53
*** mauz555 has quit IRC20:24
mithroxobs: Yes, yosys+nextpnr flow for tinyfpga-bx board20:25
mithrocr1901_modern: https://travis-ci.org/timvideos/litex-buildenv/jobs/430682288 \o/20:48
mithroThe following builds succeeded20:49
mithro=============================================20:49
mithrotinyfpga_bx base lm32.lite stub20:49
mithrocr1901_modern: Didn't beat my flight - but it got there in the end!20:51
*** peder29 has joined #timvideos21:08
*** peder29 has quit IRC21:10
*** Guest84277 has joined #timvideos21:11
*** Guest84277 has quit IRC21:13
mithrobe back in a bit, eating some food!21:27
*** CarlFK has quit IRC21:54
*** CarlFK has joined #timvideos22:05
*** ChanServ sets mode: +v CarlFK22:05
* tac-tics_ takes voice from CarlFK 22:51
* CarlFK goes to PS1 where i will not be silenced 23:19
*** CarlFK has quit IRC23:29
mithrocr1901_modern: Could you write up tutorial for the tinyfpga-bx like the other ones on the wiki?23:41
mithrocr1901_modern: https://github.com/timvideos/litex-buildenv/wiki/HowTo-FuPy-on-a-Digilent-Arty-A723:41
tpbTitle: HowTo FuPy on a Digilent Arty A7 · timvideos/litex-buildenv Wiki · GitHub (at github.com)23:41
*** alexbligh1 has joined #timvideos23:43
*** alexbligh1 has quit IRC23:44
*** tac-tics_ has quit IRC23:46

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