Wednesday, 2018-10-10

*** tpb has joined #timvideos00:00
*** Kripton has quit IRC00:19
*** Kripton has joined #timvideos00:20
*** tac-tics has quit IRC01:01
mithroCarlFK: ping?01:11
*** tpb` has joined #timvideos01:42
*** CarlFK has quit IRC01:44
*** techman83 has quit IRC01:44
*** waldo323 has quit IRC01:44
*** puck_ has quit IRC01:44
*** pzieba[m] has quit IRC01:44
*** Kripton has quit IRC01:44
*** cnomad has quit IRC01:44
*** [d__d] has quit IRC01:44
*** olasd has quit IRC01:44
*** micolous[m] has quit IRC01:44
*** CARAM____ has quit IRC01:44
*** synaption[m] has quit IRC01:44
*** shivm28[m] has quit IRC01:44
*** nbags[m] has quit IRC01:44
*** nrossi has quit IRC01:44
*** felix[m] has quit IRC01:44
*** tpb has quit IRC01:44
*** springermac has quit IRC01:44
*** hyadez has quit IRC01:44
*** ivodd has quit IRC01:44
*** theshaun has quit IRC01:44
*** CarlFK[m] has quit IRC01:44
*** rqou has quit IRC01:44
*** deeprave has quit IRC01:44
*** jimmo has quit IRC01:44
*** ducky[m] has quit IRC01:44
*** diamondman has quit IRC01:44
*** auscompgeek has quit IRC01:44
*** jfng has quit IRC01:44
*** thaytan has quit IRC01:44
*** froztbyte has quit IRC01:44
*** master1588[m] has quit IRC01:44
*** Joelw_ has quit IRC01:44
*** kmehall has quit IRC01:44
*** CuriousLearner has quit IRC01:44
*** tumblingweed has quit IRC01:44
*** andi-m has quit IRC01:44
*** rails has quit IRC01:44
*** daveshah has quit IRC01:44
*** benreynwar has quit IRC01:44
*** TheAssassin has quit IRC01:44
*** jea[m] has quit IRC01:44
*** xobs has quit IRC01:44
*** skay_ has quit IRC01:44
*** tumbleweed has quit IRC01:44
*** _florent_ has quit IRC01:44
*** sb0 has quit IRC01:44
*** fischerm has quit IRC01:44
*** bunnie_ has quit IRC01:44
*** jea has quit IRC01:44
*** Toba has quit IRC01:44
*** tsglove has quit IRC01:44
*** Kamilion has quit IRC01:44
*** sc00bz has quit IRC01:44
*** mcarden has quit IRC01:44
*** tinyfpga has quit IRC01:44
*** lexano has quit IRC01:44
*** shenki has quit IRC01:44
*** cyrozap has quit IRC01:44
*** paddatrapper has quit IRC01:44
*** hozer has quit IRC01:44
*** qdot has quit IRC01:44
*** cr1901_modern has quit IRC01:44
*** medicalwei has quit IRC01:44
*** mithro has quit IRC01:44
*** shorne has quit IRC01:44
*** futaris[m] has quit IRC01:44
*** nancy[m] has quit IRC01:44
*** swalladge has quit IRC01:44
*** tpb` has quit IRC01:50
*** tpb has joined #timvideos01:53
*** swalladge has joined #timvideos01:53
*** swalladge is now known as Guest8614301:54
*** Toba is now known as Guest5478101:54
*** Kripton has joined #timvideos01:55
*** springermac has joined #timvideos01:55
*** ducky[m]1 has quit IRC01:57
*** ducky[m]1 has joined #timvideos01:57
*** deeprave_ has quit IRC01:57
*** deeprave_ has joined #timvideos01:57
*** diamondman_ has quit IRC01:57
*** diamondman_ has joined #timvideos01:57
*** jimmo_ has quit IRC01:57
*** jimmo_ has joined #timvideos01:57
*** CarlFK[m]1 has quit IRC01:57
*** CarlFK[m]1 has joined #timvideos01:57
*** rqou_ is now known as rqou01:58
*** Guest86143 has quit IRC02:08
*** swalladge_ has joined #timvideos02:09
*** CarlFK has quit IRC02:56
*** CarlFK has joined #timvideos03:12
*** ChanServ sets mode: +v CarlFK03:12
*** ewen has quit IRC03:14
*** CarlFK has quit IRC03:17
shornemithro: good news03:20
mithroshorne: ?03:22
shornemithro: on the toolchain working03:24
shorneI didnt check the rest yet, still messing with the sim networking stuff03:25
mithroshorne: ahh, not "I have good news" but "congratulations on the good news"03:25
shornemithro: yes.. did you see _florent 's comments on the uart \r\n changes.  He recons we should change our firmware to change how we detect commands to be inline with the litex BIOS03:31
shorneeasy change, but I didnt want to break anything03:31
mithroshorne: I think we moved to \r\n to be more compatible with other terminals?03:31
shornemithro: as I see here:
shorneit looks like we use \n for telnet sessions and \r for uart connections03:31
shornewe ignore \r, and \n respectively03:31
tpbTitle: litex-buildenv/ci.c at master · timvideos/litex-buildenv · GitHub (at
tpbTitle: litex-buildenv/firmware/ci.c at master · timvideos/litex-buildenv · GitHub (at
*** jea[m] has quit IRC03:31
*** jea[m] has joined #timvideos03:31
tpbTitle: Ignore LFs on the serial console · timvideos/[email protected] · GitHub (at
shornemithro: so cr/lf on output,  but input is just the one03:33
shorneI see the patch03:34
shornethat is what telnet was already doing, but opposite .  Maybe we just copy telnet?03:35
shorneit seems the commit comment is not concernted about which is ignored?03:35
tpbTitle: Use CRLF line-endings by stefanor · Pull Request #341 · timvideos/HDMI2USB-litex-firmware · GitHub (at
shorneyeah, I see that as CR-LF on outout03:36
shornewell... BIOS doesnt so it quite correct then either03:38
tpbTitle: litex/main.c at 2c013948b12e7958cb330be37804e4065ff5baa4 · enjoy-digital/litex · GitHub (at
shornenot sure why I picked that commit03:39
tpbTitle: litex/main.c at master · enjoy-digital/litex · GitHub (at
shornebios looks like it has skip logic and can handle either \r or \n03:40
shorneThis is what florent suggested03:40
shorneoh.. because its new03:41
tpbTitle: bios/main: handle all types of carriage return (\r, \n, \r\n or \n\r) · enjoy-digital/[email protected] · GitHub (at
shornemithro: now with the latest verilator + c++ packages it seems the conda environment needs libevent and json-c03:47
shornelet me try to just install the conda channel ones03:47
shorne86_64-conda_cos6-linux-gnu/bin/ld: cannot find -levent03:47
shornex86_64-conda_cos6-linux-gnu/bin/ld: cannot find -ljson-c03:47
mithroHrm, I wonder why that didn't fail on travis?03:47
shorneThe verilator travis? or litex-buildenv travis?03:47
shorneverilator itself doesnt need it, these libs is brought into the verilator simualtor by litex03:47
mithroOh - the libevent / json-c is just needed for the litex?03:47
shornemithro: yes03:47
shorneIll see if I can get the regular conda libs to satisfy those dependencies, its still complaining after installing03:48
mithroshorne: export PLATFORM=sim ?03:49
shorneBefore it was working find for me, because I used 'fedora's' verilator03:50
shornewhich used g++03:50
shornebut now I am getting this with the new conda verilator03:50
shorneI did 'conda install json-c libevent'03:51
shorneit installed the .so files in 'build/conda/lib'03:51
shorneits still not linking03:52
shornelooking into it...03:52
mithroAssertionError: ROM contents not found! /home/tansell/github/timvideos/HDMI2USB-litex-firmware/build/sim_base_or1k/software/firmware/firmware.fbi03:52
shorneFinal build command is03:52
shornex86_64-conda_cos6-linux-gnu-c++ -lpthread -ljson-c -lm -lstdc++ -ldl -levent    veril.o dut_init.o verilated.o verilated_vcd_c.o Vdut__ALL.a   modules.o pads.o sim.o libdylib.o parse.o -lpthread -ljson-c -lm -lstdc++ -ldl -levent  -pthread -lpthread -latomic -o Vdut -lm -lstdc++03:53
*** rohitksingh_work has joined #timvideos03:53
shorneoh... I thought I fixed that issue03:53
shorneare you using CPU_VARIANT=linux?03:53
mithroshorne: oh - yes03:54
shorneyeah, I have a patch for that, havent pushed yet03:54
shorneone second let me push03:54
mithroethernet.c:6:10: fatal error: event2/listener.h: No such file or directory03:55
shorneyeah, that is part of 'libevent'03:56
shornemeaning '-I''s are getting passed fine03:56
shorneSorry, I mean, for me, I can see the -I's are being passed during the compile phase03:57
shornebut during link phase its not adding the -L's  if that makes sense03:57
shorneI dont have any special LDFLAGS/CFLAGS set03:58
mithroWhat do you have in /home/tansell/github/timvideos/HDMI2USB-litex-firmware/third_party/litex/litex/build/sim/core/modules/variables.mak ?04:00
tpbTitle: variables.mak · GitHub (at
shorneNOthing special04:02
shornemithro: do you know where we inject build/conda/... paths into LDFLAGS / CFLAGS?04:08
shorneis that build into the conda binaries with RPATH or something/04:09
shornemithro: It looks like it... one minute04:14
mithro ./build/conda/bin/x86_64-conda_cos6-linux-gnu-cc -print-search-dirs ?04:17
shorneyeah... I ran it04:22
CarlFK[m]1mithro: pong04:23
shornemithro: it seems to be looking for stuf under, ./build/conda/x86_64-conda_cos6-linux-gnu/04:24
shornebut libs get installed under ./build/conda/lib04:25
shorneok, I am going to remote verilator and these toolchains for now04:28
shorneneed to work on something else04:28
mithroshorne: I have to run too04:34
*** rohitksingh_work has quit IRC07:02
*** theshaun has quit IRC07:15
*** theshaun has joined #timvideos07:15
*** puck_ has quit IRC07:17
*** puck_ has joined #timvideos07:20
shorne_florent_: you were right booting sim in pure litex environment works fine, something wrong with the litex-buildenv setup07:41
shorne(with network) it works07:41
*** puck_ has quit IRC07:41
*** puck_ has joined #timvideos07:45
shorneok, works under litex-buildenv now07:59
*** cr1901_modern has quit IRC08:06
shornenow I can try to boot linux on it, I heard this will run very slowly08:09
shornebut how do we debug (gdb) the verilator simulator :08:24
shorneill be off08:24
*** mauz555 has joined #timvideos08:48
*** rohitksingh_work has joined #timvideos08:55
*** cr1901_modern has joined #timvideos09:26
*** rohitksingh_work has quit IRC12:28
*** maks_ has joined #timvideos13:01
*** maks_ has quit IRC13:03
*** rohitksingh has joined #timvideos13:06
*** mauz555 has quit IRC13:11
*** sc00bz1 has joined #timvideos13:14
*** mauz555 has joined #timvideos13:18
*** sc00bz has quit IRC13:18
*** mauz555_ has joined #timvideos13:31
*** mauz555 has quit IRC13:35
*** rohitksingh has quit IRC13:38
*** rohitksingh has joined #timvideos13:52
*** swalladge_ has quit IRC13:57
*** tac-tics has joined #timvideos17:14
*** rohitksingh has quit IRC18:10
*** rohitksingh has joined #timvideos18:11
*** rohitksingh has quit IRC18:18
*** rohitksingh has joined #timvideos19:07
*** swalladge_ has joined #timvideos19:41
*** rohitksingh has quit IRC19:58
*** cr1901_modern has quit IRC22:36
mithrocr1901_modern: you made El Corro Libre newsletter22:36
*** cr1901_modern has joined #timvideos22:38
*** Kripton has quit IRC22:41
*** Kripton has joined #timvideos23:02

Generated by 2.13.1 by Marius Gedminas - find it at!