Saturday, 2018-08-18

*** tpb has joined #timvideos00:00
mithroSelect "Vivado HL WebPack" (the free version)00:00
mithroWe only need the minimal features -- untick all but the following:00:00
mithroDesign Tools / Vivado Design Suite / Vivado00:00
mithroDevices / Production Devices / 7 Series /00:00
mithroHrm - build-essential shouldn't be needed for LiteX?00:01
mithroCarlFK: any idea who gurshaant malik is?00:02
mithroCarlFK: 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.md00:05
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)00:05
mithroCarlFK: You might find that notes.md doc useful / interesting00:06
mithroCarlFK: Also https://github.com/timvideos/litex-buildenv/blob/master/doc/targets.md00:06
tpbTitle: litex-buildenv/targets.md at master · timvideos/litex-buildenv · GitHub (at github.com)00:06
CarlFKgurshaant malik - no, but it seems a little familiar00:07
mithroCarlFK: 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
tpbTitle: LiteX for Hardware Engineers · timvideos/litex-buildenv Wiki · GitHub (at github.com)00:08
CarlFKmithro: nope.  quick skim.. um... no time.  I've been being distracted all day, wanted to have gotten though your setup doc by now00:11
*** cheapie24 has joined #timvideos00:12
*** joycepao has joined #timvideos00:17
*** joycepao has quit IRC00:19
*** cheapie24 has quit IRC00:22
mithroCarlFK: It's more useful if you have people who say "I already know Verilog" -- point them to Bunnie's guide00:31
CarlFKmithro: 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
mithrolet me look it up00:31
CarlFKIve tried both, and both times I get:     raise OSError("Unable to locate Vivado directory or settings.")00:32
mithroHrm....00:32
mithroXILINX_SETTINGS_ISE='/opt/Xilinx/*/ISE_DS/settings64.sh'00:33
mithroXILINX_SETTINGS_VIVADO='/opt/Xilinx/Vivado/*/settings64.sh'00:33
mithroXILINX_SETTINGS_ISE=($XILINX_DIR/$XILINX_SETTINGS_ISE)00:33
mithroXILINX_SETTINGS_VIVADO=($XILINX_DIR/$XILINX_SETTINGS_VIVADO)00:33
mithroSo - it's XILINX_DIR...00:33
mithroand it has to have /opt/Xilinx in it apparently?00:33
CarlFKsounds like I should install it again and this time to /opt/Xilinx?00:36
mithroSee "gurshaant malik"'s suggestion here -> https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.kfga5xx9k89p00:37
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)00:37
mithroCarlFK: If that works, then I'll accept it00:37
CarlFKmithro: what is realpath in "Install bash, wget and realpath. " ?01:01
mithroapt-get install realpath ?01:01
CarlFKmithro:  E: Package 'realpath' has no installation candidate01:08
mithrorealpath - coreutils realpath transitional package01:09
CarlFKnot sure it matters - yet - other things are erroring01:09
mithroLooks like it's in coreutils?01:09
CarlFKgot it. coreutils is already the newest01:09
mithro$ dpkg --listfiles coreutils | grep realpath01:09
mithro/usr/bin/realpath01:09
*** xfxf has quit IRC01:15
*** mozzarella19 has joined #timvideos01:18
*** mozzarella19 has quit IRC01:22
CarlFKmithro: 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
CarlFKbut it only matters if you didn't follow the instructions above so *shrug*01:39
xobsI thought you just had to have the Xilinx bin directory in your PATH?01:51
xobsThat's what lxbuildenv does, at least.01:51
*** ccallahan19 has joined #timvideos01:51
*** ccallahan19 has quit IRC01:53
CarlFKxobs: I was/am flailing so hard to say what does/doesn't work01:54
CarlFKmithro: 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 declaration01:54
CarlFK static int memfd_create(const char *name, unsigned int flags)01:54
CarlFKer wait.. missing dep01:54
CarlFKmake[1]: bison: Command not found01:54
xobsCarlFK: Is this on a Debian-like system or a Fedora-like system?02:02
CarlFKdebian - ubuntu02:02
xobsTry "apt-get build-dep qemu" to get all the dependencies.02:03
xobs(Perhaps a bit late for that now, sorry.)02:03
CarlFKheh - exactly the tangent I am on...02:05
CarlFKE: You must put some 'source' URIs in your sources.list02:06
CarlFKI know how to add them, but...02:06
CarlFKwhy aren't there there in the first place?!!!02:06
xobsI really wish they added them by default.  They're in your sources.list, but just commented out.02:06
CarlFKim 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.cfg02:08
tpbTitle: roles/tftp-server/files/d-i/xenial/preseed.cfg · master · DebConf videos / ansible · GitLab (at salsa.debian.org)02:09
*** joepie916 has joined #timvideos02:10
CarlFK# Enable deb-src lines #d-i apt-setup/local0/source boolean true   but thats only for extra repos, like PPAs02:12
*** joepie916 has quit IRC02:13
CarlFKapt-setup-udeb  apt-setup/enable-source-repositories    boolean false02:31
CarlFKmaybe.  not happy about the u in udeb02:31
xobsudeb are micro-deb packages used for installation.02:32
xobsLikely, that is a configuration variable that targets the apt-setup udeb package that runs during installation.02:33
CarlFKyeah..02:37
CarlFKI'm tossing in a bunch of config lines to see what happens :p02:38
CarlFKok, back to installing yacc02:41
CarlFKdebian still installs them by default ... grrr02:43
CarlFKsudo apt-add-repository --enable-source02:50
CarlFKError: need a repository as argument02:50
CarlFKGrrr!!!02:50
CarlFKI was so hopefull that would do what i wanted it to do.02:50
*** exponent has joined #timvideos03:04
*** exponent has quit IRC03:07
CarlFK"You also need some build dependencies;" um.. you missed 120 of them.03:16
CarlFKhttp://paste.ubuntu.com/p/rgwBn2XfSv/03:17
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)03:17
CarlFKCommand 'bison' not found, but can be installed with:03:18
CarlFKGrrrr!!!!!03:18
CarlFKsudo apt install bison flex03:20
CarlFKmithro: 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 declaration03:21
CarlFK static int memfd_create(const char *name, unsigned int flags)03:21
CarlFKhttp://paste.ubuntu.com/p/S7BtSdJqg6/03:21
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)03:21
*** oso96_200016 has joined #timvideos03:22
*** oso96_200016 has quit IRC03:23
*** nyuszika7h26 has joined #timvideos03:41
*** Kilo`byte has joined #timvideos03:53
*** Kilo`byte has quit IRC03:56
mithroCarlFK: I'm pretty sure there was a solution to that in the doc somewhere?03:57
mithroThere was definitely some discussion on the mailing list IIRC03:58
CarlFKI don't see any mention of it in the doc03:59
mithroDunno - /usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous declaration of ‘memfd_create’ was here04:03
*** Freejack16 has joined #timvideos04:04
CarlFKthis was on bionic, trying on xenial and maybe trusty if I can get an install to not segfault04:07
*** Freejack16 has quit IRC04:12
CarlFKmithro: do you think I should try to get trusty installed (2nd fail just now) or chase the error message?04:25
mithroCarlFK: Someone should update our qemu - it's probably fixed upstream04:29
CarlFKmithro: so I should be able to use a vanilla qemu checkout ?04:30
mithroCarlFK: no04:30
CarlFKI was thinking it was patched for the ...04:30
mithroCarlFK: They would need to rebase the patches04:31
*** Syfer has joined #timvideos04:39
CarlFKmithro: 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
tpbTitle: Re: [Qemu-devel] [PATCH] memfd: fix configure test (at lists.gnu.org)04:39
CarlFKthere is a patch there.. im going to try to make that change04:40
*** issyl02 has joined #timvideos04:44
*** issyl02 has quit IRC04:45
*** Syfer has quit IRC04:48
CarlFKwelp.. got past that error, now onto a new one04:49
CarlFK: error: In the GNU C Library, "major" is defined  by <sys/sysmacros.h>.04:49
CarlFKhttp://paste.ubuntu.com/p/5KCQNjbprW/04:50
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)04:50
CarlFKfound patch...04:55
CarlFKhmm, maybe not.05:20
*** puck_ has quit IRC05:46
*** puck` has joined #timvideos05:48
*** puck` is now known as Guest7306005:48
CarlFKmithro: we can skip the qemu stuff, right?05:52
CarlFKalso, more apts added05:56
CarlFKim off for the night \06:34
*** Kazuto has joined #timvideos06:50
*** Kazuto has quit IRC06:54
*** ced1176 has joined #timvideos07:08
*** ced1176 has quit IRC07:10
*** wook_ has joined #timvideos07:35
*** wook_ has quit IRC07:36
*** bluszcz2 has joined #timvideos08:09
*** bluszcz2 has quit IRC08:13
*** thaytan has quit IRC08:34
*** Facilitating has joined #timvideos08:56
*** Facilitating has quit IRC09:06
*** StephenS12 has joined #timvideos09:31
*** StephenS12 has quit IRC09:34
*** A_D7 has joined #timvideos10:08
*** A_D7 has quit IRC10:11
*** Guest64960 has joined #timvideos10:13
*** Guest64960 has quit IRC10:16
*** Guest79333 has joined #timvideos10:23
*** Guest79333 has quit IRC10:29
*** Richard_Cavell has joined #timvideos11:17
*** Richard_Cavell has quit IRC11:20
*** xCore has joined #timvideos11:34
*** revi28 has joined #timvideos12:09
*** maskedlua16 has joined #timvideos12:10
*** maskedlua16 has quit IRC12:12
*** Guest73014 has joined #timvideos12:13
*** Guest73014 has quit IRC12:15
*** GTAXL11 has joined #timvideos12:42
*** GTAXL11 has quit IRC12:46
*** KellerFuchs13 has joined #timvideos13:22
*** KellerFuchs13 has quit IRC13:24
*** RaptorJesus26 has joined #timvideos14:25
*** RaptorJesus26 has quit IRC14:29
*** PuppyKun18 has joined #timvideos14:39
*** syncretism_mbl has joined #timvideos14:41
*** syncretism_mbl has quit IRC14:47
*** kayamm25 has joined #timvideos15:16
*** CarlFK has quit IRC15:22
*** Alistair25 has joined #timvideos15:44
*** rohitksingh has joined #timvideos15:47
*** Alistair25 has quit IRC15:47
*** weaksauce18 has joined #timvideos16:05
*** rohitksingh has quit IRC16:10
*** Guest80053 has joined #timvideos16:12
*** Guest80053 has quit IRC16:13
*** rohitksingh has joined #timvideos16:24
*** agree has joined #timvideos16:36
*** agree has quit IRC16:38
*** CarlFK has joined #timvideos17:00
*** ChanServ sets mode: +v CarlFK17:00
CarlFKmithro: we are kinda getting started ... only 2 hours late17:11
CarlFKand now playing Doom in a web browser.. we have problems :p17:22
*** springermac has quit IRC17:50
*** springermac has joined #timvideos17:51
*** sc00bz_ has joined #timvideos17:59
CarlFKhttps://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c17:59
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)17:59
*** peter_ has joined #timvideos18:00
*** sc00bz__ has joined #timvideos18:05
*** sc00bz_ has quit IRC18:05
*** Guest31774 has joined #timvideos18:06
*** Evidlo13 has joined #timvideos18:12
*** peter_ has quit IRC18:18
*** chaoscon8 has joined #timvideos18:47
CarlFKmithro: (core dumped) on ./scripts/build-linux.sh19:00
*** rohitksingh has quit IRC19:06
sc00bz__test19:16
CarlFKmithro: we blocked... help19:17
mithroDon't know what you expect me to do?19:18
sc00bz__https://pastebin.com/kQMeD6fu19:20
tpbTitle: (LX P=arty C=or1k.linux F=linux) owner@ubnt780:~/Documents/litex-buildenv$ ./scr - Pastebin.com (at pastebin.com)19:20
CarlFKmithro: 20 Aborted (core dumped)19:21
*** hyadez has quit IRC19:22
CarlFKmithro: this is a problem, right?19:22
daveshahlook like a locale issue?19:23
daveshahtry setting LC_ALL to C?19:23
daveshahLC_ALL=C ./scripts/build-linux.sh19:24
CarlFK"oh yea!"19:24
mithroCarlFK: did you see the note about if you are getting segfaults?19:24
CarlFKmithro: nothing in dmesg19:24
mithroMaybe daveshah's suggestion?19:25
mithroCarlFK: Never seen it before19:26
sc00bz__still fails same assertion19:26
daveshahotherwise I'd try rebuilding the toolchain if its not recently built19:27
CarlFKfresh ubuntu 18.4, installed just for this19:29
daveshahwhat does `echo $LANG` do?19:32
CarlFKempty19:33
daveshahCarlFK: maybe try `LANG=en_US.UTF-8 LC_ALL=C ./scripts/build-linux.sh`?19:34
*** synaption[m] has joined #timvideos19:34
sc00bz__`echo $LANG` -> en_US.UTF-819:35
sc00bz__also `LANG=en_US.UTF-8 LC_ALL=C ./scripts/build-linux.sh` didn't work19:36
daveshahone last try? `LC_TIME=C ./scripts/build-linux.sh` will probably fail, but maybe with a different assertion?19:40
sc00bz__same19:42
daveshahsuspect this is some weird conda thing where the locale stuff in whatever was used to build the toolchain doesn't match the distro19:44
daveshahnot sure what else to suggest though19:44
*** HarryCross220 has joined #timvideos19:44
*** HarryCross220 has quit IRC19:47
*** aeva has joined #timvideos19:52
aevahail eris19:53
CarlFKhelo Fedora user!19:53
CarlFKthis will save us.19:53
CarlFKhttps://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c19:53
aevaya'll are fucked19:53
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)19:53
*** aeva has quit IRC20:08
*** JustTheDoctor2 has joined #timvideos20:08
*** aeva has joined #timvideos20:09
CarlFKhttps://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c20:09
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)20:09
CarlFKhttps://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c20:13
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)20:13
*** mym has joined #timvideos20:14
sc00bz__https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#20:14
CarlFKhttps://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c20:14
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)20:14
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)20:14
aevahttps://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c20:14
*** JustTheDoctor2 has quit IRC20: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 #timvideos20:35
*** salamanderrake has joined #timvideos20:38
*** and has joined #timvideos20:44
*** salamanderrake has quit IRC20:45
*** and has quit IRC20:50
*** mym has quit IRC21:02
*** mym has joined #timvideos21:03
*** hvxgr11 has joined #timvideos21:04
*** themill2 has joined #timvideos21:12
*** les0 has joined #timvideos21:12
*** themill2 has quit IRC21:12
*** RichiH1 has joined #timvideos21:17
*** RichiH1 has quit IRC21:18
*** fireworks26 has joined #timvideos21:33
*** fireworks26 has quit IRC21:36
*** Simba7 has joined #timvideos21:40
*** Simba7 has quit IRC21:42
*** qdot has joined #timvideos21:47
CarlFKhttps://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?ts=5b7758fa#heading=h.18ezgggqan0c21:47
tpbTitle: FPGA Miniconf Set Up Instructions - Google Docs (at docs.google.com)21:47
aevaneed to run "export LC_ALL=C" before build-linux.sh, or or1k-elf-newlib-gcc will raise an assertion21:55
aeva(on fedora 28)21:56
*** caf24 has joined #timvideos22:00
*** caf24 has quit IRC22:07
*** subo has joined #timvideos22:12
CarlFKhttp://drd.sh/cart/R5I3go/  <- order food here22:19
*** Guest70871 has joined #timvideos22:29
*** Guest70871 has quit IRC22:31
*** peter_ has joined #timvideos22:32
CarlFKhttp://drd.sh/cart/R5I3go/  <- order more food here22:32
CarlFK(LX P=arty C=or1k.linux F=linux) carl@twist:~/src/tv/litex-buildenv$ echo $LANG22:35
CarlFKen_US.UTF-822:35
aevahttps://i.redd.it/k7ct41t57x7z.png22:42
CarlFK  Kernel: arch/openrisc/boot/vmlinux.bin is ready23:01
*** aeva has quit IRC23:19
CarlFKlitex-buildenv$ make gateware-load23:28
*** CarlFK has quit IRC23:28
*** haza-w9 has joined #timvideos23:35
*** haza-w9 has quit IRC23:37
*** hammer06523 has joined #timvideos23:38
*** hammer06523 has quit IRC23:40

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