Monday, 2021-11-29

*** tpb <[email protected]> has joined #litex00:00
*** Degi_ <[email protected]> has joined #litex02:15
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds)02:16
*** Degi_ is now known as Degi02:16
*** rlittl01 <[email protected]> has quit IRC (Ping timeout: 260 seconds)05:22
*** rlittl01 <[email protected]> has joined #litex05:22
*** rlittl01 <[email protected]> has quit IRC (Ping timeout: 265 seconds)05:29
*** rlittl01 <[email protected]> has joined #litex05:48
*** joseng <[email protected]> has quit IRC (*.net *.split)06:02
*** DoubleJ <DoubleJ!~DoubleJ@user/doublej> has quit IRC (*.net *.split)06:02
*** Finde <[email protected]> has quit IRC (*.net *.split)06:02
*** shenki <[email protected]> has quit IRC (*.net *.split)06:02
*** x56 <x56!0x56@user/x56> has quit IRC (*.net *.split)06:02
*** keesj <[email protected]> has quit IRC (*.net *.split)06:02
*** shenki <[email protected]> has joined #litex06:02
*** DoubleJ <DoubleJ!~DoubleJ@user/doublej> has joined #litex06:02
*** Finde <[email protected]> has joined #litex06:02
*** keesj <[email protected]> has joined #litex06:02
*** x56 <x56!0x56@user/x56> has joined #litex06:04
*** joseng <[email protected]> has joined #litex06:05
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (*.net *.split)06:06
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex06:08
*** linear_cannon <[email protected]> has quit IRC (Ping timeout: 265 seconds)06:10
*** _franck_ <[email protected]> has quit IRC (Ping timeout: 256 seconds)06:12
*** _franck_9 <[email protected]> has joined #litex06:12
*** linear_cannon <[email protected]> has joined #litex06:14
*** indy <[email protected]> has quit IRC (Ping timeout: 250 seconds)07:04
*** FabM <FabM!~FabM@2a03:d604:103:600:3779:4c93:d32a:b25f> has joined #litex07:18
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Remote host closed the connection)07:27
*** FabM <FabM!~FabM@2a03:d604:103:600:743c:780:4957:903d> has joined #litex07:28
*** essele <[email protected]> has joined #litex08:15
*** _franck_9 is now known as _franck_08:28
*** jeffdi <[email protected]> has quit IRC (Quit: Leaving.)09:10
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)10:16
*** TMM_ <[email protected]> has joined #litex10:16
*** essele <[email protected]> has quit IRC (Read error: Connection reset by peer)14:45
tntMmm ... I have a test design where if I build with pcie_x8 gen 3 and 256b data width, then /litepcie_util dma_test just hangs and doesn't do anything.14:59
tntBut if built with pcie_x4 gen 3 and 128b data width, it works fine.14:59
tntNote that in both cases, the board is recognized and shows up in lspci and the 'info' and 'scratch_test' command seem to work just fine.14:59
*** indy <[email protected]> has joined #litex15:16
_florent_tnt: Are you also passing the 256b data_width to the PHY wrapper? ex: https://github.com/enjoy-digital/litepcie/blob/master/examples/kcu105.py#L6815:20
tnt_florent_: "Also" ? I am just passing it there.15:22
tnthttps://pastebin.com/hpwmv7ej15:22
tpbTitle: self.submodules.pcie_phy = USPPCIEPHY(platform, platform.request("pc - Pastebin.com (at pastebin.com)15:22
tntI'm still using the add_pcie wrapper, no custom endpoints yet.15:22
_florent_ok, so this is similar to the configuration that was tested, strange15:25
tntsys_clk is 125 MHz rather than 200 MHz, not sure if that's an issue.15:26
*** jeffdi <[email protected]> has joined #litex15:27
_florent_that could be worth doing a test with a higher sys_clk yes, the PCIe side is running at 256-bit/250MHz, so 2X the sys_clk, the issue could be in the CDC15:35
tntTrying that now. Not sure if the DDR4 can do 4*200 MHz though.15:36
_florent_At 200MHz, Vivado will probably complains about the max BUFG frequency, maybe just try at first 150MHz, which will already reduce the CDC ratio below 215:47
tnt... I did echo 1 >  remove on the nvme root drive instead of the xilinx card ...15:57
tntNow how do you reboot a remove machine without the 'reboot' command ? :/15:59
tntGot it :)  "echo b > /proc/sysrq-trigger"16:00
tnt_florent_: no luck, still same behavior :/16:10
_florent_tnt: ok, not sure I understand why this is not working. One thing you can also try is to stay in gen3 X4 but set data_width=256 on the PHY. 128-bit <> 256-bit adapters will be inserted in the PHY wrapper and this should be optimal with your 125MHz clock (just able to saturate the link).16:17
*** essele <[email protected]> has joined #litex16:59
*** ilia__s7 <[email protected]> has joined #litex17:16
*** jersey99 <[email protected]> has joined #litex17:18
*** ilia__s <[email protected]> has quit IRC (Ping timeout: 250 seconds)17:19
*** ilia__s7 is now known as ilia__s17:19
jersey99Hello Litex .. I am having some problem booting code from a bootrom at a certain address (following instructions at the top of the page https://github.com/enjoy-digital/litex/wiki/Load-Application-Code-To-CPU). I managed to boot the same code via serialboot just fine. I do get the "Liftoff!" message, as I type "boot 0x20000000", and the actual boot17:59
jersey99never seems to happen. Any ideas?17:59
tnt_florent_: mmm, trying in x4 with width=256 locked up the whole machine when trying to load the litepcie.ko module.   (and ended this debug session until I can get someone local to reboot it ...)18:19
_florent_tnt: sorry... I could try re-do a test with a similar configuration in the next days (but don't think the code has changed in this since last test)18:42
_florent_jersey99: I could have a look if you can provide a minimal repro18:43
tnt_florent_: which vivado version are yo uusing btw ? I'm at 2021.2 now.  I also did have to update the .xci to use the right Quad. But I made the same change to the x8 as I made to x4 and that seemed to work fine.18:48
tntBut I might wait until I have a card locally for further pcie test to avoid the crash and move on to try and get the JESD link up.  I was busy last month with other stuff but picking up where I left of last time18:49
tntand x4 bw is enough anyway for now. The x8 was mosty just to make sure it worked.18:50
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)19:27
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex19:29
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Remote host closed the connection)19:59
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex19:59
*** bluecmd <bluecmd!~bluecmd@2001:470:69fc:105::1d44> has quit IRC (Ping timeout: 265 seconds)20:02
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (Ping timeout: 265 seconds)20:03
*** x56 <x56!0x56@user/x56> has quit IRC (Ping timeout: 265 seconds)20:03
*** x56 <x56!0x56@user/x56> has joined #litex20:04
*** bluecmd <bluecmd!~bluecmd@2001:470:69fc:105::1d44> has joined #litex20:16
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex20:19
_florent_tnt: BTW, not sure which version of LitePCIe you are using, but make sure you have this applied in the PHY wrapper:21:16
_florent_https://github.com/enjoy-digital/litepcie/commit/cb27ab8f85c5de03c6bedbe5ed91843089332dfa21:17
_florent_the issue was only triggering on servers, the fields does not seem to be check on regular PC21:18
_florent_but yes, for this kind of work, being able to work on the hardware locally will be a lot easier21:18
tnt_florent_: yup it's applied. I just did a full --update this morning before resuming work.21:19
tnt_florent_: btw, is there any examples for JESD ?21:19
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 264 seconds)21:24
_florent_tnt: I'll add one example to the repo or will share one 21:30
tnt_florent_: tx :)21:36
*** ilia__s <[email protected]> has quit IRC (*.net *.split)21:39
*** essele <[email protected]> has quit IRC (*.net *.split)21:39
*** jeffdi <[email protected]> has quit IRC (*.net *.split)21:39
*** TMM_ <[email protected]> has quit IRC (*.net *.split)21:39
*** joseng <[email protected]> has quit IRC (*.net *.split)21:39
*** tcal <[email protected]> has quit IRC (*.net *.split)21:39
*** rlittl01 <[email protected]> has quit IRC (*.net *.split)21:39
*** shorne_ <[email protected]> has quit IRC (*.net *.split)21:39
*** shaynal <[email protected]> has quit IRC (*.net *.split)21:39
*** trabucayre <[email protected]> has quit IRC (*.net *.split)21:39
*** lexano <lexano!~lexano@cpe00e06722f0e4-cm98524a70e35e.cpe.net.cable.rogers.com> has quit IRC (*.net *.split)21:39
*** nats` <nats`[email protected]> has quit IRC (*.net *.split)21:39
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has quit IRC (*.net *.split)21:39
*** guan <[email protected]> has quit IRC (*.net *.split)21:39
*** alanvgreen <[email protected]> has quit IRC (*.net *.split)21:39
*** somlo <[email protected]> has quit IRC (*.net *.split)21:39
*** simeonm <[email protected]> has quit IRC (*.net *.split)21:39
*** key2 <[email protected]> has quit IRC (*.net *.split)21:39
*** philpax_ <[email protected]> has quit IRC (*.net *.split)21:39
*** kbeckmann <[email protected]> has quit IRC (*.net *.split)21:39
*** kgugala <[email protected]> has quit IRC (*.net *.split)21:39
*** bjonnh <bjonnh!~jo@about/aquilenet/bjonnh> has quit IRC (*.net *.split)21:39
*** pavelow_ <[email protected]> has quit IRC (*.net *.split)21:39
*** tpw_rules <[email protected]> has quit IRC (*.net *.split)21:39
*** ilia__s <[email protected]> has joined #litex21:44
*** essele <[email protected]> has joined #litex21:44
*** jeffdi <[email protected]> has joined #litex21:44
*** TMM_ <[email protected]> has joined #litex21:44
*** joseng <[email protected]> has joined #litex21:44
*** rlittl01 <[email protected]> has joined #litex21:44
*** guan <[email protected]> has joined #litex21:44
*** alanvgreen <[email protected]> has joined #litex21:44
*** shorne_ <[email protected]> has joined #litex21:44
*** shaynal <[email protected]> has joined #litex21:44
*** tcal <[email protected]> has joined #litex21:44
*** somlo <[email protected]> has joined #litex21:44
*** simeonm <[email protected]> has joined #litex21:44
*** key2 <[email protected]> has joined #litex21:44
*** philpax_ <[email protected]> has joined #litex21:44
*** trabucayre <[email protected]> has joined #litex21:44
*** lexano <lexano!~lexano@cpe00e06722f0e4-cm98524a70e35e.cpe.net.cable.rogers.com> has joined #litex21:44
*** nats` <nats`[email protected]> has joined #litex21:44
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex21:44
*** kgugala <[email protected]> has joined #litex21:44
*** kbeckmann <[email protected]> has joined #litex21:44
*** bjonnh <bjonnh!~jo@about/aquilenet/bjonnh> has joined #litex21:44
*** pavelow_ <[email protected]> has joined #litex21:44
*** tpw_rules <[email protected]> has joined #litex21:44
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:27
*** TMM_ <[email protected]> has joined #litex22:27

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