_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
cr1901_modern has joined #litex
lf has quit [Ping timeout: 260 seconds]
lf_ has joined #litex
<sajattack[m]> nevermind, got it
<sajattack[m]> lol I typed lspci after flashing and my computer rebooted itself
<sajattack[m]> attempting to load the kernel module also results in a kernel panic/reboot
<sajattack[m]> unfortunately there's a gap in the journalctl log between the command to load the driver and the next boot
<sajattack[m]> kernel 5.11.8
shorne has quit [Ping timeout: 268 seconds]
shorne has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
<sajattack[m]> ok, got the `/dev/litepcie0` showing up now, but `litepcie_util info` locks up my computer for about 30 seconds, doesn't reboot
lkcl has quit [Ping timeout: 264 seconds]
lkcl has joined #litex
[Matt] has quit [Ping timeout: 240 seconds]
[Matt] has joined #litex
rj has quit [Remote host closed the connection]
rj has joined #litex
Bertl_oO is now known as Bertl_zZ
<tcal> I'm trying to do a basic build of litex_boards/targets/crosslink_nx_evn.py with the default tools; it builds ok, but doesn't want to load or flash. The Lattice programmer gives an error; ecpprog says things are fine, but the LED chaser doesn't start. Could my problem be that I have an ES (eng sample) part? Or that I'm using Radiant 2.2? I'm happy to move on to using PrjOxide if that will solve my problems...I was
<tcal> trying to do things one step at a time.
rozpruwacz has joined #litex
<tcal> Hmm, I'm having better luck using Radiant 2.0.1. LED chaser is working. I haven't gotten the Litex> prompt yet, but I suspect my `--serial=serial_pmod0` is getting dropped since the pin assignments for tx/rx aren't correct.
rozpruwacz has quit [Ping timeout: 260 seconds]
rj has quit [Remote host closed the connection]
rj has joined #litex
<tcal> Yeah, `--serial` is ignored. This is what finally worked for me (using Radiant 2.0.1): `python3 ./crosslink_nx_evn.py --cpu-type=vexriscv --cpu-variant=full --uart-baudrate=115200 --uart-name=serial_pmod0 --build --load`
RaivisR has quit [Quit: Leaving]
rozpruwacz has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
lkcl has quit [Ping timeout: 256 seconds]
<gatecat> tcal: yeah you will need to stick with Radiant 2.0.1 if you have an ES device
<gatecat> 2.1 and later will use the production IDCODE
rozpruwacz has quit [Ping timeout: 245 seconds]
lkcl has joined #litex
<leons> I currently have access to a NetFPGA 1G-CML card with a XC7K325T Kintex FGPA (same as used on Genesys2)
<leons> I have never ported LiteX to another board (only every used it on my Arty A7)
<leons> Is there a rough estimate of how much effort it would be to get it to a basic working state with LiteX? :)
<leons> (Given that at least the FPGA itself is currently supported in other boards)
rozpruwacz has joined #litex
RaivisR has joined #litex
<acathla> What should I change to so I don't have that warning? I copied the import from the fomu target but still have the warning
cr1901_modern1 has joined #litex
cr1901_modern has quit [Ping timeout: 256 seconds]
cr1901_modern1 has quit [Ping timeout: 264 seconds]
<gatecat> > Is there a rough estimate of how much effort it would be to get it to a basic working state with LiteX? :)
<gatecat> ime it's usually a couple of days to get a board fully working and debugged
<gatecat> leons: ^
Bertl_zZ is now known as Bertl
FFY00_ has quit [Ping timeout: 244 seconds]
FFY00_ has joined #litex
<leons> gatecat: That sounds good. I'm somewhat optimistic because there's at least schematics and everything, but I don't quite know what to expect :)
<acathla> _florent_, forget about it, I had an import still importing the wrong file
<_florent_> acathla: I'm indeed trying to mode all the Retro-compatibility code (mess? :)) to a single location: litex.compat. up5kspram was already an empty file with just a redirection.
Bertl is now known as Bertl_oO
rj has quit [Ping timeout: 268 seconds]
<tcal> @gatecat thanks, I'm installing PrjOxide right now, really excited about seeing it work on NX!
<gatecat> adding `--toolchain oxide --nexus-es-device` to the LiteX command line should be enough to enable it
<sajattack[m]> anyone have any ideas why the litex kernel driver is hanging or crashing my pc?
rozpruwacz has quit [Ping timeout: 268 seconds]
rozpruwacz has joined #litex
<_florent_> sajattack[m]: I'm going to rebuild the Acorn PCIe to verify
<sajattack[m]> thanks _florent_
<sajattack[m]> btw I'm using pcie 4 I think
<sajattack[m]> but it should be backwards compat?
<tpb> Title: PRIME B550M-A/CSM|Motherboards|ASUS Global (at www.asus.com)
<sajattack[m]> the top m.2 slot
<_florent_> yes, number of lanes and speed is negiociated at startup
<sajattack[m]> built from commit ef66203
<sajattack[m]> (litex-boards)
<_florent_> OK, so just loading the kernel module is crashing your PC?
<tcal> @gatecat Hmm, just updated & rebuilt yosys/nextpnr-nexus, getting this: `ERROR: Unsupported PDC command 'get_pins'`, `File "/home/tim/enjoy-digital/litex/litex/build/lattice/oxide.py", line 101, in _run_script raise OSError("Error occured during Yosys/Nextpnr's script execution.")`. The offending line seems to be `create_clock -period 13.333333333333334 -name PLL_0_P [get_pins PLL_0.PLL_inst/CLKOP]`
<gatecat> ah right, I will work on a fix for that. for now most of my testing has been with the VIP not the EVN
<gatecat> have created https://github.com/YosysHQ/nextpnr/issues/647 so I don't forget
<tcal> @gatecat awesome 😀
rj has joined #litex
rozpruwacz has quit [Ping timeout: 268 seconds]
dkozel_ is now known as dkozel
<gatecat> seems to build with that patch
peeps[zen] has joined #litex
peepsalot has quit [Ping timeout: 256 seconds]
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
Melkhior has joined #litex
<Melkhior> For the more alphabet-inclined among you, following Dolu1990's quick correction of a minor bug affecting C+FD, VexRiscv can now be used as a RV32IMAFDCBK core in LiteX and presumably other SoCs:-)  That's a lot of letter for a a small core (can be abreviated to RV32GCBK but where is the fun in that ?)
Melkhior has quit [Quit: Connection closed]
keesj has quit [*.net *.split]
proteusguy has quit [*.net *.split]
somlo has quit [*.net *.split]
mntmn has quit [*.net *.split]
vup has quit [*.net *.split]
acathla has quit [*.net *.split]
joseng has quit [*.net *.split]
RaYmAn has quit [*.net *.split]
bastelmann has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
apolkosnik[m] has quit [*.net *.split]
disasm[m] has quit [*.net *.split]
shivampotdar has quit [*.net *.split]
tumbleweed has quit [*.net *.split]
feldim2425 has quit [*.net *.split]
awordnot has quit [*.net *.split]
tpb has quit [*.net *.split]
daddesio has quit [*.net *.split]
indy has quit [*.net *.split]
benh has quit [*.net *.split]
G33KatWork has quit [*.net *.split]
anuejn has quit [*.net *.split]
tumbleweed has joined #litex
RaYmAn has joined #litex
keesj has joined #litex
feldim2425 has joined #litex
vup has joined #litex
bastelmann has joined #litex
anuejn has joined #litex
benh has joined #litex
awordnot has joined #litex
mntmn has joined #litex
G33KatWork has joined #litex
kbeckmann has joined #litex
daddesio has joined #litex
proteusguy has joined #litex
acathla has joined #litex
leons has quit [*.net *.split]
sajattack[m] has quit [*.net *.split]
TMM has quit [*.net *.split]
Emantor has quit [*.net *.split]
nickoe has quit [*.net *.split]
indy has joined #litex
TMM__ has joined #litex
nickoe has joined #litex
Guest57260 has quit [Ping timeout: 244 seconds]
joseng has joined #litex
CarlFK[m] has quit [Ping timeout: 244 seconds]
JJJollyjim has quit [Ping timeout: 240 seconds]
xobs has quit [Ping timeout: 240 seconds]
shoragan[m] has quit [Ping timeout: 240 seconds]
jryans has quit [Ping timeout: 244 seconds]
Emantor has joined #litex
tpb has joined #litex
promach3 has quit [Ping timeout: 272 seconds]
somlo has joined #litex
Melkhior has joined #litex
<tcal> @gatecat -- confirmed it works! -- on the board, have litex> prompt. Used `./crosslink_nx_evn.py --cpu-type=vexriscv --cpu-variant=full --uart-name=serial_pmod0 --uart-baudrate=115200 --nexus-es-device --toolchain=oxide --build` and ecpprog (nx_support branch).
rj has quit [Ping timeout: 268 seconds]
awordnot has quit [*.net *.split]
feldim2425 has quit [*.net *.split]
FFY00_ has quit [*.net *.split]
guan has quit [*.net *.split]
nats` has quit [*.net *.split]
the_jinx has quit [*.net *.split]
sorear has quit [*.net *.split]
ranzbak has quit [*.net *.split]
nickoe has quit [*.net *.split]
TMM__ has quit [*.net *.split]
proteusguy has quit [*.net *.split]
indy has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
smiteff has quit [*.net *.split]
SpaceCoaster has quit [*.net *.split]
goran-mahovlic has quit [*.net *.split]
zyp has quit [*.net *.split]
_franck_ has quit [*.net *.split]
j4cbo has quit [*.net *.split]
xfxf has quit [*.net *.split]
felix_ has quit [*.net *.split]
ric96 has quit [*.net *.split]
bubble_buster has quit [*.net *.split]
Finde has quit [*.net *.split]
tmbinc has quit [*.net *.split]
lkcl has quit [*.net *.split]
captain_morgan has quit [*.net *.split]
dkozel has quit [*.net *.split]
trabucayre has quit [*.net *.split]
acathla has quit [*.net *.split]
bastelmann has quit [*.net *.split]
anuejn has quit [*.net *.split]
geertu has quit [*.net *.split]
carlomaragno has quit [*.net *.split]
zyp_ has joined #litex
trabucay1e has joined #litex
geertu_ has joined #litex
ants` has joined #litex
anuejn has joined #litex
SpaceCoaster_ has joined #litex
dkozel has joined #litex
goran-mahovlic has joined #litex
xfxf has joined #litex
tmbinc has joined #litex
ants` is now known as nats`
kbeckmann has joined #litex
bastelmann has joined #litex
feldim2425_ has joined #litex
felix_ has joined #litex
simeonm has joined #litex
ranzbak has joined #litex
guan has joined #litex
carlomaragno has joined #litex
bubble_buster has joined #litex
j4cbo has joined #litex
Finde has joined #litex
sorear has joined #litex
lkcl has joined #litex
the_jinx has joined #litex
ric96 has joined #litex
feldim2425_ is now known as feldim2425
awordnot has joined #litex
j4cbo has quit [Changing host]
j4cbo has joined #litex
j4cbo has joined #litex
j4cbo has quit [Changing host]
nickoe has joined #litex
TMM has joined #litex
FFY00_ has joined #litex
acathla has joined #litex
trabucay1e is now known as trabucayre
rj has joined #litex
<_florent_> sajattack[m]: here is a bitstream I just tested on the Acorn: https://github.com/litex-hub/litex-boards/files/6206784/sqrl_acorn_cle_215_pcie_2021_03_25.zip
indy has joined #litex
pftbest has quit [Remote host closed the connection]
jryans has joined #litex
gruetzkopf has quit [*.net *.split]
mithro has quit [*.net *.split]
midnight has quit [*.net *.split]
rektide has quit [*.net *.split]
miek has quit [*.net *.split]
_whitelogger has joined #litex
miek has joined #litex
Emantor has joined #litex
captain_morgan has joined #litex
pftbest has joined #litex
gruetzkopf has quit [*.net *.split]
levi has quit [*.net *.split]
FFY00_ has quit [*.net *.split]
tumbleweed has quit [*.net *.split]
shenki has quit [*.net *.split]
y2kbugger has quit [*.net *.split]
esden has quit [*.net *.split]
davidlattimore has quit [*.net *.split]
shoragan has quit [*.net *.split]
tannewt has quit [*.net *.split]
pepijndevos_ has quit [*.net *.split]
tumbleweed has joined #litex
shenki has joined #litex
gruetzkopf has joined #litex
levi has joined #litex
FFY00_ has joined #litex
y2kbugger has joined #litex
davidlattimore has joined #litex
pepijndevos_ has joined #litex
shoragan has joined #litex
tannewt has joined #litex
esden has joined #litex
davidlattimore has quit [*.net *.split]
esden has quit [*.net *.split]
shoragan has quit [*.net *.split]
tannewt has quit [*.net *.split]
pepijndevos_ has quit [*.net *.split]
shoragan has joined #litex
pepijndevos has joined #litex
davidlattimore has joined #litex
tannewt has joined #litex
m4ssi has joined #litex
shoragan has quit [*.net *.split]
midnight has quit [*.net *.split]
acathla has quit [*.net *.split]
ric96 has quit [*.net *.split]
carlomaragno has quit [*.net *.split]
tmbinc has quit [*.net *.split]
the_jinx has quit [*.net *.split]
xfxf has quit [*.net *.split]
xfxf has joined #litex
carlomaragno has joined #litex
shoragan has joined #litex
the_jinx has joined #litex
ric96 has joined #litex
tmbinc has joined #litex
acathla has joined #litex
esden has joined #litex
midnight has joined #litex
rj has quit [*.net *.split]
<_florent_> mithro: alexforencich's work is very interesting yes, the cocotbext-pcie project could be interesting to replace the simple model I created for LitePCIe:
rj has joined #litex
tpb has quit [*.net *.split]
G33KatWork has quit [*.net *.split]
daddesio has quit [*.net *.split]
vup has quit [*.net *.split]
RaYmAn has quit [*.net *.split]
RaivisR has quit [*.net *.split]
Degi has quit [*.net *.split]
kgugala has quit [*.net *.split]
st-gourichon-fid has quit [*.net *.split]
[Matt] has quit [*.net *.split]
pftbest has quit [*.net *.split]
jryans has quit [*.net *.split]
joseng has quit [*.net *.split]
benh has quit [*.net *.split]
keesj has quit [*.net *.split]
peeps[zen] has quit [*.net *.split]
shorne has quit [*.net *.split]
lf_ has quit [*.net *.split]
pdp7 has quit [*.net *.split]
_florent_ has quit [*.net *.split]
tcal has quit [*.net *.split]
Xesxen has quit [*.net *.split]
shorne_ has joined #litex
[Matt] has joined #litex
G33KatWork has joined #litex
keesj has joined #litex
RaivisR has joined #litex
benh has joined #litex
pftbest has joined #litex
tcal has joined #litex
pdp7 has joined #litex
peeps[zen] has joined #litex
pdp7 has joined #litex
pdp7 has quit [Changing host]
kgugala has joined #litex
_florent_ has joined #litex
joseng has joined #litex
daddesio has joined #litex
Xesxen has joined #litex
st-gourichon-fid has joined #litex
lf has joined #litex
vup has joined #litex
Degi has joined #litex
<_florent_> but this model has been enough for now and what's really missing int LitePCIe tests are the simulation unit-tests
tpb has joined #litex
Melkhior has quit [Quit: Connection closed]
RaYmAn has joined #litex
cr1901_modern has joined #litex
felix_ has quit [Quit: WeeChat 2.3]
mikeK_de1soc has joined #litex
felix_ has joined #litex
cr1901_modern1 has joined #litex
<mikeK_de1soc> I just noticed that I am getting a update error:  SoCSDRAM is deprecated since 2020-03-24 and will soon no longer work, please update. Switch to SoCCore/add_sdram/soc_core_args instead...........thanks :)
<mikeK_de1soc> Is there a procedure for this?   thanks!
cr1901_modern has quit [Ping timeout: 240 seconds]
<_florent_> mikeK_de1soc: yes you can probably just the following import: from litex.soc.integration.soc_sdram import *
<mikeK_de1soc> Ah ok... :)
<mikeK_de1soc> thatnks.
<_florent_> and then replace soc_sdram_args/soc_sdram_argdict with soc_core_args/soc_core_argdict
<_florent_> as done here:
<_florent_> Note that this is not an error since the design will still build, but the compatibility will be removed at some point so I would recommend to update
<mikeK_de1soc> yup...
<mikeK_de1soc> that's why I am asking...   Thanks!!!  for the help!!   (You are always so helpful Florent!!  :)   )
<mikeK_de1soc> but I am having another issue building the arrow video terminal.. But this could be at my end...
<mikeK_de1soc> INFO:SoCCSRHandler:leds CSR allocated at Location 6.
<mikeK_de1soc> Traceback (most recent call last):
<mikeK_de1soc>   File "./arrow_sockit.py", line 202, in <module>
<mikeK_de1soc>     main()
<mikeK_de1soc>   File "./arrow_sockit.py", line 186, in main
<mikeK_de1soc>     soc = BaseSoC(
<mikeK_de1soc>   File "./arrow_sockit.py", line 166, in __init__
<mikeK_de1soc>     self.specials += DDROutput(i1=1, i2=0, o=vga_pads.clk, clk=ClockSignal("vga"))
<mikeK_de1soc> AttributeError: 'Record' object has no attribute 'clk'
<mikeK_de1soc> will dig into it...
cr1901_modern2 has joined #litex
cr1901_modern1 has quit [Ping timeout: 260 seconds]
cr1901_modern2 has quit [Ping timeout: 245 seconds]
<_florent_> mikeK_de1soc: I just fixed compilation from others changes I did today:
cr1901_modern has joined #litex
<_florent_> ./terasic_sockit.py --with-video-terminal --build is compiling here
<mikeK_de1soc> SWEET!!!
<mikeK_de1soc> Ok i guess I am at the bleeding edge....
<mikeK_de1soc> does it matter if you do the --build first or last??
rj has quit [Ping timeout: 240 seconds]
cr1901_modern1 has joined #litex
<_florent_> no, that's similar
zyp_ is now known as zyp
cr1901_modern has quit [Ping timeout: 252 seconds]
<mikeK_de1soc> Oh WOW huge changes...
rj has joined #litex
cr1901_modern has joined #litex
cr1901_modern1 has quit [Ping timeout: 252 seconds]
promach3 has joined #litex
apolkosnik[m] has joined #litex
jryans has joined #litex
Guest44411 has joined #litex
JJJollyjim1 has joined #litex
<mikeK_de1soc> Sorry Florent: another questions, The last link you gave me, is that for all branches? or just the master branch?
<mikeK_de1soc> gone...
shivampotdar has joined #litex
cr1901_modern1 has joined #litex
xobs has joined #litex
cr1901_modern has quit [Ping timeout: 252 seconds]
CarlFK[m] has joined #litex
cr1901_modern1 has quit [Ping timeout: 240 seconds]
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
disasm[m] has joined #litex
sajattack[m] has joined #litex
<sajattack[m]> <_florent_ "OK, so just loading the kernel m"> loading the kernel module crashed a few times, then I got the /dev/litepcie0 showing up, and litepcie_util info made it hang for 30 sec-ish but not reboot
pftbest_ has joined #litex
shoragan[m] has joined #litex
pftbest has quit [Ping timeout: 240 seconds]
leons has joined #litex
rj has quit [Ping timeout: 240 seconds]
rj has joined #litex
mikeK_de1soc has quit [Quit: Connection closed]
mikeK_de1soc has joined #litex
m4ssi has quit [Remote host closed the connection]
<leons> Regarding building bitstreams for Kintex-7, that unfortunately doesn't work with the WebPACK edition. Given I'm not using it for commercial use (literally evaluating w.r.t to Vivado's terms and conditions), can I use the Vivado Design Suite 30day evaluation license for that?
<leons> Sorry for asking - this isn't a Vivado license forum, but I really don't understand their approaches to licensing :)
Claude has joined #litex
sorear has quit []
sorear has joined #litex
_franck_ has joined #litex
mikeK_de1soc has quit [Quit: Connection closed]
rj has quit [Ping timeout: 240 seconds]
rj has joined #litex
cr1901_modern has joined #litex
cr1901_modern1 has joined #litex
cr1901_modern has quit [Ping timeout: 240 seconds]
<keesj> anybody played with the quickfeather?
<keesj> I have the hardware , listend to the AMP hour episode on the subject. know about the next *umo device that is supposed to use the EOS S3 but do not quite understand how to .. get started / why I need the qorc sdk
cr1901_modern has joined #litex
cr1901_modern1 has quit [Ping timeout: 240 seconds]
rj has quit [Ping timeout: 240 seconds]
<gatecat> 7:37 PM <leons> Regarding building bitstreams for Kintex-7, that unfortunately doesn't work with the WebPACK edition. Given I'm not using it for commercial use (literally evaluating w.r.t to Vivado's terms and conditions), can I use the Vivado Design Suite 30day evaluation license for that?
rj has joined #litex
<gatecat> yeah the evaluation license should be fine to get things going
<gatecat> does mean you have a bit of time pressure though :p
cr1901_modern1 has joined #litex
<leons> gatecat: yes, that's pretty unfortunate. I would've hoped that one might be able to get 2 evaluation license periods, but efforts in those direction are probably futile
<leons> Well, the 30 days should be sufficient, then I can go search for FPGAs of other vendors with more student-friendly licensing schemes
cr1901_modern has quit [Ping timeout: 252 seconds]
cr1901_modern1 has quit [Ping timeout: 240 seconds]
pepijndevos has quit [Ping timeout: 240 seconds]
rj has quit [Ping timeout: 240 seconds]
pepijndevos has joined #litex
rj has joined #litex
rozpruwacz has joined #litex
rj has quit [Ping timeout: 240 seconds]
rj has joined #litex
pftbest_ has quit [Remote host closed the connection]
<somlo> gatecat: nextpnr-xilinx can't happen soon enough! ;)
rozpruwacz has quit [Quit: Leaving.]
rj has quit [Ping timeout: 240 seconds]
rj has joined #litex
peeps[zen] is now known as peepsalot
daddesio has quit [Quit: WeeChat 2.7.1]
cr1901_modern has joined #litex
rj has quit [Ping timeout: 240 seconds]
cr1901_modern has quit [Ping timeout: 240 seconds]
rj has joined #litex