Saturday, 2021-09-04

*** tpb <[email protected]> has joined #litex00:00
*** indy <[email protected]> has joined #litex00:00
*** awordnot <[email protected]> has joined #litex00:00
*** acathla <[email protected]> has joined #litex00:01
*** simeonm <[email protected]> has joined #litex00:04
*** Degi_ <[email protected]> has joined #litex00:10
*** Degi <[email protected]> has quit IRC (Ping timeout: 252 seconds)00:11
*** Degi_ is now known as Degi00:11
*** Emantor <[email protected]> has quit IRC (Quit: ZNC - http://znc.in)01:20
*** Emantor <[email protected]> has joined #litex01:22
*** esden <[email protected]> has quit IRC (Ping timeout: 240 seconds)02:02
*** esden <[email protected]> has joined #litex02:02
*** shorne <[email protected]> has quit IRC (Ping timeout: 240 seconds)02:18
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)02:54
*** TMM_ <[email protected]> has joined #litex02:54
*** shorne <[email protected]> has joined #litex04:40
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex05:11
sajattack[m]is there a group I can add my user to so I don't need sudo for litepcie_util et al?05:14
sajattack[m]oh, do I just chmod /dev/litepcie0?05:15
sajattack[m]trying to write the rust equivalent of liblitepcie05:32
sajattack[m]and don't really want my test runner running as root05:32
sajattack[m]got this working, pretty pleased05:58
sajattack[m]https://hatebin.com/ehcdvetpaz05:58
tpbTitle: hatebin (at hatebin.com)05:58
sajattack[m]with my own litepcie_readl and litepcie_writel05:59
sajattack[m]not just bindings05:59
*** shorne_ <[email protected]> has joined #litex07:36
jevinskie[m]sajattack: I was able to make a litex_privesc runner for litex_sim that uses ambient capabilities to set up networking but I’m not sure if there is a capability for pcie access (same one as dev/mem maybe?)07:36
sajattack[m]I haven't used the sim much07:36
sajattack[m]I'm trying to run litex linux with the uart using litepcie07:37
*** shorne <[email protected]> has quit IRC (Ping timeout: 256 seconds)07:38
sajattack[m]so I don't need a ftdi cable going into my pc basically lol07:38
sajattack[m]oh, you were referring to my question about the privileges07:38
sajattack[m]yeah it's probably whatever in linux mounts stuff with certain privileges07:39
sajattack[m]too lazy to google rn, happy to just chmod07:40
*** pftbest <[email protected]> has joined #litex07:46
*** pftbest <[email protected]> has quit IRC (Remote host closed the connection)07:46
*** pftbest <[email protected]> has joined #litex08:40
*** pftbest <[email protected]> has quit IRC (Remote host closed the connection)09:24
*** pftbest <[email protected]> has joined #litex09:33
*** Coldberg <[email protected]> has quit IRC (Ping timeout: 252 seconds)09:49
*** Coldberg <[email protected]> has joined #litex09:51
*** pauluzs <pauluzs!~Pauluzs@2a02:a461:635a:1:9165:5481:232:22dd> has quit IRC (Remote host closed the connection)13:05
*** pauluzs <pauluzs!~Pauluzs@2a02:a461:635a:1:ca8b:513b:6f51:add4> has joined #litex14:11
*** pftbest <[email protected]> has quit IRC (Ping timeout: 252 seconds)14:23
*** pftbest <[email protected]> has joined #litex14:38
*** pftbest <[email protected]> has quit IRC (Remote host closed the connection)15:00
*** pftbest <[email protected]> has joined #litex15:20
*** pftbest <[email protected]> has quit IRC (Ping timeout: 252 seconds)15:24
*** pftbest <[email protected]> has joined #litex15:41
*** pftbest <[email protected]> has quit IRC (Remote host closed the connection)16:07
*** pftbest <[email protected]> has joined #litex16:23
*** pftbest <[email protected]> has quit IRC (Ping timeout: 252 seconds)16:27
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Read error: Connection reset by peer)16:46
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex16:48
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 256 seconds)18:44
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)18:46
*** TMM_ <[email protected]> has joined #litex18:46
bluecmdsajattack: did you manage to figure out your PCIe issue in the end?19:35
sajattack[m]not for linux-vexriscv19:35
sajattack[m]I've got the litex-boards pcie working19:36
sajattack[m]but the linux just seems broken when I try to add pcie to it19:36
kbeckmann_florent_: Just an update regarding the SDRAM read latency we discussed earlier: I managed to get the latency down to 10 cycles in the worst case (@50MHz). I changed to 1:1 gearing, and a 16 bit read port. I also drive the bus data signals with the read port directly while rdata.valid is high, so saved a cycle there too. I disable the refresh timer while a transaction is active (~100us in the worst22:21
kbeckmanncase). Have tested it now with default speeds and it seems to work quite well.22:21
*** pftbest <[email protected]> has joined #litex23:29
jevinskie[m]kbeckmann: awesome news! :)23:35
jevinskie[m]I realized I can get 128 bits, four words per DFI cycle not one as I was misunderstanding, on the arty and that might just make my SPI emulator feasible with enough readahead23:37
jevinskie[m]@florent: is it expected that the sdram_calib will KO with errors on an arty with current, unmodified litex repos? That’s what I’m seeing even though the memtest reports OK23:39

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!