<gregdavill>
When that was working, I created a module that accepts a character stream, it emulates enough wishbone operations to display these charaters on the terminal.
<gregdavill>
I had to alter the Terminal module a little to enable read-back from the character memory, this was needed to implement scrolling when we encounter a newline.
<gregdavill>
Then it's all hooked up to the SoC as if it's a standard LiteUART module.
<sajattack[m]>
oh ok
<sajattack[m]>
the part I'm having trouble with is vga
<sajattack[m]>
so maybe you won't be able to help
<sajattack[m]>
but my hsync is going super slow when it's trying to output the framebuffer, and then about regular speed during blanking
<sajattack[m]>
gregdavill: ☝︎
<gregdavill>
Well I think I might have been seeing the same thing when I tried adding a LiteVideo framebuffer to the hadbadge.
<gregdavill>
It also appeared to make linux run about 1/2 the speed. While it (the framebuffer) was also not working correctly. :(
<sajattack[m]>
yeah I think maybe there's an sdram or cpu bottleneck
<sajattack[m]>
I wonder if there's any board it actually works on
<gregdavill>
Yea, I think all the official platforms for LiteVideo are using DDR2/3 memory.
<sajattack[m]>
oh, that could be it, yeah
<sajattack[m]>
when I suggested to _florent_ it could be an sdram bottleneck he didn't think so because increasing my pixelclock increased my hsync.
rohitksingh has quit [Ping timeout: 240 seconds]
<sajattack[m]>
I could fit a 320x240 framebuffer in block ram
<gregdavill>
Are you actually getting more pixels between hsync pules when you do that?
<sajattack[m]>
I don't know
kgugala has quit [Remote host closed the connection]
<gregdavill>
FYI this is my WIP. It's not currently a full framebuffer, it only displays the Litex/Linux console.
<tpb>
Title: Use LCD on hadbadge from Linux · Issue #44 · litex-hub/litex-boards · GitHub (at github.com)
<pdp7>
LiteX BIOS and Linux boot on the LCD screen now
<pdp7>
well done greg
<r4d10n>
pdp7: can you tell me how LiteX Bios is loaded typically to ECP5 ? Is it embedded in the bit/svf file or the bin has to be loaded separately ?
yehowshuaimmanue has joined #litex
<yehowshuaimmanue>
Hello fellow litex community, I have been trying to use the DMA frontend for Litex and cannot seem to get it working.
<yehowshuaimmanue>
I just wish to do a simple write to memory
<yehowshuaimmanue>
I was able to do use getport() from the crossbar and do a simple write to memory in simulation via litex_sim, but the write didn’t work when I deployed to the ECP5
<yehowshuaimmanue>
That is I originally wrote to the port directly, now I'd like to try through the DMA frontend
<yehowshuaimmanue>
pdp7 when I checked the builder scripts like 4 months ago, its loaded into the svf
<yehowshuaimmanue>
In fact, I don't think ecpbram was working back then - I'm not sure if the build scripts have changed since then
<yehowshuaimmanue>
This is referring to the ECP5
<yehowshuaimmanue>
Sorry, that should have been addressed to r4d10n since its r4d10n who asked the question
<pdp7>
r4d10n: I think the BIOS is embedded but I am pretty new to LiteX
yehowshuaimmanue has quit [Remote host closed the connection]
yehowshuaimmanue has joined #litex
<yehowshuaimmanue>
Can somebody take a look at this DMA snipper?