<somlo>
shoragan: I just submitted litex issue #922 re. failure to init DRAM on ecp5. "thankfully" it also manifests on vexriscv, as you pointed out, so it's not just me as the lonely, cranky rocket-chip dude experiencing trouble :)
<cr1901>
There was a bug on orangecrab for this (linux-on-litex version)
<somlo>
cr1901: can you please cross-link them (add a mention, I think, should be enough)? Sorry, didn't notice yours before opening a potential dupe
<cr1901>
also this has been fixed for a while and I didn't notice
<somlo>
cr1901: ok, thanks for checking!
shenki has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 264 seconds]
Degi_ is now known as Degi
_whitelogger has joined #litex
Guest66 has joined #litex
awordnot has quit [Ping timeout: 272 seconds]
awordnot has joined #litex
dolbeau_ is now known as Melkhior
_whitelogger has joined #litex
<shoragan>
somlo, thanks!
<geertu>
_florent_: Bummer. Then I must have been misled since forever by seeing the BIOS being rebuilt...
<geertu>
Is there an easy way to reload the BIOS to RAM? Recompiling the gateware is very time-consuming when debugging the BIOS.
<zyp>
I think the BIOS is stored in a blockram used as rom, i.e. not writable
<geertu>
zyp: So the only way would be to load it to a different address in RAM. And if it's not relocatable, relink it to the right target address first.
<_florent_>
geertu: In fact you can configure the ROM to be in read/write mode
<_florent_>
and then use one of the LiteX bridge to reconfigure the ROM and reboot the CPU
<_florent_>
that's used for example in LiteDRAM's bench where we need an easy way to evaluate the changes of the calibration software
Guest66 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gatecat_ is now known as gatecat
anuejn has joined #litex
<somlo>
_florent_: thanks, we're back in business! :)
<_florent_>
good!
<shoragan>
somlo, _florent_: i can confirm it works again with vexriscv. with rocket, i still have the issue that no bios shows up (just a single garbage byte on serial)
<somlo>
shoragan: I think the key to the problem you're experiencing with rocket must be somewhere in the difference between our tooling (os, toolchain build, etc.). I built fedora rpms of the latest yosys/trellis/nextpnr as of some 24 hours ago, and with the updated python-cpu-rocket and _florent_'s latest litex fix, it's working perfectly well on this end
<shoragan>
somlo, yes it seems that way... to avoid local "contamination", i tried with the hdl-containers, but i still get a non-booting bios
<shoragan>
so maybe i need to set up a fedora VM... you're using fedora 34?
cr1901 has left #litex [#litex]
cr1901 has joined #litex
Guest66 has joined #litex
<somlo>
shoragan: just recently updated to f34, yes; the latest toolchain RPMs are on my todo list for tonight to push into the official fedora repos, which should take a few days until they make it all the way into updates
<shoragan>
somlo, ok. then i'm going to wait for your results with the latest master versions of the toolchain before trying to reproduce the versions currently in fedora :)
Guest66 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nickoe>
Anyone tried to run android on a litex soc there even is a port for risvc. :S
<nickoe>
gatecat: well, I guess that depends on what the intention or requirements of the system are.
<nickoe>
mm, I just tried to setup a new litex env, but it apears that it is stuck intalling nmigen
<nickoe>
[installing nmigen]...
<nickoe>
WARNING: The wheel package is not available.
<nickoe>
And it does not appear to move on
<nickoe>
Or does this step just take quite some time?
<_florent_>
somlo, Melkhior: We just validated with Dolu his USB Host core (FS) with LiteX & VexRiscv-SMP & Linux, so you'll soon be able to plug very various peripherals in your Linux systems :) (we'll also be able to integrate it with Rocket)
<zyp>
nice
<_florent_>
It only requires 2 IOs and a declaration in the .dts, no specific driver to write
<_florent_>
nickoe: I saw it and indeed remember also noticing this difference last year. I'm planning to have a closer look to make the behaviour similar between sim & hardware, but haven't spent the time yet
<shoragan>
_florent_, nice! so it uses an existing kernel driver?
<_florent_>
nickoe: can you keep it open? I'll close it when it will be fixed
<nickoe>
_florent_: Also, I don't have any of the reference boards, so I could not test it on a "known good" project
<_florent_>
shoragan: yes, it's using the generic-ohci driver