_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]
gregdavill has joined #litex
tpb has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 250 seconds]
Degi_ is now known as Degi
Skip5 has joined #litex
Skip5 has quit [Remote host closed the connection]
_whitelogger has joined #litex
Skip has quit [Remote host closed the connection]
CarlFK has joined #litex
Degi has quit [Ping timeout: 246 seconds]
Degi has joined #litex
CarlFK has quit [Remote host closed the connection]
CarlFK has joined #litex
Xesxen has quit [Remote host closed the connection]
Xesxen has joined #litex
felix_ has quit [Ping timeout: 260 seconds]
felix_ has joined #litex
tcal_ has joined #litex
CarlFK has quit [Quit: Leaving.]
tcal_ has quit [Remote host closed the connection]
CarlFK has joined #litex
_whitelogger has joined #litex
gregdavill has quit [Ping timeout: 240 seconds]
gregdavill has joined #litex
CarlFK has quit [Read error: Connection reset by peer]
CarlFK has joined #litex
CarlFK has quit [Client Quit]
CarlFK has joined #litex
CarlFK has quit [Ping timeout: 260 seconds]
CarlFK has joined #litex
Skip has joined #litex
CarlFK has quit [Ping timeout: 244 seconds]
gregdavill has quit [Ping timeout: 244 seconds]
tcal_ has joined #litex
tcal_ has quit [Remote host closed the connection]
<mithro> Skip: Thanks for all your work on the Pano stuff!
<mithro> Skip: Did you see the work that Charles is doing on VexRISCV SMP?
<mithro> Skip: I added two issues to https://github.com/skiphansen/panog2_linux that I think you should look into
<tpb> Title: GitHub - skiphansen/panog2_linux: Prebuilt images for Linux for the Pano Logic G2 (at github.com)
<john_k[m]> the VexRISCV SMP email is exciting
<john_k[m]> is there info anywhere on how to use buildroot to compile the kernel / rootfs for linux-on-litex-vexriscv?
<john_k[m]> I tried the typical buildroot `make BR2_EXTERNAL=/home/dev/Code/linux-on-litex-vexriscv/buildroot/ menuconfig` but it doesn't pick anything up, I see BR2_EXTERNAL_LITEX_VEXRISCV_PATH mentioned in external.mk but it's not obvious where that should point to as `package` directory doesn't exist in the linux-on-litex-vexriscv dir
<john_k[m]> ah setting it also to the same dir and then manually loading the vexriscv defconfig works, needed to also manually create a .config symlink after the menuconfig
<john_k[m]> if someone could sanity check how I'm invoking that, i'll issue a PR to the readme
CarlFK has joined #litex
<Skip> mithro: No I hadn't noticed Charle's VexRISCV SMP ... my mind was blown enough with one processor!
shuffle2 has joined #litex
<mithro> john_k[m]: Sending a PR to the readme would be great!
<mithro> Skip: With how huge the panologic FPGA is, the issue is almost certainly going to be memory bandwidth
<shuffle2> i'd like to use liteEth on lattice, and uart, whereever that lives. but i'm on windows, and dont really want to run the litex_setup.py script...is there a less hueg/gross way to use this subset? i've already used migen for other stuff, just not litex
<mithro> We could probably do like a 32 way complex pretty easily
<Skip> mithro: and 1/2 of the SDRAM isn't be used yet...
<mithro> Skip: kgugala was working on that
<Skip> Cool!
<mithro> shuffle2: You can just use them like any other Python module, but you need to make sure to update everything when you do
<john_k[m]> mithro: oh? interesting!
<mithro> shuffle2: A virtualenv and litex_setup.py works pretty well
<tpb> Title: Support for multiple SDRAM PHYs in single SoC by mglb · Pull Request #157 · enjoy-digital/litedram · GitHub (at github.com)
<mithro> john_k[m]: (More I should say kgugala has someone working for him looking into it.)
<tpb> Title: Linux · timvideos/litex-buildenv Wiki · GitHub (at github.com)
<john_k[m]> I'll have to hook my Pano2 back up once I'm done with some ULX3s work
<john_k[m]> looks like some great progress has been mad
<john_k[m]> * looks like some great progress has been made
<zyp> shuffle2, you could also just add them to pythonpath and import them as is
<zyp> I have a deps/ directory with migen, litex and the other lite* repos checked out as git submodules and an __init__.py that reads like this: https://paste.jvnv.net/view/Fp5KI
<tpb> Title: JVnV Pastebin View paste – Untitled (at paste.jvnv.net)
<zyp> so all I have to do is import deps to add all the other stuff to pythonpath before I import anything else
<mithro> There is also @xobs has https://github.com/xobs/lxbuildenv which kind of works like that
<tpb> Title: GitHub - xobs/lxbuildenv: Simplified environment for litex (at github.com)
<john_k[m]> zyp: I've been using https://github.com/xobs/lxbuildenv/ to something very similar
<tpb> Title: GitHub - xobs/lxbuildenv: Simplified environment for litex (at github.com)
<john_k[m]> hah, didn't see your post as I was typing that mithro
<zyp> ah, yeah, that looks pretty similar
<shuffle2> zyp: nice. yea, that's how i currently use migen
robert2 has joined #litex
robert2 has quit [Client Quit]
<scanakci> The simulation works fine after integrating LiteX Uart.
<mithro> sajattack[m]: Congratulations!
<sajattack[m]> what?
<mithro> Opps
<scanakci> FPGA is still causing the same issue :(
<mithro> s/sajattack[m]/scanakci/
<sajattack[m]> lol
<scanakci> thanks Tim :)
<sajattack[m]> oh nice
<sajattack[m]> I was looking into blackparrot
<sajattack[m]> how does it compare to vexriscv?
<scanakci> @sajattack[m] : I do not have any experience with vexriscv. Once I boot up Linux on FPGA, I will try to compare BP with Rocket and potentially Vex.
<scanakci> According to bbl dump, the PC value where trap happens is a li a2,24 https://usercontent.irccloud-cdn.com/file/A8yrFSSR/bbldump%2C%20failing%20PC
<scanakci> I also printed the opcode (msr_read(mbadaddr)) which is adba2acf. Not sure where this opcode comes from. I printed the memory starting from 0x8000_0000 until end of bbl in trap function. It seems legit (i.e. matches with bbl dump and does not contain weird opcode)
<tpb> Title: Bbl debugging using gdb - Freedom U500 - SiFive Forums (at forums.sifive.com)
<sorear> missing a fence.i somewhere and reading garbage from the i$?
<scanakci> This guy had a similar issue. He noticed that bss area was not clear before the boot-up. bss size looks 0 byte in my case so I do not think this is the problem. However, it tells me that illegal instruction trap may be misleading here.
<daveshah> Does it fail exactly the same way each time?
<scanakci> @daveshah yes it is deterministic
<scanakci> @sorear would not it cause issues on Simulation too?
<sorear> you mean spike/etc or verilator/etc?
<scanakci> verilator
<daveshah> Deterministic is good, that significantly reduces the likelihood that its something like marginal DDR3 or timing
<sorear> maybe change something unrelated in a lower-address function to perturb the addresses, and see what changes?
<scanakci> will give it a shot
acathla has quit [Read error: Connection reset by peer]
acathla has joined #litex
tcal has quit [Ping timeout: 256 seconds]
tcal has joined #litex
CarlFK has quit [Ping timeout: 246 seconds]
gregdavill has joined #litex
CarlFK has joined #litex
shuffle2 has left #litex ["WeeChat 2.6"]