<_florent_>
i was also planning to create a similar example for the wiki, i could speed this up
tcal has quit [Ping timeout: 240 seconds]
_tcal has quit [Ping timeout: 260 seconds]
HoloIRCUser has joined #litex
HoloIRCUser1 has quit [Read error: Connection reset by peer]
<_florent_>
shuffle2: there are indeed some duplications between Migen/MiSoC and LiteX since the projects have a common base (we were collaborating together) but took different directions. I tried to put some efforts in the beginning to avoid MiSoC/LiteX to diverge too much, but it was complicated due to some disagreements (technical and human).
<scanakci>
_florent_: I updated my LiteX to recent version. When I use the command --with-sdram, neither Vexriscv nor BP starts executing the binary that I specify with --sdram-init. Both comes to BIOS terminal and that's all. Do I need to change anything else?
<scanakci>
The whole command is (./litex_sim.py --with-sdram --sdram-module=MT48LC16M16 --sdram-data-w --sdram-init=boot.bin.uart.simu --output-dir build/trial --cpu-type vexriscv --cpu-variant standard)
<scanakci>
I have that line in my litex_sim. I am using the most recent LiteX commit.
tcal has joined #litex
HoloIRCUser1 has joined #litex
tcal_ has joined #litex
<_florent_>
but you will probably need to modify args.ram_init to args.sdram_init, i will have to check why we have a different behavior between the --ram-init and --sdram-init.
HoloIRCUser has quit [Ping timeout: 244 seconds]
<_florent_>
scanakci: is it better with this?
<scanakci>
Vexriscv attempted to boot program rather than BIOS.
<scanakci>
BP is worse (not even printing LiteX logo :) ). It should be related to BP, though. I do not think it is related to LiteX
<scanakci>
Thanks for the help.
HoloIRCUser has joined #litex
HoloIRCUser1 has quit [Ping timeout: 240 seconds]
HoloIRCUser1 has joined #litex
HoloIRCUser has quit [Ping timeout: 244 seconds]
<scanakci>
setting the sdram-width to 16 actually started printing the Logo and CPU info for BP. It did not come to Liftoff, though.
<_florent_>
For information, i just merged https://github.com/enjoy-digital/litex/pull/399, so LiteX will now use Python modules instead of git submodules. This will simplify installing external dependencies in the future (and will reduce installation size if no CPU or only some are used), but this also means that if you want to update LiteX, you will have to reinstall it following
<tpb>
Title: Home · enjoy-digital/litex Wiki · GitHub (at github.com)
<_florent_>
scanakci: ok, maybe it's the same issue you have when testing on hardware. I would probably need to see the code to be able to help more.
HoloIRCUser has joined #litex
<scanakci>
Actually after waiting long enough, It started working. I got an assertion failed.
<dkozel>
_florent_: thanks for the pointers. Yes, I'd like to increase the speed. Are you talking about buffering on host, the FPGA, or both?
<dkozel>
I'd like to help with the documentation of the example you make for the wiki. Looking at wishbone2csr I can see how short it is and pretend that I understand what it's doing, but there's so much assumed knowledge that I don't really.
<dkozel>
Not a problem! This is a new domain for me, I expect to have to do research and self-learn, but I'd like to leave some documentation behind as I do.
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<dkozel>
Just been looking at the wiki! The outline looks excellent.
<_florent_>
dkozel: any help is welcome for the wiki :)
<tpb>
Title: aller: increase max_pending_request and buffering to increase DMA speed. · enjoy-digital/litepcie_aller_test@51b055b · GitHub (at github.com)
rohitksingh has quit [Quit: No Ping reply in 180 seconds.]
rohitksingh has joined #litex
<daveshah>
_florent_: I'm going to play with the Alveo DDR4 this afternoon (I got a basic no DRAM SoC working with Vivado)
<daveshah>
What is the best way to create a SoC with main RAM and SDRAM, so I can serialboot new init code?
<_florent_>
daveshah: cool, the best way is to add another ram and execute the code from there, i already have this and can prepare a skeleton for you
<zyp>
which cpu would be the best bet if I wanted to try porting over some microcontroller code? (from arm cortex-m) is vexriscv the best supported one?
<zyp>
targetting ecp5, so space shouldn't be an issue
<daveshah>
yeah, vexriscv in its default config is probably roughly Cortex-M3 equivalent
<daveshah>
_florent_: thanks, that would be great
<_florent_>
daveshah: i can do it in ~1h
<daveshah>
No worries, I've got some other issues to deal with first (like a DQS pinout discrepancy...)
<dkozel>
_florent_: I'll do what I can on the wiki. Reviewing existing text for clarity and adding references/crosslinks is probably the most useful thing I can do at the moment
<dkozel>
Most/all of the ToDo pages are ones that I'm a prime candidate consumer for
<dkozel>
I just rebuilt the Aller image and it didn't enumerate on PCIe this boot. Almost certainly some error in my setup. I'll debug
tcal__ has joined #litex
<daveshah>
Hmm, by playing with a combination of cmd_latency (either 1 or 2) and the register PLL and latency settings, I'm able to get either the first 4 bytes or the last 4 bytes to pass read/write training but never both at the same time
<tpb>
Title: GitHub - daveshah1/litex at alveo_u250 (at github.com)
CarlFK has quit [Quit: Leaving.]
rw1nkler has joined #litex
<zyp>
I'm trying to instance a vexriscv with debug support, but I can't get it working properly, wishbone-tool gives me: ERROR [wishbone_tool] invalid configuration: GDB specified but no vexriscv address present in csv file