*** tpb has joined #timvideos | 00:00 | |
mithro | Select "Vivado HL WebPack" (the free version) | 00:00 |
---|---|---|
mithro | We only need the minimal features -- untick all but the following: | 00:00 |
mithro | Design Tools / Vivado Design Suite / Vivado | 00:00 |
mithro | Devices / Production Devices / 7 Series / | 00:00 |
mithro | Hrm - build-essential shouldn't be needed for LiteX? | 00:01 |
mithro | CarlFK: any idea who gurshaant malik is? | 00:02 |
mithro | CarlFK: The instructions in the LiteX Build Env wiki started from https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.uujg2q1gh2k7 and the older getting started docs at https://github.com/timvideos/litex-buildenv/blob/master/getting-started.md and https://github.com/timvideos/litex-buildenv/blob/master/doc/notes.md | 00:05 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 00:05 |
mithro | CarlFK: You might find that notes.md doc useful / interesting | 00:06 |
mithro | CarlFK: Also https://github.com/timvideos/litex-buildenv/blob/master/doc/targets.md | 00:06 |
tpb | Title: litex-buildenv/targets.md at master · timvideos/litex-buildenv · GitHub (at github.com) | 00:06 |
CarlFK | gurshaant malik - no, but it seems a little familiar | 00:07 |
mithro | CarlFK: Have you seen https://github.com/timvideos/litex-buildenv/wiki/LiteX-for-Hardware-Engineers btw? It's written by Bunnie for people who are more hardware focused... | 00:08 |
tpb | Title: LiteX for Hardware Engineers · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 00:08 |
CarlFK | mithro: nope. quick skim.. um... no time. I've been being distracted all day, wanted to have gotten though your setup doc by now | 00:11 |
*** cheapie24 has joined #timvideos | 00:12 | |
*** joycepao has joined #timvideos | 00:17 | |
*** joycepao has quit IRC | 00:19 | |
*** cheapie24 has quit IRC | 00:22 | |
mithro | CarlFK: It's more useful if you have people who say "I already know Verilog" -- point them to Bunnie's guide | 00:31 |
CarlFK | mithro: I installed to "~/local/opt/" I see /home/juser/local/opt/Vivado - should I set export XILINX_PATH=/home/juser/local/opt/ or /home/juser/local/opt/Vivado ? | 00:31 |
mithro | let me look it up | 00:31 |
CarlFK | Ive tried both, and both times I get: raise OSError("Unable to locate Vivado directory or settings.") | 00:32 |
mithro | Hrm.... | 00:32 |
mithro | XILINX_SETTINGS_ISE='/opt/Xilinx/*/ISE_DS/settings64.sh' | 00:33 |
mithro | XILINX_SETTINGS_VIVADO='/opt/Xilinx/Vivado/*/settings64.sh' | 00:33 |
mithro | XILINX_SETTINGS_ISE=($XILINX_DIR/$XILINX_SETTINGS_ISE) | 00:33 |
mithro | XILINX_SETTINGS_VIVADO=($XILINX_DIR/$XILINX_SETTINGS_VIVADO) | 00:33 |
mithro | So - it's XILINX_DIR... | 00:33 |
mithro | and it has to have /opt/Xilinx in it apparently? | 00:33 |
CarlFK | sounds like I should install it again and this time to /opt/Xilinx? | 00:36 |
mithro | See "gurshaant malik"'s suggestion here -> https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.kfga5xx9k89p | 00:37 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 00:37 |
mithro | CarlFK: If that works, then I'll accept it | 00:37 |
CarlFK | mithro: what is realpath in "Install bash, wget and realpath. " ? | 01:01 |
mithro | apt-get install realpath ? | 01:01 |
CarlFK | mithro: E: Package 'realpath' has no installation candidate | 01:08 |
mithro | realpath - coreutils realpath transitional package | 01:09 |
CarlFK | not sure it matters - yet - other things are erroring | 01:09 |
mithro | Looks like it's in coreutils? | 01:09 |
CarlFK | got it. coreutils is already the newest | 01:09 |
mithro | $ dpkg --listfiles coreutils | grep realpath | 01:09 |
mithro | /usr/bin/realpath | 01:09 |
*** xfxf has quit IRC | 01:15 | |
*** mozzarella19 has joined #timvideos | 01:18 | |
*** mozzarella19 has quit IRC | 01:22 | |
CarlFK | mithro: this looks like it wont' work: under "soft link your installation" the 1,2,3 steps - step 3 - the link collides with step 2, | 01:38 |
CarlFK | but it only matters if you didn't follow the instructions above so *shrug* | 01:39 |
xobs | I thought you just had to have the Xilinx bin directory in your PATH? | 01:51 |
xobs | That's what lxbuildenv does, at least. | 01:51 |
*** ccallahan19 has joined #timvideos | 01:51 | |
*** ccallahan19 has quit IRC | 01:53 | |
CarlFK | xobs: I was/am flailing so hard to say what does/doesn't work | 01:54 |
CarlFK | mithro: qemu build error: /home/juser/tv/litex-buildenv/third_party/qemu-litex/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration | 01:54 |
CarlFK | static int memfd_create(const char *name, unsigned int flags) | 01:54 |
CarlFK | er wait.. missing dep | 01:54 |
CarlFK | make[1]: bison: Command not found | 01:54 |
xobs | CarlFK: Is this on a Debian-like system or a Fedora-like system? | 02:02 |
CarlFK | debian - ubuntu | 02:02 |
xobs | Try "apt-get build-dep qemu" to get all the dependencies. | 02:03 |
xobs | (Perhaps a bit late for that now, sorry.) | 02:03 |
CarlFK | heh - exactly the tangent I am on... | 02:05 |
CarlFK | E: You must put some 'source' URIs in your sources.list | 02:06 |
CarlFK | I know how to add them, but... | 02:06 |
CarlFK | why aren't there there in the first place?!!! | 02:06 |
xobs | I really wish they added them by default. They're in your sources.list, but just commented out. | 02:06 |
CarlFK | im sure an option in here will set them up when I build the box: https://salsa.debian.org/debconf-video-team/ansible/blob/master/roles/tftp-server/files/d-i/xenial/preseed.cfg | 02:08 |
tpb | Title: roles/tftp-server/files/d-i/xenial/preseed.cfg · master · DebConf videos / ansible · GitLab (at salsa.debian.org) | 02:09 |
*** joepie916 has joined #timvideos | 02:10 | |
CarlFK | # Enable deb-src lines #d-i apt-setup/local0/source boolean true but thats only for extra repos, like PPAs | 02:12 |
*** joepie916 has quit IRC | 02:13 | |
CarlFK | apt-setup-udeb apt-setup/enable-source-repositories boolean false | 02:31 |
CarlFK | maybe. not happy about the u in udeb | 02:31 |
xobs | udeb are micro-deb packages used for installation. | 02:32 |
xobs | Likely, that is a configuration variable that targets the apt-setup udeb package that runs during installation. | 02:33 |
CarlFK | yeah.. | 02:37 |
CarlFK | I'm tossing in a bunch of config lines to see what happens :p | 02:38 |
CarlFK | ok, back to installing yacc | 02:41 |
CarlFK | debian still installs them by default ... grrr | 02:43 |
CarlFK | sudo apt-add-repository --enable-source | 02:50 |
CarlFK | Error: need a repository as argument | 02:50 |
CarlFK | Grrr!!! | 02:50 |
CarlFK | I was so hopefull that would do what i wanted it to do. | 02:50 |
*** exponent has joined #timvideos | 03:04 | |
*** exponent has quit IRC | 03:07 | |
CarlFK | "You also need some build dependencies;" um.. you missed 120 of them. | 03:16 |
CarlFK | http://paste.ubuntu.com/p/rgwBn2XfSv/ | 03:17 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:17 |
CarlFK | Command 'bison' not found, but can be installed with: | 03:18 |
CarlFK | Grrrr!!!!! | 03:18 |
CarlFK | sudo apt install bison flex | 03:20 |
CarlFK | mithro: deps seen to be installed, but still qemu build error: | 03:21 |
CarlFK | /home/juser/tv/litex-buildenv/third_party/qemu-litex/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration | 03:21 |
CarlFK | static int memfd_create(const char *name, unsigned int flags) | 03:21 |
CarlFK | http://paste.ubuntu.com/p/S7BtSdJqg6/ | 03:21 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:21 |
*** oso96_200016 has joined #timvideos | 03:22 | |
*** oso96_200016 has quit IRC | 03:23 | |
*** nyuszika7h26 has joined #timvideos | 03:41 | |
*** Kilo`byte has joined #timvideos | 03:53 | |
*** Kilo`byte has quit IRC | 03:56 | |
mithro | CarlFK: I'm pretty sure there was a solution to that in the doc somewhere? | 03:57 |
mithro | There was definitely some discussion on the mailing list IIRC | 03:58 |
CarlFK | I don't see any mention of it in the doc | 03:59 |
mithro | Dunno - /usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous declaration of ‘memfd_create’ was here | 04:03 |
*** Freejack16 has joined #timvideos | 04:04 | |
CarlFK | this was on bionic, trying on xenial and maybe trusty if I can get an install to not segfault | 04:07 |
*** Freejack16 has quit IRC | 04:12 | |
CarlFK | mithro: do you think I should try to get trusty installed (2nd fail just now) or chase the error message? | 04:25 |
mithro | CarlFK: Someone should update our qemu - it's probably fixed upstream | 04:29 |
CarlFK | mithro: so I should be able to use a vanilla qemu checkout ? | 04:30 |
mithro | CarlFK: no | 04:30 |
CarlFK | I was thinking it was patched for the ... | 04:30 |
mithro | CarlFK: They would need to rebase the patches | 04:31 |
*** Syfer has joined #timvideos | 04:39 | |
CarlFK | mithro: https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05022.html Recent glibc added memfd_create in sys/mman.h. This conflicts with >> the definition in util/memfd.c: | 04:39 |
tpb | Title: Re: [Qemu-devel] [PATCH] memfd: fix configure test (at lists.gnu.org) | 04:39 |
CarlFK | there is a patch there.. im going to try to make that change | 04:40 |
*** issyl02 has joined #timvideos | 04:44 | |
*** issyl02 has quit IRC | 04:45 | |
*** Syfer has quit IRC | 04:48 | |
CarlFK | welp.. got past that error, now onto a new one | 04:49 |
CarlFK | : error: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. | 04:49 |
CarlFK | http://paste.ubuntu.com/p/5KCQNjbprW/ | 04:50 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 04:50 |
CarlFK | found patch... | 04:55 |
CarlFK | hmm, maybe not. | 05:20 |
*** puck_ has quit IRC | 05:46 | |
*** puck` has joined #timvideos | 05:48 | |
*** puck` is now known as Guest73060 | 05:48 | |
CarlFK | mithro: we can skip the qemu stuff, right? | 05:52 |
CarlFK | also, more apts added | 05:56 |
CarlFK | im off for the night \ | 06:34 |
*** Kazuto has joined #timvideos | 06:50 | |
*** Kazuto has quit IRC | 06:54 | |
*** ced1176 has joined #timvideos | 07:08 | |
*** ced1176 has quit IRC | 07:10 | |
*** wook_ has joined #timvideos | 07:35 | |
*** wook_ has quit IRC | 07:36 | |
*** bluszcz2 has joined #timvideos | 08:09 | |
*** bluszcz2 has quit IRC | 08:13 | |
*** thaytan has quit IRC | 08:34 | |
*** Facilitating has joined #timvideos | 08:56 | |
*** Facilitating has quit IRC | 09:06 | |
*** StephenS12 has joined #timvideos | 09:31 | |
*** StephenS12 has quit IRC | 09:34 | |
*** A_D7 has joined #timvideos | 10:08 | |
*** A_D7 has quit IRC | 10:11 | |
*** Guest64960 has joined #timvideos | 10:13 | |
*** Guest64960 has quit IRC | 10:16 | |
*** Guest79333 has joined #timvideos | 10:23 | |
*** Guest79333 has quit IRC | 10:29 | |
*** Richard_Cavell has joined #timvideos | 11:17 | |
*** Richard_Cavell has quit IRC | 11:20 | |
*** xCore has joined #timvideos | 11:34 | |
*** revi28 has joined #timvideos | 12:09 | |
*** maskedlua16 has joined #timvideos | 12:10 | |
*** maskedlua16 has quit IRC | 12:12 | |
*** Guest73014 has joined #timvideos | 12:13 | |
*** Guest73014 has quit IRC | 12:15 | |
*** GTAXL11 has joined #timvideos | 12:42 | |
*** GTAXL11 has quit IRC | 12:46 | |
*** KellerFuchs13 has joined #timvideos | 13:22 | |
*** KellerFuchs13 has quit IRC | 13:24 | |
*** RaptorJesus26 has joined #timvideos | 14:25 | |
*** RaptorJesus26 has quit IRC | 14:29 | |
*** PuppyKun18 has joined #timvideos | 14:39 | |
*** syncretism_mbl has joined #timvideos | 14:41 | |
*** syncretism_mbl has quit IRC | 14:47 | |
*** kayamm25 has joined #timvideos | 15:16 | |
*** CarlFK has quit IRC | 15:22 | |
*** Alistair25 has joined #timvideos | 15:44 | |
*** rohitksingh has joined #timvideos | 15:47 | |
*** Alistair25 has quit IRC | 15:47 | |
*** weaksauce18 has joined #timvideos | 16:05 | |
*** rohitksingh has quit IRC | 16:10 | |
*** Guest80053 has joined #timvideos | 16:12 | |
*** Guest80053 has quit IRC | 16:13 | |
*** rohitksingh has joined #timvideos | 16:24 | |
*** agree has joined #timvideos | 16:36 | |
*** agree has quit IRC | 16:38 | |
*** CarlFK has joined #timvideos | 17:00 | |
*** ChanServ sets mode: +v CarlFK | 17:00 | |
CarlFK | mithro: we are kinda getting started ... only 2 hours late | 17:11 |
CarlFK | and now playing Doom in a web browser.. we have problems :p | 17:22 |
*** springermac has quit IRC | 17:50 | |
*** springermac has joined #timvideos | 17:51 | |
*** sc00bz_ has joined #timvideos | 17:59 | |
CarlFK | https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c | 17:59 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 17:59 |
*** peter_ has joined #timvideos | 18:00 | |
*** sc00bz__ has joined #timvideos | 18:05 | |
*** sc00bz_ has quit IRC | 18:05 | |
*** Guest31774 has joined #timvideos | 18:06 | |
*** Evidlo13 has joined #timvideos | 18:12 | |
*** peter_ has quit IRC | 18:18 | |
*** chaoscon8 has joined #timvideos | 18:47 | |
CarlFK | mithro: (core dumped) on ./scripts/build-linux.sh | 19:00 |
*** rohitksingh has quit IRC | 19:06 | |
sc00bz__ | test | 19:16 |
CarlFK | mithro: we blocked... help | 19:17 |
mithro | Don't know what you expect me to do? | 19:18 |
sc00bz__ | https://pastebin.com/kQMeD6fu | 19:20 |
tpb | Title: (LX P=arty C=or1k.linux F=linux) owner@ubnt780:~/Documents/litex-buildenv$ ./scr - Pastebin.com (at pastebin.com) | 19:20 |
CarlFK | mithro: 20 Aborted (core dumped) | 19:21 |
*** hyadez has quit IRC | 19:22 | |
CarlFK | mithro: this is a problem, right? | 19:22 |
daveshah | look like a locale issue? | 19:23 |
daveshah | try setting LC_ALL to C? | 19:23 |
daveshah | LC_ALL=C ./scripts/build-linux.sh | 19:24 |
CarlFK | "oh yea!" | 19:24 |
mithro | CarlFK: did you see the note about if you are getting segfaults? | 19:24 |
CarlFK | mithro: nothing in dmesg | 19:24 |
mithro | Maybe daveshah's suggestion? | 19:25 |
mithro | CarlFK: Never seen it before | 19:26 |
sc00bz__ | still fails same assertion | 19:26 |
daveshah | otherwise I'd try rebuilding the toolchain if its not recently built | 19:27 |
CarlFK | fresh ubuntu 18.4, installed just for this | 19:29 |
daveshah | what does `echo $LANG` do? | 19:32 |
CarlFK | empty | 19:33 |
daveshah | CarlFK: maybe try `LANG=en_US.UTF-8 LC_ALL=C ./scripts/build-linux.sh`? | 19:34 |
*** synaption[m] has joined #timvideos | 19:34 | |
sc00bz__ | `echo $LANG` -> en_US.UTF-8 | 19:35 |
sc00bz__ | also `LANG=en_US.UTF-8 LC_ALL=C ./scripts/build-linux.sh` didn't work | 19:36 |
daveshah | one last try? `LC_TIME=C ./scripts/build-linux.sh` will probably fail, but maybe with a different assertion? | 19:40 |
sc00bz__ | same | 19:42 |
daveshah | suspect this is some weird conda thing where the locale stuff in whatever was used to build the toolchain doesn't match the distro | 19:44 |
daveshah | not sure what else to suggest though | 19:44 |
*** HarryCross220 has joined #timvideos | 19:44 | |
*** HarryCross220 has quit IRC | 19:47 | |
*** aeva has joined #timvideos | 19:52 | |
aeva | hail eris | 19:53 |
CarlFK | helo Fedora user! | 19:53 |
CarlFK | this will save us. | 19:53 |
CarlFK | https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c | 19:53 |
aeva | ya'll are fucked | 19:53 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 19:53 |
*** aeva has quit IRC | 20:08 | |
*** JustTheDoctor2 has joined #timvideos | 20:08 | |
*** aeva has joined #timvideos | 20:09 | |
CarlFK | https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c | 20:09 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 20:09 |
CarlFK | https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c | 20:13 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 20:13 |
*** mym has joined #timvideos | 20:14 | |
sc00bz__ | https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa# | 20:14 |
CarlFK | https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c | 20:14 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 20:14 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 20:14 |
aeva | https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c | 20:14 |
*** JustTheDoctor2 has quit IRC | 20:18 | |
sc00bz__ | so this `LANG= ./scripts/build-linux.sh` "works?" and now it fails "/home/owner/Documents/litex-buildenv/third_party/linux/include/linux/string.h:9:20: fatal error: stdarg.h: No such file or directory" | 20:25 |
*** hyadez has joined #timvideos | 20:35 | |
*** salamanderrake has joined #timvideos | 20:38 | |
*** and has joined #timvideos | 20:44 | |
*** salamanderrake has quit IRC | 20:45 | |
*** and has quit IRC | 20:50 | |
*** mym has quit IRC | 21:02 | |
*** mym has joined #timvideos | 21:03 | |
*** hvxgr11 has joined #timvideos | 21:04 | |
*** themill2 has joined #timvideos | 21:12 | |
*** les0 has joined #timvideos | 21:12 | |
*** themill2 has quit IRC | 21:12 | |
*** RichiH1 has joined #timvideos | 21:17 | |
*** RichiH1 has quit IRC | 21:18 | |
*** fireworks26 has joined #timvideos | 21:33 | |
*** fireworks26 has quit IRC | 21:36 | |
*** Simba7 has joined #timvideos | 21:40 | |
*** Simba7 has quit IRC | 21:42 | |
*** qdot has joined #timvideos | 21:47 | |
CarlFK | https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c | 21:47 |
tpb | Title: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com) | 21:47 |
aeva | need to run "export LC_ALL=C" before build-linux.sh, or or1k-elf-newlib-gcc will raise an assertion | 21:55 |
aeva | (on fedora 28) | 21:56 |
*** caf24 has joined #timvideos | 22:00 | |
*** caf24 has quit IRC | 22:07 | |
*** subo has joined #timvideos | 22:12 | |
CarlFK | http://drd.sh/cart/R5I3go/ <- order food here | 22:19 |
*** Guest70871 has joined #timvideos | 22:29 | |
*** Guest70871 has quit IRC | 22:31 | |
*** peter_ has joined #timvideos | 22:32 | |
CarlFK | http://drd.sh/cart/R5I3go/ <- order more food here | 22:32 |
CarlFK | (LX P=arty C=or1k.linux F=linux) carl@twist:~/src/tv/litex-buildenv$ echo $LANG | 22:35 |
CarlFK | en_US.UTF-8 | 22:35 |
aeva | https://i.redd.it/k7ct41t57x7z.png | 22:42 |
CarlFK | Kernel: arch/openrisc/boot/vmlinux.bin is ready | 23:01 |
*** aeva has quit IRC | 23:19 | |
CarlFK | litex-buildenv$ make gateware-load | 23:28 |
*** CarlFK has quit IRC | 23:28 | |
*** haza-w9 has joined #timvideos | 23:35 | |
*** haza-w9 has quit IRC | 23:37 | |
*** hammer06523 has joined #timvideos | 23:38 | |
*** hammer06523 has quit IRC | 23:40 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!