Sunday, 2021-04-11

*** tpb has joined #litex00:00
*** thorns514 has quit IRC00:31
*** Degi_ has joined #litex00:56
*** Degi has quit IRC00:59
*** Degi_ is now known as Degi00:59
*** FFY00_ has quit IRC01:17
*** FFY00_ has joined #litex01:26
Bleepshop_florent_: Did you happen to extract a copy of the gateware from your RV901T before you reflashed it ?02:33
* Bleepshop wants to see a copy before abusing his board.02:34
*** futarisIRCcloud has joined #litex04:34
*** FFY00_ has quit IRC04:49
*** futarisIRCcloud has quit IRC06:43
*** Bertl is now known as Bertl_zZ07:07
Melkhior_florent_ Found the issue with Ethernet I think, device tree issue, PR litex #877 to patch json2dts08:54
*** kgugala_ has joined #litex10:01
*** kgugala has quit IRC10:03
*** kgugala has joined #litex11:02
*** kgugala_ has quit IRC11:05
*** m4ssi has joined #litex11:08
*** kgugala_ has joined #litex11:30
*** kgugala has quit IRC11:31
_florent_Melkhior: Thanks, I remember spending a few hours on this also recently: https://github.com/enjoy-digital/litex/commit/7abfbd9825188d1f6d97453838e18ed7af5526a7#diff-6bac543d87df6681b46e337de366d43284e9d06de14e43108fe407fb29c4c69f12:38
_florent_I'll have a close look at #877 tomorrow to see what has changed since the last time I tested Ethernet with IRQs12:39
Melkhior_florent_ From my understanding, LInux somehow look-up the 'interrupt-parent' property where it causes trouble ; I just moved it down into each device that needs it... and since then I've been able to compiler bash and some of binutils (ongoing) natively in Litex from/to a NFS filesystem.12:51
MelkhiorNetwork is not very stable for SSH (which loses the connection quite often, 'screen' is mandatory there), but NFS is quite tolerant to bad network and the SoC keeps going on through the '[15481.843109] nfs: server 192.168.X.Y not responding, still trying / [15482.914571] nfs: server 192.168.X.Y OK ' messages12:51
MelkhiorMy switch tells me the interface is set to Gigabit, that probably is too fast for the four 100 MHz Vexriscv (and just one get the interrupt it seems:12:51
Melkhiorroot@buildroot:~# cat /proc/interrupts |grep eth012:51
Melkhior  2:     437050          0          0          0  SiFive PLIC   2  eth012:51
Melkhior)12:51
Melkhiorbut I don't know how to tells Linux to fallback to Fast Ethernet, and I've yet to try forcing the switch to see what happens.12:51
MelkhiorAnyway I now have an Ethernet interface doing what I want it to do :-)12:51
MelkhiorThanks again for the great work!12:51
MelkhiorLast note: I've created the interface with 'nrxslots=16' don't know if/how much it helps.12:53
MelkhiorIt seems forcing the switch to 100 MBits a) causes no issue whatsoever b) is faster/more reliable for my use case, I'm guessing I'm dropping a lot fewer packets13:31
*** kgugala has joined #litex13:35
*** kgugala_ has quit IRC13:37
*** kgugala_ has joined #litex14:49
*** kgugala has quit IRC14:51
*** Bertl_zZ is now known as Bertl15:31
*** peeps[zen] has quit IRC16:21
*** peepsalot has joined #litex16:22
Melkhior3 hours of non-stop compiling on NFS with the 100 Mbit setting, not a single SSH disconnection or 'nfs server not responding' :-)16:43
Melkhiorbinutils built & installed16:43
Melkhiorkudos for the stability, and the Qmtech Wukong seems like a good cheap option for Litex on Artix-7 100T at this time!16:46
MelkhiorOnly missing the keyboard, I now see the interrupt in /proc/interrupts (fixed by the Ethernet fix), but it stubbornly stays at 0, probably need to set the type somehow ('IRQ_TYPE_EDGE_FALLING')16:46
MelkhiorKudos again16:46
*** FFY00_ has joined #litex17:44
*** FFY00_ has quit IRC17:46
*** FFY00_ has joined #litex17:47
*** FFY00_ has quit IRC17:55
*** FFY00_ has joined #litex17:57
*** FFY00_ has quit IRC17:58
*** FFY00_ has joined #litex17:59
*** indy has quit IRC19:37
*** indy has joined #litex19:43
sajattack[m]<dkozel "Is there a way to load a new bit"> dkozel, I've been trying to figure this out too but haven't been able to get it working let me know if you do first.20:11
sajattack[m]I set up the spiflash the way florent said but it just reads 0xff and fails to erase while programming20:12
sajattack[m]maybe we can figure it out together20:12
*** FFY00_ has quit IRC21:16
*** FFY00_ has joined #litex21:17
*** TMM has quit IRC22:03
*** TMM has joined #litex22:03
*** m4ssi has quit IRC22:08
*** lf has quit IRC23:31
*** lf has joined #litex23:32
*** thorns514 has joined #litex23:57
*** thorns514 has quit IRC23:59

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