Tuesday, 2019-01-08

*** tpb has joined #timvideos00:00
CarlFKmithro: you might know a thing or two about chorome - how do I set a header?00:38
CarlFKtumbleweed: you might know what header I need to yoink to do auth things at  https://lca2019.linux.org.au/schedule/conference.json ;)00:40
mithroxobs: Morning00:43
xobsmithro: afternoon! welcome back.00:43
mithroxobs: The auto_crc stuff now seems to work with the parallel CRC00:43
xobs:D00:44
mithroxobs: I'm a bit worried that it might use up a lot of resources...00:44
xobsOh. I could definitely see that.00:44
xobsFor right now, it seems like what we really need is that state machine, which I need to look into hooking up.00:45
xobsThough we'll need CRC16 if we want to be accurate in our transmission of "ACK".00:45
mithroxobs: Well, sending a packet and receiving a token should both work00:45
mithroxobs: So I'm about to hook together the Transaction statemachine00:46
*** TheAssassin has quit IRC00:53
*** TheAssassin has joined #timvideos00:58
* xobs uploaded an image: image.png (24KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/FcKOkZLwxheykqitmNudqnWA >03:40
xobsI'm amazed that error is even /in/ Windows still:03:40
xobsmithro: this is still in simulation, correct?03:54
mithroxobs: yes03:54
*** rohitksingh_work has joined #timvideos04:54
*** thaytan has quit IRC05:07
*** thaytan has joined #timvideos05:07
*** ChanServ sets mode: +v thaytan05:07
*** rohitksingh has joined #timvideos05:28
*** TD-Linux has quit IRC06:41
*** TD-Linux has joined #timvideos06:45
*** rohitksingh has quit IRC06:48
*** rohitksingh has joined #timvideos06:55
*** rohitksingh has quit IRC07:28
*** jimmo_ has quit IRC08:11
*** daveshah has quit IRC08:12
*** jimmo_ has joined #timvideos08:12
*** daveshah has joined #timvideos08:12
*** rohitksingh has joined #timvideos08:24
*** rohitksingh has quit IRC09:44
*** rohitksingh has joined #timvideos09:59
*** rohitksingh has quit IRC11:32
*** rohitksingh has joined #timvideos12:11
*** rohitksingh_work has quit IRC13:25
*** rohitksingh has quit IRC13:25
*** futarisIRCcloud has joined #timvideos14:13
*** rohitksingh has joined #timvideos14:15
*** cr1901_modern1 has joined #timvideos14:43
*** cr1901_modern has quit IRC14:46
*** cr1901_modern1 has quit IRC15:16
*** cr1901_modern has joined #timvideos15:16
*** rohitksingh has quit IRC16:26
*** futarisIRCcloud has quit IRC16:33
*** rohitksingh has joined #timvideos17:11
*** CarlFK has quit IRC17:38
*** rohitksingh has quit IRC18:34
*** CarlFK has joined #timvideos18:35
*** ChanServ sets mode: +v CarlFK18:35
felix_mithro: for a parallel crc implementation https://github.com/enjoy-digital/liteeth/blob/master/liteeth/core/mac/crc.py is worth a look21:26
tpbTitle: liteeth/crc.py at master · enjoy-digital/liteeth · GitHub (at github.com)21:26
felix_my sdi crc is a modified version of that code and i'm planning have one generic crc implementation that is customizeable enough to be used in liteeth, litesata and photonsdi (not sure if there's also a crc implementation in litepcie)21:26
mithrofelix_: doah! Should have thought of that...22:23
*** CarlFK has quit IRC22:24
mithrofelix_: I bet _florent_'s version users a lot less resources then mine...22:29
felix_oh. but i also had implemented my own parallel crc (that didn't work for the sdi case, since they count the crc state bits in the other direction) and then moved to florents crc implementation, becaus ethat was much nicer to debug22:29
felix_apart from the last block it's pure python, so i could just add a print statement and see if i get the expected xor lists for the different bits22:30
felix__florent_: what do you think about the idea to factor out things like the crc into litex/litex/buildingblocks/ (or something like that or maybe a seperate lite* project) ? from photonsdi i'll eventually have crc, lfsr en/decoder, hamming en/decoder and maybe bch if i'll get to implement the audio side, that aren't sdi specific and are likely useful for other things too. of course only after the code i22:35
felix_have is tested, debugged and has some test cases22:35
_florent_felix_: yes sure, for modules that are generic enough, we could put them in litex22:38
_florent_mithro: where is your CRC?22:38
felix_yeah, i'll make them a bit more generic before that, but wanted to know if you'd like the idea before i spend time on that22:40
_florent_mithro: the synthesis tool should also be able to the optimization that are done in liteeth crc, it was just done here to avoid polluting to much the generated verilog22:40
_florent_mithro: so not sure it use less ressources22:40
mithro_florent_: https://github.com/mithro/valentyusb/blob/usb12/valentyusb/usbcore/tx/crc.py#L192-L49123:34
tpbTitle: valentyusb/crc.py at usb12 · mithro/valentyusb · GitHub (at github.com)23:34
*** ewen has joined #timvideos23:42
ewenmithro: While attempting to build Linux for Arty (re-testing LCA2018 workshop) I'm running into issue building linux, saying it cannot find stdarg.h (which is part of gcc) while building scripts/mod/devicetable-offsets.s.  Have you seen this before?23:44
ewenmithro: I *think* I've now conda updated enough things (but possibly not).23:44
mithroewen: Hrm, CarlFK[m] has done that recently...23:44
ewenCarlFK[m]: ^^^ Did you run into stdarg.h missing issue?  Did you find a fix?23:45
CarlFK[m]mithro that doesn't sound familiar. I'll have a look in 30 minutes to an hour and see what the state of things is23:46
CarlFK[m]ewen: what is your schedule like for the next 4 hours, I can shuffle things around to help you get going23:46
ewenCarlFK[m]: Thanks.  I'll keep exploring and see if I can figure out why it can't find it.  (There are multiple stdarg.h files in what look like relevant places.)23:46
ewenCarlFK[m]: No rush.  I'm just doing a re-test of things that worked in 2018, before LCA2019 hackathon...23:47
mithroewen: Will you be at LCA?23:47
ewenmithro: Yes.  And at the LCA2019 pre-hackathon from Thursday (next week).23:47
mithroewen: Oh, awesome!23:48
mithroewen: I will be bringing Fomu hardware!23:48
CarlFK[m]ewen: URL you are working from?23:48
ewenmithro: Great!  I'd hoped you would.23:48
ewenCarlFK[m]: https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf (which is a Wiki translation of the Google Doc from LCA2018 tutorial, translated by mithro I think)23:49
tpbTitle: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com)23:49
CarlFK[m]Good, wanted to make sure you weren't working off the original Google doc.  Okay, I'm off for 20 to 30 minutes23:49
ewenmithro: Testing by hand with "make V=1" (to show full commands) it looks like or1k-elf-newlib-gcc is launched with "-nostdinc -isystem /src/fpga/litex-buildenv/build/conda/bin/../lib/gcc/or1k-elf/5.4.0/include ...", but now the compiler is updated to newer version so that directory does not exist.23:58
ewenmithro: now: or1k-elf-newlib-gcc (8.2.0_3006_g592479378c3) 8.2.023:59

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