Tuesday, 2018-06-26

*** tpb has joined #timvideos00:00
*** Elwell has joined #timvideos00:03
*** swalladge has quit IRC00:29
*** Elwell_ has joined #timvideos00:29
*** Elwell has quit IRC00:30
*** swalladge has joined #timvideos00:30
*** CarlFK has quit IRC01:18
*** CarlFK has joined #timvideos02:07
*** ChanServ sets mode: +v CarlFK02:07
xobsfutarisIRCcloud: That's what I've got going, yes.  GDB over Ethernet.  The Wishbone interface is super janky, and I suspect it's possible to hook it up much better.  Right now I'm manually strobing the VALID line, for example, and writing directly to both the DATA and ADDRESS registers.02:14
xobsI'm guessing the 8-bit limitation comes from wishbonebridge.py:WishboneStreamingBridge which seems to hardcode 8-bit values.  I think I understand the design reasons behind that decision.02:51
*** rohitksingh_work has joined #timvideos03:41
*** cr1901_modern has quit IRC04:33
*** cr1901_modern has joined #timvideos04:33
*** rohitksingh_wor1 has joined #timvideos05:21
*** rohitksingh_work has quit IRC05:21
*** sb0_ has quit IRC05:52
*** cr1901_modern has left #timvideos05:58
*** Elwell_ has quit IRC06:00
*** Elwell has joined #timvideos06:01
_florent_xobs: we are using 8-bit CSRs since it seems to reduce resources usage on CSR bus, but you can also use 32-bit CSRs06:18
_florent_you just have to set csr_data_width=32 in the SoC06:19
_florent_if you are using the 8-bit CSRs and want atomic writes, you have to use the atomic write parameter on the CSR register06:19
_florent_the wishbone bridge works for 8-bit and 32-bit, so if you find more convenient to work with 32-bit registers you can use that06:21
*** cr1901_modern has joined #timvideos06:24
xobs_florent_: I see, thank you.  32-bit access might improve performance for VexRisc-V debugging.  I'll have to check.06:31
*** sb0 has joined #timvideos06:40
*** Elwell has quit IRC08:45
*** futarisIRCcloud has quit IRC08:52
*** Elwell has joined #timvideos08:58
xobs_florent_: Would you be amenable to a patch that replaced MMPTR() in csr.h with a readl()/writel()/readb()/writeb() implementation?  That way I can #include "csr.h" in some code running on my PC and call the accessors in csr.h, as long as I provide an EtherBone implementation of those functions.09:36
*** Elwell has quit IRC10:31
*** Elwell has joined #timvideos10:42
*** hyadez has quit IRC10:50
*** hyadez has joined #timvideos11:00
*** sb0 has quit IRC11:10
*** sb0 has joined #timvideos11:59
*** rohitksingh_wor1 has quit IRC12:36
_florent_xobs: yes, that's fine. If you do that, you can add a parameter to the get_csr_header function to enable that.12:48
xobsHmm... I set a 32-bit csr width, but pokes into RAM are only updating the bottom 16 bits.  I wonder if Bunnie used 16-bit DDR, and it's not properly splitting the writes.13:10
CarlFKxobs futaris[m]:   HI!  I have a friend in Chicago that wants to try writing the linux driver side of the "Love-Rusty 3000"  ... and I may be able to find someone to do the fpga side of that...   but I am not lost and need directions ... help?13:37
xobsCarlFK: Love-Rusty 3000?13:41
CarlFK Creating a peripheral providing the Love-Rusty 3000 feature set and adding to your SoC.   https://linux.conf.au/programme/miniconfs/fpga/13:41
tpbTitle: linux.conf.au 2018 - Sydney 22-26 January 2018 (at linux.conf.au)13:41
CarlFKhttps://docs.google.com/document/d/e/2PACX-1vTCbsWycq6HTfIet-ynicf76VEKOLt_k_Bya3OOWKpDCZL3yIphy-CR5GNfPaQCfUt0PUIHDY_ugxWL/pub#h.6bcdftf66eq413:41
tpbTitle: Love Rusty 3000 - Techsheet (at docs.google.com)13:41
*** Elwell has quit IRC13:43
xobsHuh.  I don't remember the Love-Rusty bit from the workshop.  Strange.  What do you need direction towards?13:47
CarlFKit was planned to be in the workshop, but got pulled due to non existence  ;)13:48
CarlFKI'm trying to play manager and get people to do the work to make it exist13:49
CarlFKI have a people that wants to work, not I need to give her something to work on13:50
CarlFKnot/now13:50
CarlFKI think the goal is for the workshop to include: user space C code -> linux driver C code -> fpga defined hardware  (something outside the linux/soft cpu ... space?)13:53
xobsWell, the general order of operations seems to be Hardware -> Software, so getting the FPGA stuff done first, then poke bits from userspace.14:50
CarlFKsure - but at some point there should be some sort of spec - if that exists the linux driver side can be done now and fixed later if the spec changes15:32
CarlFKgiven I have someone that wants to write the driver right now15:33
CarlFKand if I had said spec, I might be able to get someone to do the hardware side right now too15:33
*** Elwell has joined #timvideos21:13
*** Elwell_ has joined #timvideos21:21
*** Elwell has quit IRC21:21
TheAssassinmithro: re. scaler thingy: couldnt the netv 2 be suitable for this purpose?23:43
TheAssassin(topic's coming from #voc-lounge)23:44
mithroTheAssassin: If you want 1080p60 as your highest resolution - yes23:44
TheAssassinI assume that's good enough :)23:44
TheAssassinI need to sell this atlys device soon23:44
mithroTheAssassin: Having an Atlys will let you debug if the issue is with the NeTV2 or with the code...23:47
TheAssassinsure... but I guess I'll be more of a consumer of your stuff than being able to contribute23:48
TheAssassinI'm an open source dev23:48
TheAssassinI don't have those 8 hour days where you come home and know "now I have a few hours for other stuff" :)23:48
*** futarisIRCcloud has joined #timvideos23:49
TheAssassinmithro: if one of your GSoC in Europe should need an atlys, though, they may contact me23:51
TheAssassinGSoC students*23:51
futarisIRCcloudCarlFK: doing software/firmware/drivers first is doable.  But generally hardware is done first, because it gets "fixed" in a IC first. top down vs bottom up.23:52
futarisIRCcloudCarlFK: For a soft version, write a user-space app, then convert it to a kernel driver. Get someone to write the Verilog / hardware, and replace the soft call in the driver to use the hardware offload.23:53
CarlFKfutarisIRCcloud: to get someone to write anything I need description of what this stuff will do23:56

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