*** tpb has joined #litex | 00:00 | |
*** rohitksingh has quit IRC | 00:28 | |
*** rohitksingh has joined #litex | 01:13 | |
*** rohitksingh has quit IRC | 02:33 | |
*** rohitksingh has joined #litex | 02:59 | |
*** r4d10n has joined #litex | 05:54 | |
r4d10n | hello folks... just trying out litex picorv32 etherbone demo code on colorlight 5a-75b... | 05:56 |
---|---|---|
r4d10n | the gateware gets jtagd just fine... i'm getting blinky working... i'm not sure i'm loading the BIOS along with it... | 05:57 |
r4d10n | after setting up lxterm udp, RemoteClient fails to connect to etherbone and says socket connection timeout | 05:57 |
r4d10n | following the steps mentioned here: https://github.com/litex-hub/litex-boards/commit/dcc65b347df4c3e3334fce2a6723a793f60a69a6#diff-4c555bb99628703ce903d7c79bc090fa | 05:58 |
tpb | Title: targets/colorlight_5a_75b: switch to SoCCore, CPU and Etherbone worki… · litex-hub/litex-boards@dcc65b3 · GitHub (at github.com) | 05:58 |
r4d10n | should i do anything to flash the BIOS "software" code seperately ? | 05:58 |
*** gregdavill has joined #litex | 08:12 | |
gregdavill | sajattack[m]: Are you still having issues with your framebuffer? | 08:15 |
gregdavill | I ended up pivoting, and created an LCD wrapper to display the LiteVideo.Terminal. https://github.com/enjoy-digital/litevideo/tree/master/litevideo/terminal | 08:16 |
tpb | Title: litevideo/litevideo/terminal at master · enjoy-digital/litevideo · GitHub (at github.com) | 08:16 |
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. | 08:18 |
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. | 08:19 |
gregdavill | Then it's all hooked up to the SoC as if it's a standard LiteUART module. | 08:20 |
sajattack[m] | oh ok | 08:32 |
sajattack[m] | the part I'm having trouble with is vga | 08:32 |
sajattack[m] | so maybe you won't be able to help | 08:35 |
sajattack[m] | but my hsync is going super slow when it's trying to output the framebuffer, and then about regular speed during blanking | 08:35 |
sajattack[m] | gregdavill: ☝︎ | 08:37 |
gregdavill | Well I think I might have been seeing the same thing when I tried adding a LiteVideo framebuffer to the hadbadge. | 08:38 |
gregdavill | It also appeared to make linux run about 1/2 the speed. While it (the framebuffer) was also not working correctly. :( | 08:39 |
sajattack[m] | yeah I think maybe there's an sdram or cpu bottleneck | 08:40 |
sajattack[m] | I wonder if there's any board it actually works on | 08:41 |
gregdavill | Yea, I think all the official platforms for LiteVideo are using DDR2/3 memory. | 08:41 |
sajattack[m] | oh, that could be it, yeah | 08:42 |
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. | 08:44 |
*** rohitksingh has quit IRC | 08:47 | |
sajattack[m] | I could fit a 320x240 framebuffer in block ram | 08:49 |
gregdavill | Are you actually getting more pixels between hsync pules when you do that? | 08:49 |
sajattack[m] | I don't know | 08:49 |
*** kgugala has quit IRC | 08:55 | |
gregdavill | FYI this is my WIP. It's not currently a full framebuffer, it only displays the Litex/Linux console. | 09:03 |
gregdavill | https://github.com/gregdavill/linux-on-litex-vexriscv/tree/hadbadge-flash | 09:04 |
tpb | Title: GitHub - gregdavill/linux-on-litex-vexriscv at hadbadge-flash (at github.com) | 09:04 |
gregdavill | And that is paired with this small change to LiteVideo: https://github.com/gregdavill/litevideo/tree/terminal-readback | 09:04 |
tpb | Title: GitHub - gregdavill/litevideo at terminal-readback (at github.com) | 09:05 |
sajattack[m] | Thanks | 09:06 |
*** CarlFK has quit IRC | 09:56 | |
*** r4d10n_ has joined #litex | 10:15 | |
*** r4d10n_ has quit IRC | 10:17 | |
*** r4d10n has quit IRC | 10:17 | |
*** r4d10n_ has joined #litex | 10:18 | |
*** r4d10n_ has joined #litex | 10:20 | |
*** r4d10n_ has quit IRC | 10:22 | |
*** r4d10n_ has joined #litex | 10:23 | |
*** r4d10n_ is now known as r4d10n | 10:24 | |
pdp7 | gregdavill: hi! it's been exciting to see your experiments with hadbadge video on twitter | 10:24 |
pdp7 | I'll try the latest on your hadbadge-flash branch | 10:25 |
gregdavill | The latest there drops the USB serial port. But adds the console on the badge LCD | 10:26 |
*** r4d10n has quit IRC | 10:27 | |
*** r4d10n has joined #litex | 10:29 | |
*** r4d10n has joined #litex | 10:31 | |
*** r4d10n has quit IRC | 10:32 | |
*** r4d10n has joined #litex | 12:46 | |
*** gregdavill has quit IRC | 13:07 | |
*** gregdavill has joined #litex | 13:07 | |
*** gregdavill has quit IRC | 13:21 | |
pdp7 | any one have any ideas about this error? | 14:58 |
pdp7 | Traceback (most recent call last): | 14:58 |
pdp7 | File "./make.py", line 452, in <module> | 14:58 |
pdp7 | main() | 14:58 |
pdp7 | File "./make.py", line 413, in main | 14:58 |
pdp7 | soc.add_framebuffer(video_settings) | 14:58 |
pdp7 | File "/home/pdp7/dev/enjoy/linux-on-litex-vexriscv/soc_linux.py", line 218, in add_framebuffer | 14:58 |
pdp7 | from dma import StreamReader, StreamWriter | 14:58 |
pdp7 | ModuleNotFoundError: No module named 'dma' | 14:58 |
pdp7 | https://github.com/litex-hub/litex-boards/issues/44 | 14:58 |
tpb | Title: Use LCD on hadbadge from Linux · Issue #44 · litex-hub/litex-boards · GitHub (at github.com) | 14:58 |
pdp7 | I'm trying to use Greg's branches to use LCD on hadbadge | 14:59 |
pdp7 | Is there supposed to be a dma module? | 14:59 |
pdp7 | turns out I just needed to comment it out | 15:18 |
pdp7 | https://github.com/litex-hub/litex-boards/issues/44#issuecomment-589964266 | 15:18 |
tpb | Title: Use LCD on hadbadge from Linux · Issue #44 · litex-hub/litex-boards · GitHub (at github.com) | 15:19 |
pdp7 | LiteX BIOS and Linux boot on the LCD screen now | 15:19 |
pdp7 | well done greg | 15:19 |
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 ? | 16:19 |
*** yehowshuaimmanue has joined #litex | 16:23 | |
yehowshuaimmanue | Hello fellow litex community, I have been trying to use the DMA frontend for Litex and cannot seem to get it working. | 16:24 |
yehowshuaimmanue | I just wish to do a simple write to memory | 16:24 |
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 | 16:26 |
yehowshuaimmanue | That is I originally wrote to the port directly, now I'd like to try through the DMA frontend | 16:26 |
yehowshuaimmanue | pdp7 when I checked the builder scripts like 4 months ago, its loaded into the svf | 16:28 |
yehowshuaimmanue | In fact, I don't think ecpbram was working back then - I'm not sure if the build scripts have changed since then | 16:29 |
yehowshuaimmanue | This is referring to the ECP5 | 16:29 |
yehowshuaimmanue | Sorry, that should have been addressed to r4d10n since its r4d10n who asked the question | 16:31 |
pdp7 | r4d10n: I think the BIOS is embedded but I am pretty new to LiteX | 16:35 |
*** yehowshuaimmanue has quit IRC | 16:38 | |
*** yehowshuaimmanue has joined #litex | 16:40 | |
yehowshuaimmanue | Can somebody take a look at this DMA snipper? | 16:44 |
yehowshuaimmanue | https://gist.github.com/BracketMaster/ab11130b35517812eca2724e93852743 | 16:44 |
tpb | Title: write_dma.py · GitHub (at gist.github.com) | 16:44 |
*** yehowshuaimmanue has quit IRC | 16:49 | |
*** st-gourichon-fid has quit IRC | 17:02 | |
*** r4d10n has quit IRC | 17:43 | |
*** CarlFK has joined #litex | 17:54 | |
*** rohitksingh has joined #litex | 18:42 | |
* sajattack[m] uploaded an image: 20200222_110706.jpg (99KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/bdSIrVHFcglVLMgTSLUpIfqT > | 19:09 | |
sajattack[m] | :tada: | 19:09 |
sajattack[m] | * 🎉 | 19:09 |
sajattack[m] | gregdavill: I don't really understand how you connected this to linux | 19:10 |
sajattack[m] | I guess gen.py | 19:11 |
*** rohitksingh has quit IRC | 19:23 | |
sajattack[m] | but it looks maybe usb-uart specific? | 19:56 |
*** rohitksingh has joined #litex | 20:03 | |
*** ambro718 has quit IRC | 21:53 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!