<benh>
I have the vexriscv console, I'll play with microwatt and clean up my setup later
<_florent_>
but with #33 there is still an issue when unloading, so it's not yet merged
<benh>
_florent_: ah that PR has the fix for the missing includes
<benh>
I could help if I had a bit more time ... maybe ask joel ?
<zyp>
benh, I'm planning to play with usb over P2 eventually
<benh>
the little spare time I have I want to spend in integrating our interrupt controller in litex
<benh>
and maybe finally spend time on the CSR accessor business
<benh>
zyp: ok
<benh>
do those Artix support partial reconfig ?
<zyp>
AFAIK yes
<benh>
dunno if that's something mere mortals like us can use but it would be nice to have a fixed PCIe UART + management
<benh>
and be able to use that to reprogram whatever we hack on
<benh>
to avoid the jtag cable etc...
<benh>
that said I know nothing about how you practically use partial reconfig
<benh>
zyp: keep the USB thing optional, I don't want to accidentally fry something with my UART attached to it :-)
<benh>
isn't USB 5V ?
<_florent_>
benh: sure no problem, that was just for info, i haven't been able to look at it yet
<zyp>
benh, VBUS is 5V but signalling is 3.3V
<benh>
zyp: ah ok
<benh>
allright, bed time ! at least the toy works ! I though I'd never get it, it took 2 month to arrive
<benh>
Fabien (the seller in France) had given up and refunded me !
<benh>
I'm too nice, I sent him his money back via paypal :)
<benh>
this is the best bargain you can get for such a big Artix I reckon !
<benh>
there's a guy on evblog talking of doing a base board to host it that would provide a PCIe clock and a host slot
<zyp>
yeah, mine also took over a month
<benh>
_florent_: I'm thinking ...maybe mithro can get us some PCI device IDs...
<benh>
_florent_: we could do simpler than DT initially maube ... a little ROM that has the CSR "base" and a table of 8-bit IP "ID" (0 = nothing, 1 = UART etc..)
<benh>
or something simple like that
<benh>
a full DT would be better but runtime DT innjection in Linux isn't really a thing yet
<benh>
from there the driver would pop sub-devices for the various functions on the card exposed to PCIe and match them against the exact same driver we would use for native litex SoCs
<benh>
anyway, food for thoughts
<benh>
cia
atommann_ has joined #litex
atommann has quit [Read error: Connection reset by peer]
atommann_ has quit [Quit: Leaving]
<somlo>
_florent_: interesting... with SDCARD_MULTIPLE_BLOCK_SUPPORT undefined, the standard upstream (i.e., not linux-on-litex-vexriscv) build doesn't hang, and instead loads *very* *slowly* (testing w. nexys4ddr & rocket)
<somlo>
got lost in the sauce trying to compare what is being built with linux-on-litex-vexriscv vs. the default upstream. Maybe I should compare the csv files, but not sure that's all there is to it in terms of side-by-side comparison
<somlo>
anyway, I gotta go afk for a few hours, during which I'll see if the blob actually loads without corruption :)
<_florent_>
somlo: with SDCARD_MULTIPLE_BLOCK_SUPPORT undefined, it should be at least as fast as SPI mode
mntmn has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 264 seconds]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 244 seconds]
<_florent_>
somlo: if you have time, i would be interested by some feedback with uptstream litesdcard/litex
<_florent_>
somlo: the gateware changes should alsmost be done, i'll continue on next monday
<mithro>
benh: Are you suggesting that Google could donate some? I feel like it might be easier to get IBM to do so? :-P
<mithro>
But if you do actually have a concrete request I can look into it
HoloIRCUser has joined #litex
<somlo>
_florent_: the mystery as far as I'm concerned is what (and how to narrow it down precisely) is the difference between an upstream nexys4ddr.py build (with vexriscv) and a make.py nexys4ddr build in linux-on-litex-vexriscv... I get lost in the python inheritance relationships, but that's where I'm sure we (I) will find why the latter works (and fast), while the former hangs...
FFY00 has quit [Ping timeout: 256 seconds]
FFY00 has joined #litex
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 264 seconds]
st-gourichon-fid has quit [Ping timeout: 246 seconds]
m4ssi has joined #litex
kgugala has quit [Quit: -a- Connection Timed Out]
kgugala has joined #litex
m4ssi has quit [Remote host closed the connection]
npcomp has quit [Remote host closed the connection]
satnav has joined #litex
<satnav>
Hello, I have SPI flash populated in my evaluation board with ICE40HX1K as FPGA. I did SPI flash XiP according to the example in icebreaker.py example but I have issues when I running my soc python script and let LiteX build it. it fails in bios linking phase.
<satnav>
these are the error
<satnav>
riscv64-unknown-elf-ld: ../libbase/libbase-nofloat.a(progress.o): in function `show_progress':/home/barakg/playground/litex/litex/litex/soc/software/libbase/progress.c:44: undefined reference to `__muldi3'/home/barakg/playground/litex/litex/litex/soc/software/bios/Makefile:68: recipe for target 'bios.elf' failed
<satnav>
can someone tell me why it fails or encounter with this problem and knows how to solve it?
<tpb>
Title: #!/usr/bin/env python3 import argparse import os from migen import * fro - Pastebin.com (at pastebin.com)
<satnav>
thanks!
<somlo>
_florent_: with litesdcard b55de0e and litex 2bfa372b, I get fast loading of boot.bin from sdcard with vexriscv (linux variant)
<somlo>
doesn't yet work well with rocket -- there's some weird slowness with outputting progress on boot.bin. Probably some 32 vs 64 bit thing, I'll try to figure it out over the weekend
<satnav>
there's an option or flag to compile only the bios?
<satnav>
without the gateware
satnav has quit [Ping timeout: 245 seconds]
HoloIRCUser2 has joined #litex
HoloIRCUser has quit [Ping timeout: 272 seconds]
<benh>
mithro: not at this point, but if LiteX SoCs as PCIe slaves is something that potentially takes off, we might want to see if we can snag an ID from somebody
<benh>
might even be in the LF/RH space
<benh>
as long as it's one and we have another mechanism on top for the device to self-describe