Sunday, 2021-01-24

*** tpb has joined #symbiflow00:00
*** gromero__ has quit IRC00:10
*** gromero__ has joined #symbiflow00:14
*** FFY00 has joined #symbiflow00:26
*** josi7 has joined #symbiflow00:31
*** join_subline has joined #symbiflow01:54
*** andrewb1999 has quit IRC02:51
*** citypw_ has joined #symbiflow03:20
*** Degi_ has joined #symbiflow03:51
*** Degi has quit IRC03:53
*** Degi_ is now known as Degi03:53
*** citypw_ has quit IRC06:23
*** kraiskil has joined #symbiflow07:21
*** tpb has joined #symbiflow09:17
*** citypw_ has joined #symbiflow09:37
*** goku12 has joined #symbiflow09:43
*** goku12 has quit IRC09:58
*** mkru has joined #symbiflow12:31
*** futarisIRCcloud has quit IRC12:44
*** ayazar1 has joined #symbiflow12:51
*** mkru has quit IRC14:31
*** citypw_ has quit IRC15:33
*** goku12 has joined #symbiflow15:59
nickoelitghost: does the symbiflow-arch-defs toolchain not include the riscv compiler for the picosoc demo?16:15
nickoeI can't find it at least.16:15
mithrodnltz: Unsure if you are here, but I invited you to be a collaborator so that your pull requests automatically run the Kokoro CI jobs rather than having to be trigger manually by people16:15
mithronickoe: There was some discussion around this recently IIRC. You might be able to enter the conda env and install the risc-v compiler16:16
mithronickoe: https://github.com/litex-hub/litex-conda-compilers16:16
nickoemmm, I think I used used make env16:16
nickoeand I am not really familiar with conda at all16:17
mithronickoe: Conda is a python based binary distribution system -- think of it kinda of like a cross platform "apt-get" style thing16:18
nickoebut I am sourced or activated into the build from symbiflow examples right now16:18
mithrohttps://anaconda.org/LiteX-Hub/repo16:19
mithro`conda install -c litex-hub gcc-riscv32-elf-newlib` maybe?16:19
mithronickoe: BTW Conda environments are suppose to be isolated + self contained -- so the env in the symbiflow-examples repository should be separate from the env in the symbiflow-arch-defs16:20
nickoemm, why? I would have expected both repo to use the same tooling more or less :S16:20
nickoeWhy can't I find gcc-riscv32-elf-newlib on the page youlinked? https://anaconda.org/LiteX-Hub/repo16:22
mithronickoe: Click page-216:22
mithronickoe: symbiflow-examples is /suppose/ to be tested / working versions while symbiflow-arch-defs is more "under current development" type thing16:22
nickoemm, ok, I can see it here as well https://anaconda.org/litex-hub/gcc-riscv32-elf-newlib16:22
nickoeahh, that page selector is not really clearly visible :D16:23
mithronickoe: Lots of things are not as good as we would like them, only so many hours in a day :-)16:25
nickoemmm https://dpaste.com/BTLU5FQHU16:25
tpbTitle: dpaste: BTLU5FQHU (at dpaste.com)16:25
mithronickoe: We are slowly moving towards supporting other package distribution methods than just conda thanks to the work by umarcor and https://github.com/hdl16:25
mithronickoe: Never seen an error like that before...16:26
nickoein case it is not clear, this is the project I am trying to build symbiflow-arch-defs/tests/9-soc/picosoc/firmware16:29
nickoehttps://www.sifive.com/blog/all-aboard-part-1-compiler-args16:30
nickoeI guess that D that it refers to is "D: Double-Precision Floating-Point"16:31
nickoethe march is given as -march=rv32im16:31
nickoewhich is explicitly listed as an example there..16:32
nickoeif add -mabi=ilp32 it works   found via sort of related discussion on https://aur.archlinux.org/packages/riscv64-unknown-elf-gcc#comment-63590116:33
tpbTitle: AUR (en) - riscv64-unknown-elf-gcc (at aur.archlinux.org)16:33
mithronickoe: Oh interesting, that might be something that we are missing?16:34
nickoepossibly, I am not really any authroity in this area16:35
mithroCan you log a github issue about this?16:41
nickoemithro: I am trying to generate a new rom code16:41
nickoeReading https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/tests/9-soc/picosoc/hex2progmem.py16:41
nickoeit says that I need to call objcopy, is that something I need to to before calling hex2progmem?16:41
nickoeI mean hex files are already generated when making the fw16:42
mithronickoe: I'm afraid I don't really know -- it has been a *long* time since I got to play with this stuff, I mostly just do management things like presentations to get try to people funding these days16:42
nickoedo you know whats up with the "rom style"? https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/tests/9-soc/picosoc/hex2progmem.py#L192-L23216:44
nickoewhat does that even mean :S?16:44
nickoemm initial seems to not generate a big ass diff16:46
nickoeso that is probably ok16:46
mithronickoe: Nope!16:47
mithronickoe: I assume it is talking about initializing a verilog array with data16:48
nickoeI think it is "h%04X: mem_data <= 32'h%08X;\n" vs "mem['h%04X] <= 32'h%08X;\n" syntax16:49
nickoemm, I got it running but it looks like the flash stuff is included16:53
nickoeah, I ned the noflash hex16:56
*** ayazar1 has quit IRC17:30
-_whitenotifier- [symbiflow-arch-defs] nickoe opened issue #1967: Building picosoc test firmware fails - https://git.io/JtZI117:38
nickoemithro:  ^^^17:40
*** andrewb1999 has joined #symbiflow18:04
*** LoneTech has joined #symbiflow19:41
-_whitenotifier- [symbiflow-examples] tcal-x opened issue #119: Improve out-of-memory error during fasm generation (seen in nexys_video counter_test example) - https://git.io/JtZYj19:50
*** goku12 has quit IRC19:57
*** goku12 has joined #symbiflow20:03
nickoemithro: mmm, whats up with the litex-buildenv/master/scripts/bootstrap.sh script?    https://dpaste.com/AYA5LKD9F20:26
tpbTitle: dpaste: AYA5LKD9F (at dpaste.com)20:26
mithronickoe: Seems like something started depending on netifaces and netifaces is fighting with conda....20:28
nickoeI have community/python-netifaces 0.10.9-6 in the "host" system20:30
mithronickoe: When things are working correctly, the conda is isolated from the "host" system20:31
nickoemmm, I could not import it in python, but reinstalled it with pacman.. maybe conday won't be as confused now?20:32
nickoeok, no20:32
mithronickoe: I wonder what started depending on netinterfaces?20:33
mithronickoe: Or potentially why it started downloading + compiling it20:34
nickoemm, dunno, I hoped you would now20:34
nickoe*know20:34
nickoethe headline is just Installing Python modules into environment20:34
nickoewas added as part of renode at some point https://github.com/timvideos/litex-buildenv/commit/4ebc207d39a92b8ffcca5bfdcea1c9b6054c96b920:36
mithroIt is likely we need to add https://anaconda.org/conda-forge/netifaces to our litex-hub conda repositories and use it via that20:36
mithronickoe: Log a bug and I'll assign it to the person who added netifaces20:41
nickoemithro: in the timvideos versoin of the repo?20:42
nickoeI am slightly confused what repo is considered "upstream"20:43
mithroYes20:43
nickoemithro: https://github.com/timvideos/litex-buildenv/issues/63220:46
*** kraiskil has quit IRC21:14
*** FFY00 has quit IRC21:15
*** FFY00 has joined #symbiflow21:16
* nickoe wonder how to get started with litex21:28
mithronickoe: What is your goal?21:28
mithronickoe: And what hardware do you have?21:28
nickoeI have a basys321:28
nickoeI want to run a picorv to run  bare bone firmware on it. attempt to use the sdcard thing21:29
nickoeLiteSDCard21:29
nickoeI did follow and succeed so far https://github.com/enjoy-digital/litex/wiki/Installation21:30
nickoemm, maybe there is some more help on https://github.com/timvideos/litex-buildenv/wiki/Using21:31
nickoebut I fail after the first command on the using page21:32
nickoeI only have the tooling at this point I guess https://dpaste.com/4R7DMB8BF21:33
tpbTitle: dpaste: 4R7DMB8BF (at dpaste.com)21:33
nickoemithro: if I clone litex-buildenv, I don't get the shell21:36
nickoewhen source scripts/enter-env.sh21:37
nickoehttps://dpaste.com/GU35KMLJH21:37
tpbTitle: dpaste: GU35KMLJH (at dpaste.com)21:37
nickoeand I don't really care about udev rules right now21:37
mithroPlease install the HDMI2USB udev rules, **or 'export HDMI2USB_UDEV_IGNORE=somevalue' to ignore this**.21:39
mithro>21:39
mithro?21:39
nickoemm21:41
nickoehttps://dpaste.com/21:41
tpbTitle: dpaste: New (at dpaste.com)21:41
nickoemm, yeah, well, I may be a bit confused byt the buildeng repo and the litex only repo21:43
nickoeas the bootstrap in the buildenv failed on me21:43
nickoeearlier21:43
*** goku12 has quit IRC22:20
*** futarisIRCcloud has joined #symbiflow23:05
*** goku12 has joined #symbiflow23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!