_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
lf has quit [Ping timeout: 276 seconds]
lf has joined #litex
<sajattack[m]> what address do I give prog.flash for acorn_cle_215?
Degi_ has joined #litex
Degi has quit [Ping timeout: 252 seconds]
Degi_ is now known as Degi
proteus-guy has quit [Remote host closed the connection]
<sajattack[m]> _florent_: getting these errors from vivado after your latest changes to sqrl https://hatebin.com/deosmobfzn
<tpb> Title: hatebin (at hatebin.com)
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 246 seconds]
Degi_ is now known as Degi
indy has quit [Ping timeout: 248 seconds]
cr1901_modern has joined #litex
zyp has quit [Ping timeout: 265 seconds]
pftbest has joined #litex
indy has joined #litex
Bertl_oO is now known as Bertl_zZ
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Ping timeout: 246 seconds]
zyp has joined #litex
peepsalot has quit [Ping timeout: 240 seconds]
peepsalot has joined #litex
<sajattack[m]> this seems bad https://hatebin.com/bgqvncwjur
<tpb> Title: hatebin (at hatebin.com)
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
<sajattack[m]> this seems better `[ 3283.454953] litepcie 0000:01:00.0: Version LiteX SoC on Acorn CLE-101/215(+) 2021-03-28 03:07:37`
<sajattack[m]> I think the trick was live reloading, since I can't get persistent flash to work, previously the bitstream was getting corrupted when the system rebooted
<sajattack[m]> dma test still says 0 gbps
<sajattack[m]> hm
<sajattack[m]> scratch test works
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
<sajattack[m]> are the dma and wishbone endpoints not included by default?
pftbest_ has joined #litex
pftbest has quit [Ping timeout: 246 seconds]
<sajattack[m]> if anyone has a fully loaded litepcie config for acorn cle-215+ I'd appreciate it
<sajattack[m]> barebones is great for building upon, but not great for testing if things are working
pftbest_ has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
Bertl_zZ is now known as Bertl
<_florent_> sajattack[m]: One DMA channel (both TX and RX) is included in the default PCIe config. I also tested it on the bitstream I provided.
<_florent_> The issue could be specific to your config (Linux and/or hardware), for info I was testing on Ubuntu 18.04 with a Intel machine.
<_florent_> Also I remember we had to update the DMA buffer allocation on a recent Linux kernel for a client and I'm not sure the changes have been integrated in LitePCIe.
<_florent_> The issue was very similar: MMAP working (Registers) but DMA was crashing the machine, but we were seeing the error with dmesg
pftbest_ has joined #litex
pftbest has quit [Ping timeout: 246 seconds]
pftbest_ has quit [Remote host closed the connection]
pftbest has joined #litex
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined #litex
<Melkhior> _florent_ Couldn't get ethernet to work in Linux (it was netbooting alright), but as the micro-sd card works, I've tried a sdcard root, worked fine...
<Melkhior> So i decided to up the ante a bit, and now I have booted a yocto 'core-image-full-cmdline' on a quad-core RV32GCBK (RV32IMAFDC + bitmanip & crypto) :-)
<Melkhior> Only apparent problem is a '(agetty)' process eating up a core and the kernel complaining about it in dmesg; it's owned by hvc0 so I'm guessing xen-related stuff I need to get rid off
<leons> Melkhior: how did you get LiteEth to work? did netboot always work or did you have to do something there (since I have the same issue)
<Melkhior> I didn't do much beyond fixing the definition for my board so that it auto-detected properly as GMII_MII ; as far as I can tell it then fall-back to MII mode (fast ethernet) in the BIOS and that mostly works - sometimes I've had netbooting failed weirdly... (usually displaying a larger/smaller file downloaded that it should have)
<Melkhior> auto-selection of MII is done because the sys-clk is < 125 MHz (I'm running at 80 MHz)
<Melkhior> I tried a 125 MHz stripped-down core & buildroot, but it didn't netboot (sd-card worked perfectly)
<leons> Melkhior: I see, thanks. I'm running at 200MHz, so sadly that's probably a different problem then
<leons> You didn't add any constraint regarding the tx clock manually, so it's correctly generated by the rx clock?
<Melkhior> Myabe linux is using GbE instead of FE for me
<Melkhior> yes, as far as I can tell for MII
<leons> okay, thanks. I'll keep digging then. :)
<Melkhior> if your interface can do MII instead of GMII, you might want to force the mode to be auto-detected as MII
<Melkhior> (or do a run at 100 MHz)
<Melkhior> force at 1 to get MII
<Melkhior> _if_ you have a GMII_MII interface
<Melkhior> don't know if there's something similar for the RGMII interface
<leons> Makes sense, thanks. For my application I actually must use 1000Base-T, so that's unfortunate :)
<leons> It seems to work when I manually add a constraint for the tx clock, but I'm pretty sure that's not how it's supposed to work, given that phase offsets between the clocks probably have to be enforced
<leons> And the fact that only some NICs like it only fosters my suspicion there. :)
<Melkhior> does it work only in the BIOS or in Linux as well ?
ranzbak has quit [Quit: WeeChat 1.9.1]
<Melkhior> @leons with the extra clock constraints I mean
dasdgw has joined #litex
ranzbak has joined #litex
<leons> Melkhior: sorry, haven't checked yet, going to tomorrow. I don't use Linux, but another embedded OS on there. I don't however see how that should matter, given that all access (also from the BIOS) AFAIK go through the standard CSR interface?
FFY00_ has quit [Remote host closed the connection]
pftbest has quit [Remote host closed the connection]
HoloIRCUser has joined #litex
dasdgw has quit [Ping timeout: 246 seconds]
lf has quit [Ping timeout: 250 seconds]
lf has joined #litex
pftbest has joined #litex