<xobs>
I had to hack it that way because litex has a check to make sure it's along some boundary, which the address `0x2001a000` doesn't satisfy. Is there a better way to do that?
<_florent_>
Hi xobs, esden, if you are able to use the SPI Flash to store the BIOS and execute it from there, then that's what i would recommend yes
<xobs>
Okay, he's reported that it works, so that's what I'll stick with.
<xobs>
The problem comes from the fact that `spiflash` is already at that offset, so I use that trick to avoid that conflict error.
<xobs>
Also, it's at `0x1a000` from the start, which isn't block-aligned.
<_florent_>
xobs: ok, i'm going to compare what you did with what we use on others designs for that
<xobs>
It's a common enough pattern, but this is the first time I've decided to try and work with the bios build system rather than scrapping it. Also he doesn't really need a bootloader or a bios in this case.
<_florent_>
xobs: to define a memory region that will only be used by the linker (and that overlap with another already defined memory region), you can add the "+linker" to the type.
<_florent_>
xobs: but i agree this should be simplified
freemint has quit [Ping timeout: 248 seconds]
m4ssi has joined #litex
<mithro>
_florent_ / xobs: That is something I would like to be solved too
<mithro>
_florent_ / xobs: I really think we should also invest in solving the spiflash issue and finishing of the spi flash module system I was working on
<xobs>
mithro: I think speeding up SPI flash would be more helpful. esden was having trouble getting anything working because it would time out after 500 ms.
<xobs>
Ended up needing to switch to the `lite` core to get the BIOS to finish.
<xobs>
mithro: wishbone. `wishbone-tool` has a timeout of one second, so if the bridge doesn't respond within that time, it assumes the bus has locked up.
<mithro>
xobs: I agree that speeding up the core would be good too
<xobs>
It would help both fomu and icebreaker.
<mithro>
xobs: Putting the spiflash in a different clock domain (which is much faster) would be a big improvement
<mithro>
xobs: Would it help for betrusted at all?
<xobs>
mithro: It might! One thing I've found is that using 32-bit CSRs gives us much better timing. I see it meeting up to 60 MHz for the 48 MHz domain, versus the 50 MHz we were seeing before.
<mithro>
xobs: Interesting...
<mithro>
_florent_: I was looking at your changes and I don't feel like all the csr/bus width checking stuff belongs in the area you put it
<_florent_>
mithro: indeed, i was also thinking the same after doing it, but this was just a sketch to show you that we have the same general ideas, i just need to spend more time working on that to refine things
massi_ has joined #litex
m4ssi has quit [Ping timeout: 265 seconds]
massi_ has quit [Remote host closed the connection]
rohitksingh has joined #litex
rohitksingh has quit [Ping timeout: 265 seconds]
rohitksingh has joined #litex
feig has joined #litex
tumbleweed has quit [*.net *.split]
bunnie[m] has quit [*.net *.split]
rohitksingh has quit [Ping timeout: 268 seconds]
feig has quit [Ping timeout: 260 seconds]
tumbleweed has joined #litex
bunnie[m] has joined #litex
feig has joined #litex
tumbleweed has quit [*.net *.split]
bunnie[m] has quit [*.net *.split]
feig has quit [Ping timeout: 260 seconds]
feig has joined #litex
<feig>
Has anyone built litedram on VC707? I noticed that the V7DDRPHY is there, and the SO-DIMM module is the same as the one used in KC705. So I basically copied the setting(clock freq, termination resistance) for KC705. But the memory initialization failed.
<daveshah>
I think an issue like this was discussed recently