*** tpb has joined #timvideos | 00:00 | |
*** lexano has joined #timvideos | 00:10 | |
*** CarlFK has quit IRC | 00:42 | |
cr1901_modern | mithro: When do you leave for Poland tomorrow? | 00:47 |
---|---|---|
mithro | cr1901_modern: Noon! | 00:47 |
cr1901_modern | mithro: Let's get my PR merged before then and gauge how difficult the micropython port is, is that okay? | 00:47 |
mithro | cr1901_modern: I'm hoping https://travis-ci.org/timvideos/litex-buildenv/builds/430312910 can be merged first | 00:48 |
mithro | cr1901_modern: That is the submodule changes | 00:49 |
cr1901_modern | Right, I updated the litex submodule in my PR for you, but merging in your changes (or rebasing on top) shouldn't be too difficult | 00:50 |
mithro | cr1901_modern: I'd like to seperate the submodule update from your merge -- that should also mean we get nextpnr | 00:51 |
mithro | cr1901_modern: So you don't get blamed for breaking things ;-) | 00:54 |
cr1901_modern | Hah... | 00:55 |
cr1901_modern | Well, 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 litex | 00:56 |
cr1901_modern | In the meantime I guess I'll start working on getting arty into litex-buildenv | 00:57 |
*** Tyrael has joined #timvideos | 00:58 | |
cr1901_modern | mithro: That okay w/ you? ^^ You don't mind looking over two PRs from me at once :)? | 01:00 |
mithro | arty? Arty-S7? | 01:00 |
cr1901_modern | a7 and s7 | 01:01 |
cr1901_modern | oh wait... a7 is already there | 01:01 |
cr1901_modern | so yes, s7 | 01:01 |
*** Tyrael has quit IRC | 01:01 | |
mithro | Sure! | 01:02 |
mithro | cr1901_modern: Module upgrade is going okay so far... https://travis-ci.org/timvideos/litex-buildenv/builds/430312910 | 01:03 |
cr1901_modern | At some point we are gonna run into the 200 job limit methinks :) | 01:04 |
cr1901_modern | mithro: Looks like I forgot to make a PR for litex for something :( | 01:08 |
mithro | cr1901_modern: Oh? | 01:08 |
cr1901_modern | For RISC-V testing, Litex will need to have the submodule VexRiscv-verilog updated to: d7bbc2c | 01:09 |
cr1901_modern | Which it is on my private tree, but I never made a PR for it | 01:09 |
*** tac-tics_ has quit IRC | 01:38 | |
mithro | cr1901_modern: All green! So going to merge the submodule updates | 01: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 #timvideos | 01:41 | |
synaption[m] | Digilent specifically claims to support specific versions. for example | 01:43 |
synaption[m] | https://reference.digilentinc.com/reference/software/sdsoc/start?redirect=1#revision_platforms | 01:43 |
tpb | Title: SDSoC Platforms [Reference.Digilentinc] (at reference.digilentinc.com) | 01:43 |
mithro | synaption[m]: Its suppose to be backwards compatible, but people always seem to have issues | 01:45 |
cr1901_modern | mithro: Excellent | 01:45 |
mithro | cr1901_modern: Merged! | 01:46 |
cr1901_modern | mithro: Testing my updates to litex now | 01:46 |
synaption[m] | thanks, also "merging" "Litex"!? sounds exciting | 01:47 |
mithro | synaption[m]: Do you know about https://github.com/timvideos/litex-buildenv/wiki ? | 01:49 |
tpb | Title: Home · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 01:49 |
mithro | synaption[m]: How did you end up in this channel? Are you one of CarlFK[m]'s FPGA group? | 01:50 |
*** CarlFK has joined #timvideos | 01:51 | |
*** ChanServ sets mode: +v CarlFK | 01:51 | |
mithro | speak of the devil :-P | 01:51 |
CarlFK | I think that's bob from gsoc and ps1 | 01:52 |
CarlFK | matrix on my phone goes buz when I'm nicked | 01:52 |
CarlFK | typing on my phone however .. bugs me. | 01:53 |
synaption[m] | thats me | 01:57 |
synaption[m] | hi | 01:57 |
*** CarlFK has quit IRC | 01: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.4 | 02:02 |
cr1901_modern | mithro: Still testing my PR to litex. If this works, I can go ahead and test riscv for tinyfpga in litex-buildenv as well | 02:13 |
cr1901_modern | Might as well while I'm poking around | 02:13 |
mithro | cr1901_modern: Your change is lm32 for tinyfpga_bx? | 02:20 |
cr1901_modern | mithro: 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 so | 02:21 |
mithro | cr1901_modern: Okay, so we should still merge it, right? | 02:21 |
cr1901_modern | Not yet, b/c I haven't tested your new commits/merged it yet :) | 02:22 |
cr1901_modern | I guess you'd rather get lm32 working in this PR, and I can submit riscv separately? | 02:22 |
mithro | cr1901_modern: Can I push the rebase to your pull request? | 02:23 |
cr1901_modern | mithro: If you've already done it, go for it | 02:25 |
mithro | cr1901_modern: Pushing | 02:25 |
mithro | cr1901_modern: Done! | 02:25 |
cr1901_modern | Okay will pull in a second, need to stash | 02:26 |
synaption[m] | is it a boy or a girl | 02:26 |
* cr1901_modern glares at synaption[m] | 02:26 | |
cr1901_modern | mithro: https://github.com/timvideos/litex-buildenv/pull/55#discussion_r216706553 This is resolved I think | 02:30 |
tpb | Title: Add TinyFPGA BX Platform by cr1901 · Pull Request #55 · timvideos/litex-buildenv · GitHub (at github.com) | 02:30 |
cr1901_modern | https://github.com/timvideos/litex-buildenv/pull/55/files/3f691e817cb7be802b760646ff84a572ee8e28d9#diff-e9b12939307ee186a1ba3c0410311e6f I think thise should wait until ewen's fixes | 02:30 |
cr1901_modern | these* even | 02:31 |
*** CarlFK has joined #timvideos | 02:31 | |
*** ChanServ sets mode: +v CarlFK | 02:31 | |
cr1901_modern | yea, risc-v is gonna have to be a separate PR- can't get it to work right now :P | 02:36 |
cr1901_modern | mithro: Does litex-buildenv _not_ install its own binaries if it finds certain binaries already on your path? | 02:48 |
cr1901_modern | I 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 not | 02:49 |
mithro | cr1901_modern: I'm working on that right now | 02:49 |
cr1901_modern | Well, _is_ there a way to override it so you can use your own binaries :P? | 02:49 |
cr1901_modern | (Just wondering) | 02:50 |
mithro | cr1901_modern: Not really set up for that... | 02:50 |
mithro | But I mean it does look for things in the path... | 02:50 |
cr1901_modern | Ahhh right: https://github.com/timvideos/litex-buildenv/blob/master/scripts/enter-env.sh#L149 | 02:52 |
tpb | Title: litex-buildenv/enter-env.sh at master · timvideos/litex-buildenv · GitHub (at github.com) | 02:52 |
mithro | https://github.com/timvideos/litex-buildenv/pull/55/commits/91e7506dcb5319318bd09005676165fbfc7d4bc4 | 02:58 |
tpb | Title: Add TinyFPGA BX Platform by cr1901 · Pull Request #55 · timvideos/litex-buildenv · GitHub (at github.com) | 02:58 |
cr1901_modern | mithro: Disregard my question, I think everything is working normally; the download-env and enter-env scripts don't account for toolchains other than Xilinx yet | 02:58 |
cr1901_modern | mithro: 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_modern | But yes, this is good work :D | 02:59 |
cr1901_modern | mithro: http://ix.io/1n0c sed: -e expression #2, char 14: unknown option to `s' :) | 03:06 |
mithro | cr1901_modern: Yep, just fixing now | 03:06 |
cr1901_modern | tinyfpga: Is there any possiblity tinyprog can run on python3 so it can be integrated into litex-buildenv's conda environment? | 03:07 |
mithro | Looks like the nextpnr package is broken.... | 03:13 |
cr1901_modern | I'll try it on my end | 03:17 |
mithro | cr1901_modern: It's installed to the wrong location | 03:18 |
cr1901_modern | -DCMAKE_INSTALL_PREFIX=whatever_conda_expects | 03:19 |
*** andi-m has quit IRC | 03:20 | |
*** andi-m has joined #timvideos | 03:22 | |
cr1901_modern | Fortunately, I didn't manage to install it on my local machine b/c the sed script is still buggy :D | 03:22 |
cr1901_modern | err s/script/command/ | 03:22 |
mithro | cr1901_modern: Try now | 03:24 |
cr1901_modern | did you rebuild nextpnr? | 03:25 |
mithro | Working on it | 03:25 |
mithro | cr1901_modern: https://travis-ci.org/mithro/litex-buildenv/jobs/430345204 | 03:27 |
cr1901_modern | Cool! | 03:29 |
cr1901_modern | we're getting close :D | 03:29 |
cr1901_modern | https://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 |
tpb | Title: Add TinyFPGA BX Platform by cr1901 · Pull Request #55 · timvideos/litex-buildenv · GitHub (at github.com) | 03:35 |
cr1901_modern | Not now of course. But it confused me and I thought it was part of the openocd install output for a sec :P | 03:35 |
*** rohitksingh_work has joined #timvideos | 03:44 | |
cr1901_modern | https://travis-ci.org/mithro/litex-buildenv/jobs/430345214#L3448 I wonder what happened here ._.? | 03:56 |
mithro | cr1901_modern: It was already broken | 03:59 |
cr1901_modern | I see... well, once nextpnr is ready, I can do some final testing | 04:20 |
cr1901_modern | mithro: Let me know when nextpnr is updated please | 04:36 |
*** futarisIRCcloud has joined #timvideos | 04:46 | |
*** rohitksingh_work has quit IRC | 05:14 | |
cr1901_modern | mithro: Did you do a force push about 40 mins ago to my PR branch? | 07:24 |
*** puck_ has quit IRC | 08:14 | |
*** puck_ has joined #timvideos | 08:17 | |
*** jimmy__ has joined #timvideos | 08:41 | |
*** jimmy__ has quit IRC | 08:45 | |
*** mauz555 has joined #timvideos | 08:45 | |
*** ewen has joined #timvideos | 09:17 | |
ewen | cr1901_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 |
tpb | Title: TinyFPGA BX User Guide (at tinyfpga.com) | 09:19 |
cr1901_modern | Oh nevermind then | 09:20 |
cr1901_modern | some of the programmers (tinyfpga_a) are only python2 | 09:20 |
ewen | cr1901_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-buildenv | 09:24 |
*** futarisIRCcloud has quit IRC | 09:25 | |
*** ewen has quit IRC | 10:11 | |
*** rohitksingh_work has joined #timvideos | 10:32 | |
*** tactics__ has joined #timvideos | 11:18 | |
*** tactics has quit IRC | 11:21 | |
*** fitzsim has quit IRC | 11:26 | |
*** mauz555 has quit IRC | 11:31 | |
*** rohitksingh_work has quit IRC | 11:44 | |
*** rohitksingh_work has joined #timvideos | 11:47 | |
*** fitzsim has joined #timvideos | 11:52 | |
*** rohitksingh_work has quit IRC | 12:00 | |
*** mauz555 has joined #timvideos | 12:31 | |
mauz555 | I 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 FLASH | 14:26 |
*** rohitksingh has joined #timvideos | 14:40 | |
CarlFK | mauz555: do you know about https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf#try-downloading-and-building-linux-for-openrisc-1000 | 15:21 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 15:21 |
mauz555 | CarlFK: interesting, this wiki is a goldmine many thanks | 15:23 |
CarlFK | mauz555: bam. start from the top, post here the moment something seems odd | 15:27 |
CarlFK | it worked a year ago, libc changes broke a bunch of it, we have been fixing things, they may all be fixed, but maybe not | 15:28 |
CarlFK | also the fixes may not have landed in the repo's listed | 15:28 |
*** rohitksingh has quit IRC | 15:54 | |
*** rohitksingh has joined #timvideos | 16:00 | |
cr1901_modern | mithro: nextpnr still appears to be installing itself in the wrong place... ahh well | 16:01 |
mithro | cr1901_modern: It seems to have installed in the right place here -> https://travis-ci.org/timvideos/conda-hdmi2usb-packages/jobs/430384228 | 16:10 |
cr1901_modern | On my machine it installed into build/conda/usr/bin | 16:14 |
cr1901_modern | is that the correct directory? | 16:14 |
cr1901_modern | mithro: I think the correct prefix should be -DCMAKE_INSTALL_PREFIX=$PREFIX | 16:16 |
cr1901_modern | or ${PREFIX}, like it's done w/ VTR: https://github.com/timvideos/conda-hdmi2usb-packages/blob/2d4d8c16c72309e7d96521f53914084e42421137/vtr/build.sh#L11 | 16:17 |
tpb | Title: conda-hdmi2usb-packages/build.sh at 2d4d8c16c72309e7d96521f53914084e42421137 · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 16:17 |
mithro | hrm... | 16:17 |
cr1901_modern | mithro: I'm trying to make a valiant effort to get this merged before you have to leave :) | 16:20 |
mithro | Yeah | 16:20 |
mithro | Still a couple of hours :-P | 16:20 |
cr1901_modern | Any chance you could rebuild nextpnr w/ ${PREFIX} as the install prefix? | 16:21 |
mithro | cr1901_modern: Already on it | 16:21 |
cr1901_modern | After this is merged, I'm taking a nice nap | 16:22 |
cr1901_modern | I've actually earned it today | 16:22 |
mithro | cr1901_modern: Build should be at https://travis-ci.org/timvideos/conda-hdmi2usb-packages/jobs/430626537 | 16:24 |
cr1901_modern | I hope ${PREFIX} always maps to "/"... | 16:27 |
mithro | cr1901_modern: See the DESTDIR in the make install | 16:28 |
mithro | I'm very close to getting the cross compilers to be green again -> https://travis-ci.org/mithro/conda-hdmi2usb-packages/builds/430375116 | 16:28 |
cr1901_modern | I should consider looking into getting appveyor working | 16:29 |
cr1901_modern | mithro: Did you just cancel my build for PR #55? | 16:33 |
mithro | cr1901_modern: Probably | 16:34 |
mithro | cr1901_modern: Cancelled anything which I thought was blocking the nextpnr build | 16:35 |
mithro | brb - Just arrived at the airport, will be back from the lounge | 16:37 |
cr1901_modern | ahhh cool | 16:37 |
cr1901_modern | ahhh, IRC on the go | 16:37 |
cr1901_modern | https://travis-ci.org/timvideos/conda-hdmi2usb-packages/jobs/430628778#L1080 Oops :P | 16:48 |
cr1901_modern | mithro: Fatigue is setting in. Be back in 30 mins after recharging | 16:49 |
mithro | cr1901_modern: no worries! | 16:49 |
CarlFK | mithro: would it help if I ran test builds here? to augment the CI builds | 16:51 |
CarlFK | whatever augment means :p | 16:51 |
CarlFK | mithro: if there are errors, it will be easier to debug, right ? | 16:52 |
*** initself_ has joined #timvideos | 16:56 | |
*** initself_ has quit IRC | 17:01 | |
*** rohitksingh has quit IRC | 17:03 | |
mauz555 | CarlFK: https://pastebin.com/qttje3yK | 17:04 |
tpb | Title: Possible Spam Detected (at pastebin.com) | 17:04 |
mauz555 | CarlFK: when using TARGET=vexriscv 'binutils-riscv32-unknown-elf=2.28' is missing in the conda repo | 17:04 |
CarlFK | mithro: mauz555 got PackagesNotFoundError: The following packages are not available from current channels: - binutils-riscv32-unknown-elf=2.28 | 17:05 |
CarlFK | mauz555: target vexriscv ? | 17:05 |
mauz555 | CarlFK: I'd like to run linux kernel on a different LiteX base SoC (RISCV ISA compatible) | 17:06 |
CarlFK | mauz555: you should get through that page the way it says first | 17:07 |
CarlFK | mithro: ignore me | 17:07 |
mithro | cr1901_modern: That seems to have built... | 17:10 |
cr1901_modern | mithro: Yup, installing now and seeing what happens | 17:17 |
cr1901_modern | if it works locally, then I'll restart the conda build | 17:17 |
cr1901_modern | http://ix.io/1n39 Aaaand of course it won't be that simplre | 17:18 |
cr1901_modern | Ever see an error like this? | 17:19 |
*** rohitksingh has joined #timvideos | 17:19 | |
cr1901_modern | python 3.6 apparently wants readline=6.2 | 17:23 |
* cr1901_modern sighs | 17:23 | |
cr1901_modern | mithro: I don't think this is getting done before your flight :(. | 17:23 |
mithro | I should have wifi on my flight | 17:24 |
*** tac-tics_ has joined #timvideos | 17:25 | |
cr1901_modern | mithro: 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 issue | 17:28 |
mithro | cr1901_modern: If it builds with your own version of nextpnr-ice40 then I'll fix the conda issues | 17:28 |
cr1901_modern | http://ix.io/1n3f | 17:29 |
mithro | cr1901_modern: Yeah | 17:31 |
cr1901_modern | mithro: yosys all of a sudden depends on libreadline.so.7, and conda installed libreadline.so.6 | 17:32 |
cr1901_modern | so I can't use the conda yosys either | 17:33 |
cr1901_modern | mithro: Running with my own copies of yosys and nextpnr works fine | 17:35 |
*** CarlFK has quit IRC | 17:35 | |
*** CarlFK has joined #timvideos | 17:36 | |
*** ChanServ sets mode: +v CarlFK | 17:36 | |
*** OGF26 has joined #timvideos | 17:37 | |
cr1901_modern | mithro: is disabling readline a good idea? I thought we want that. I just can't get conda to install the C readline library | 17:43 |
mithro | cr1901_modern: In our flow nobody uses the tools interactively | 17:43 |
cr1901_modern | True... also I can't seem to figure out whether readline refers to the python package or the C library | 17:43 |
cr1901_modern | conda can't seem to make up it's damn mind | 17:44 |
* tac-tics_ wonders why Anaconda needs to be a thing. | 17:48 | |
cr1901_modern | mithro: I'll try in an hour or so... need to take a nap for real, sorry :( | 17:48 |
mithro | cr1901_modern: No worries | 17:49 |
*** rohitksingh has quit IRC | 17:49 | |
*** japhir has joined #timvideos | 17:54 | |
*** japhir has quit IRC | 17:55 | |
CarlFK | tac-tics_: Anaconda is a cross platform package manager. they all have different features. it might be the best choice. | 18:08 |
mithro | cr1901_modern: https://travis-ci.org/timvideos/litex-buildenv/jobs/430617355 | 18:28 |
mithro | cr1901_modern: nextpnr seems to have installed and I'm not on my plane yet... | 18:28 |
mithro | cr1901_modern: nextpnr-ice40 found at /home/travis/build/timvideos/litex-buildenv/build/conda/bin/nextpnr-ice40 | 18:29 |
*** freeway has joined #timvideos | 18:55 | |
*** freeway is now known as Guest20198 | 18:55 | |
*** Guest20198 has quit IRC | 18:59 | |
*** rohitksingh has joined #timvideos | 19:00 | |
*** rohitksingh has quit IRC | 19:04 | |
mithro | Now yosys hates us :-( | 19:11 |
*** soleblaze14 has joined #timvideos | 19:33 | |
*** soleblaze14 has quit IRC | 19:35 | |
xobs | Such messages. Trying to set up a builder for CI purposes? | 19:53 |
*** mauz555 has quit IRC | 20:24 | |
mithro | xobs: Yes, yosys+nextpnr flow for tinyfpga-bx board | 20:25 |
mithro | cr1901_modern: https://travis-ci.org/timvideos/litex-buildenv/jobs/430682288 \o/ | 20:48 |
mithro | The following builds succeeded | 20:49 |
mithro | ============================================= | 20:49 |
mithro | tinyfpga_bx base lm32.lite stub | 20:49 |
mithro | cr1901_modern: Didn't beat my flight - but it got there in the end! | 20:51 |
*** peder29 has joined #timvideos | 21:08 | |
*** peder29 has quit IRC | 21:10 | |
*** Guest84277 has joined #timvideos | 21:11 | |
*** Guest84277 has quit IRC | 21:13 | |
mithro | be back in a bit, eating some food! | 21:27 |
*** CarlFK has quit IRC | 21:54 | |
*** CarlFK has joined #timvideos | 22:05 | |
*** ChanServ sets mode: +v CarlFK | 22:05 | |
* tac-tics_ takes voice from CarlFK | 22:51 | |
* CarlFK goes to PS1 where i will not be silenced | 23:19 | |
*** CarlFK has quit IRC | 23:29 | |
mithro | cr1901_modern: Could you write up tutorial for the tinyfpga-bx like the other ones on the wiki? | 23:41 |
mithro | cr1901_modern: https://github.com/timvideos/litex-buildenv/wiki/HowTo-FuPy-on-a-Digilent-Arty-A7 | 23:41 |
tpb | Title: HowTo FuPy on a Digilent Arty A7 · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 23:41 |
*** alexbligh1 has joined #timvideos | 23:43 | |
*** alexbligh1 has quit IRC | 23:44 | |
*** tac-tics_ has quit IRC | 23:46 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!