*** tpb has joined #timvideos | 00:00 | |
*** Kripton has quit IRC | 00:19 | |
*** Kripton has joined #timvideos | 00:20 | |
*** tac-tics has quit IRC | 01:01 | |
mithro | CarlFK: ping? | 01:11 |
---|---|---|
*** tpb` has joined #timvideos | 01:42 | |
*** CarlFK has quit IRC | 01:44 | |
*** techman83 has quit IRC | 01:44 | |
*** waldo323 has quit IRC | 01:44 | |
*** puck_ has quit IRC | 01:44 | |
*** pzieba[m] has quit IRC | 01:44 | |
*** Kripton has quit IRC | 01:44 | |
*** cnomad has quit IRC | 01:44 | |
*** [d__d] has quit IRC | 01:44 | |
*** olasd has quit IRC | 01:44 | |
*** micolous[m] has quit IRC | 01:44 | |
*** CARAM____ has quit IRC | 01:44 | |
*** synaption[m] has quit IRC | 01:44 | |
*** shivm28[m] has quit IRC | 01:44 | |
*** nbags[m] has quit IRC | 01:44 | |
*** nrossi has quit IRC | 01:44 | |
*** felix[m] has quit IRC | 01:44 | |
*** tpb has quit IRC | 01:44 | |
*** springermac has quit IRC | 01:44 | |
*** hyadez has quit IRC | 01:44 | |
*** ivodd has quit IRC | 01:44 | |
*** theshaun has quit IRC | 01:44 | |
*** CarlFK[m] has quit IRC | 01:44 | |
*** rqou has quit IRC | 01:44 | |
*** deeprave has quit IRC | 01:44 | |
*** jimmo has quit IRC | 01:44 | |
*** ducky[m] has quit IRC | 01:44 | |
*** diamondman has quit IRC | 01:44 | |
*** auscompgeek has quit IRC | 01:44 | |
*** jfng has quit IRC | 01:44 | |
*** thaytan has quit IRC | 01:44 | |
*** froztbyte has quit IRC | 01:44 | |
*** master1588[m] has quit IRC | 01:44 | |
*** Joelw_ has quit IRC | 01:44 | |
*** kmehall has quit IRC | 01:44 | |
*** CuriousLearner has quit IRC | 01:44 | |
*** tumblingweed has quit IRC | 01:44 | |
*** andi-m has quit IRC | 01:44 | |
*** rails has quit IRC | 01:44 | |
*** daveshah has quit IRC | 01:44 | |
*** benreynwar has quit IRC | 01:44 | |
*** TheAssassin has quit IRC | 01:44 | |
*** jea[m] has quit IRC | 01:44 | |
*** xobs has quit IRC | 01:44 | |
*** skay_ has quit IRC | 01:44 | |
*** tumbleweed has quit IRC | 01:44 | |
*** _florent_ has quit IRC | 01:44 | |
*** sb0 has quit IRC | 01:44 | |
*** fischerm has quit IRC | 01:44 | |
*** bunnie_ has quit IRC | 01:44 | |
*** jea has quit IRC | 01:44 | |
*** Toba has quit IRC | 01:44 | |
*** tsglove has quit IRC | 01:44 | |
*** Kamilion has quit IRC | 01:44 | |
*** sc00bz has quit IRC | 01:44 | |
*** mcarden has quit IRC | 01:44 | |
*** tinyfpga has quit IRC | 01:44 | |
*** lexano has quit IRC | 01:44 | |
*** shenki has quit IRC | 01:44 | |
*** cyrozap has quit IRC | 01:44 | |
*** paddatrapper has quit IRC | 01:44 | |
*** hozer has quit IRC | 01:44 | |
*** qdot has quit IRC | 01:44 | |
*** cr1901_modern has quit IRC | 01:44 | |
*** medicalwei has quit IRC | 01:44 | |
*** mithro has quit IRC | 01:44 | |
*** shorne has quit IRC | 01:44 | |
*** futaris[m] has quit IRC | 01:44 | |
*** nancy[m] has quit IRC | 01:44 | |
*** swalladge has quit IRC | 01:44 | |
*** tpb` has quit IRC | 01:50 | |
*** tpb has joined #timvideos | 01:53 | |
*** swalladge has joined #timvideos | 01:53 | |
*** swalladge is now known as Guest86143 | 01:54 | |
*** Toba is now known as Guest54781 | 01:54 | |
*** Kripton has joined #timvideos | 01:55 | |
*** springermac has joined #timvideos | 01:55 | |
*** ducky[m]1 has quit IRC | 01:57 | |
*** ducky[m]1 has joined #timvideos | 01:57 | |
*** deeprave_ has quit IRC | 01:57 | |
*** deeprave_ has joined #timvideos | 01:57 | |
*** diamondman_ has quit IRC | 01:57 | |
*** diamondman_ has joined #timvideos | 01:57 | |
*** jimmo_ has quit IRC | 01:57 | |
*** jimmo_ has joined #timvideos | 01:57 | |
*** CarlFK[m]1 has quit IRC | 01:57 | |
*** CarlFK[m]1 has joined #timvideos | 01:57 | |
*** rqou_ is now known as rqou | 01:58 | |
*** Guest86143 has quit IRC | 02:08 | |
*** swalladge_ has joined #timvideos | 02:09 | |
*** CarlFK has quit IRC | 02:56 | |
*** CarlFK has joined #timvideos | 03:12 | |
*** ChanServ sets mode: +v CarlFK | 03:12 | |
*** ewen has quit IRC | 03:14 | |
*** CarlFK has quit IRC | 03:17 | |
shorne | mithro: good news | 03:20 |
mithro | shorne: ? | 03:22 |
shorne | mithro: on the toolchain working | 03:24 |
shorne | I didnt check the rest yet, still messing with the sim networking stuff | 03:25 |
mithro | shorne: ahh, not "I have good news" but "congratulations on the good news" | 03:25 |
shorne | mithro: 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 BIOS | 03:31 |
shorne | easy change, but I didnt want to break anything | 03:31 |
mithro | shorne: I think we moved to \r\n to be more compatible with other terminals? | 03:31 |
shorne | mithro: as I see here: https://github.com/timvideos/litex-buildenv/blob/master/firmware/ci.c#L235-L294 | 03:31 |
shorne | it looks like we use \n for telnet sessions and \r for uart connections | 03:31 |
shorne | we ignore \r, and \n respectively | 03:31 |
mithro | shorne: https://github.com/timvideos/litex-buildenv/blame/master/firmware/ci.c#L235-L294 | 03:31 |
tpb | Title: litex-buildenv/ci.c at master · timvideos/litex-buildenv · GitHub (at github.com) | 03:31 |
tpb | Title: litex-buildenv/firmware/ci.c at master · timvideos/litex-buildenv · GitHub (at github.com) | 03:31 |
*** jea[m] has quit IRC | 03:31 | |
*** jea[m] has joined #timvideos | 03:31 | |
mithro | https://github.com/timvideos/litex-buildenv/commit/125db02606e587cf3952cb3dba8a332601646fde | 03:32 |
tpb | Title: Ignore LFs on the serial console · timvideos/litex-buildenv@125db02 · GitHub (at github.com) | 03:32 |
shorne | mithro: so cr/lf on output, but input is just the one | 03:33 |
shorne | I see the patch | 03:34 |
shorne | that is what telnet was already doing, but opposite . Maybe we just copy telnet? | 03:35 |
mithro | https://github.com/timvideos/HDMI2USB-litex-firmware/pull/341/commits | 03:35 |
shorne | it seems the commit comment is not concernted about which is ignored? | 03:35 |
tpb | Title: Use CRLF line-endings by stefanor · Pull Request #341 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 03:35 |
shorne | yeah, I see that as CR-LF on outout | 03:36 |
shorne | (mostly) | 03:37 |
shorne | well... BIOS doesnt so it quite correct then either | 03:38 |
shorne | https://github.com/enjoy-digital/litex/blob/2c013948b12e7958cb330be37804e4065ff5baa4/litex/soc/software/bios/main.c#L447-L451 | 03:38 |
tpb | Title: litex/main.c at 2c013948b12e7958cb330be37804e4065ff5baa4 · enjoy-digital/litex · GitHub (at github.com) | 03:38 |
shorne | SOrry | 03:39 |
shorne | not sure why I picked that commit | 03:39 |
shorne | https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/bios/main.c#L466-L475 | 03:39 |
tpb | Title: litex/main.c at master · enjoy-digital/litex · GitHub (at github.com) | 03:39 |
shorne | bios looks like it has skip logic and can handle either \r or \n | 03:40 |
shorne | This is what florent suggested | 03:40 |
shorne | oh.. because its new | 03:41 |
shorne | https://github.com/enjoy-digital/litex/commit/10624c26da9577b7228e1af28ee26389bce7f905 | 03:41 |
tpb | Title: bios/main: handle all types of carriage return (\r, \n, \r\n or \n\r) · enjoy-digital/litex@10624c2 · GitHub (at github.com) | 03:41 |
shorne | mithro: now with the latest verilator + c++ packages it seems the conda environment needs libevent and json-c | 03:47 |
shorne | let me try to just install the conda channel ones | 03:47 |
shorne | i.e. | 03:47 |
shorne | 86_64-conda_cos6-linux-gnu/bin/ld: cannot find -levent | 03:47 |
shorne | x86_64-conda_cos6-linux-gnu/bin/ld: cannot find -ljson-c | 03:47 |
mithro | Hrm, I wonder why that didn't fail on travis? | 03:47 |
shorne | The verilator travis? or litex-buildenv travis? | 03:47 |
shorne | verilator itself doesnt need it, these libs is brought into the verilator simualtor by litex | 03:47 |
mithro | Oh - the libevent / json-c is just needed for the litex? | 03:47 |
shorne | mithro: yes | 03:47 |
shorne | Ill see if I can get the regular conda libs to satisfy those dependencies, its still complaining after installing | 03:48 |
mithro | shorne: export PLATFORM=sim ? | 03:49 |
shorne | yes | 03:50 |
shorne | Before it was working find for me, because I used 'fedora's' verilator | 03:50 |
shorne | which used g++ | 03:50 |
shorne | but now I am getting this with the new conda verilator | 03:50 |
shorne | I did 'conda install json-c libevent' | 03:51 |
shorne | it installed the .so files in 'build/conda/lib' | 03:51 |
shorne | its still not linking | 03:52 |
shorne | looking into it... | 03:52 |
mithro | AssertionError: ROM contents not found! /home/tansell/github/timvideos/HDMI2USB-litex-firmware/build/sim_base_or1k/software/firmware/firmware.fbi | 03:52 |
shorne | Final build command is | 03:52 |
shorne | x86_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 #timvideos | 03:53 | |
shorne | oh... I thought I fixed that issue | 03:53 |
shorne | are you using CPU_VARIANT=linux? | 03:53 |
mithro | shorne: oh - yes | 03:54 |
shorne | yeah, I have a patch for that, havent pushed yet | 03:54 |
shorne | one second let me push | 03:54 |
mithro | ethernet.c:6:10: fatal error: event2/listener.h: No such file or directory | 03:55 |
shorne | pushed | 03:56 |
shorne | yeah, that is part of 'libevent' | 03:56 |
shorne | meaning '-I''s are getting passed fine | 03:56 |
shorne | Sorry, I mean, for me, I can see the -I's are being passed during the compile phase | 03:57 |
shorne | but during link phase its not adding the -L's if that makes sense | 03:57 |
shorne | I dont have any special LDFLAGS/CFLAGS set | 03:58 |
mithro | What do you have in /home/tansell/github/timvideos/HDMI2USB-litex-firmware/third_party/litex/litex/build/sim/core/modules/variables.mak ? | 04:00 |
shorne | https://gist.github.com/2bc9e612094d159bbd8bf330b668d8b8 | 04:01 |
tpb | Title: variables.mak · GitHub (at gist.github.com) | 04:01 |
shorne | NOthing special | 04:02 |
shorne | mithro: do you know where we inject build/conda/... paths into LDFLAGS / CFLAGS? | 04:08 |
shorne | is that build into the conda binaries with RPATH or something/ | 04:09 |
shorne | ? | 04:09 |
shorne | mithro: It looks like it... one minute | 04:14 |
mithro | ./build/conda/bin/x86_64-conda_cos6-linux-gnu-cc -print-search-dirs ? | 04:17 |
shorne | yeah... I ran it | 04:22 |
CarlFK[m]1 | mithro: pong | 04:23 |
shorne | mithro: it seems to be looking for stuf under, ./build/conda/x86_64-conda_cos6-linux-gnu/ | 04:24 |
shorne | but libs get installed under ./build/conda/lib | 04:25 |
shorne | ok, I am going to remote verilator and these toolchains for now | 04:28 |
shorne | need to work on something else | 04:28 |
mithro | shorne: I have to run too | 04:34 |
*** rohitksingh_work has quit IRC | 07:02 | |
*** theshaun has quit IRC | 07:15 | |
*** theshaun has joined #timvideos | 07:15 | |
*** puck_ has quit IRC | 07:17 | |
*** puck_ has joined #timvideos | 07:20 | |
shorne | _florent_: you were right booting sim in pure litex environment works fine, something wrong with the litex-buildenv setup | 07:41 |
shorne | (with network) it works | 07:41 |
*** puck_ has quit IRC | 07:41 | |
*** puck_ has joined #timvideos | 07:45 | |
shorne | ok, works under litex-buildenv now | 07:59 |
*** cr1901_modern has quit IRC | 08:06 | |
shorne | now I can try to boot linux on it, I heard this will run very slowly | 08:09 |
shorne | but how do we debug (gdb) the verilator simulator : | 08:24 |
shorne | ? | 08:24 |
shorne | ill be off | 08:24 |
*** mauz555 has joined #timvideos | 08:48 | |
*** rohitksingh_work has joined #timvideos | 08:55 | |
*** cr1901_modern has joined #timvideos | 09:26 | |
*** rohitksingh_work has quit IRC | 12:28 | |
*** maks_ has joined #timvideos | 13:01 | |
*** maks_ has quit IRC | 13:03 | |
*** rohitksingh has joined #timvideos | 13:06 | |
*** mauz555 has quit IRC | 13:11 | |
*** sc00bz1 has joined #timvideos | 13:14 | |
*** mauz555 has joined #timvideos | 13:18 | |
*** sc00bz has quit IRC | 13:18 | |
*** mauz555_ has joined #timvideos | 13:31 | |
*** mauz555 has quit IRC | 13:35 | |
*** rohitksingh has quit IRC | 13:38 | |
*** rohitksingh has joined #timvideos | 13:52 | |
*** swalladge_ has quit IRC | 13:57 | |
*** tac-tics has joined #timvideos | 17:14 | |
*** rohitksingh has quit IRC | 18:10 | |
*** rohitksingh has joined #timvideos | 18:11 | |
*** rohitksingh has quit IRC | 18:18 | |
*** rohitksingh has joined #timvideos | 19:07 | |
*** swalladge_ has joined #timvideos | 19:41 | |
*** rohitksingh has quit IRC | 19:58 | |
*** cr1901_modern has quit IRC | 22:36 | |
mithro | cr1901_modern: you made El Corro Libre newsletter | 22:36 |
*** cr1901_modern has joined #timvideos | 22:38 | |
*** Kripton has quit IRC | 22:41 | |
*** Kripton has joined #timvideos | 23:02 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!