Saturday, 2020-02-22

*** tpb has joined #litex00:00
*** rohitksingh has quit IRC00:28
*** rohitksingh has joined #litex01:13
*** rohitksingh has quit IRC02:33
*** rohitksingh has joined #litex02:59
*** r4d10n has joined #litex05:54
r4d10nhello folks... just trying out litex picorv32 etherbone demo code on colorlight 5a-75b...05:56
r4d10nthe gateware gets jtagd just fine... i'm getting blinky working... i'm not sure i'm loading the BIOS along with it...05:57
r4d10nafter setting up lxterm udp, RemoteClient fails to connect to etherbone and says socket connection timeout05:57
r4d10nfollowing the steps mentioned here: https://github.com/litex-hub/litex-boards/commit/dcc65b347df4c3e3334fce2a6723a793f60a69a6#diff-4c555bb99628703ce903d7c79bc090fa05:58
tpbTitle: targets/colorlight_5a_75b: switch to SoCCore, CPU and Etherbone worki… · litex-hub/litex-boards@dcc65b3 · GitHub (at github.com)05:58
r4d10nshould i do anything to flash the BIOS "software" code seperately ?05:58
*** gregdavill has joined #litex08:12
gregdavillsajattack[m]: Are you still having issues with your framebuffer?08:15
gregdavillI ended up pivoting, and created an LCD wrapper to display the LiteVideo.Terminal. https://github.com/enjoy-digital/litevideo/tree/master/litevideo/terminal08:16
tpbTitle: litevideo/litevideo/terminal at master · enjoy-digital/litevideo · GitHub (at github.com)08:16
gregdavillWhen 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
gregdavillI 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
gregdavillThen it's all hooked up to the SoC as if it's a standard LiteUART module.08:20
sajattack[m]oh ok08:32
sajattack[m]the part I'm having trouble with is vga08:32
sajattack[m]so maybe you won't be able to help08:35
sajattack[m]but my hsync is going super slow when it's trying to output the framebuffer, and then about regular speed during blanking08:35
sajattack[m]gregdavill: ☝︎08:37
gregdavillWell I think I might have been seeing the same thing when I tried adding a LiteVideo framebuffer to the hadbadge.08:38
gregdavillIt 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 bottleneck08:40
sajattack[m]I wonder if there's any board it actually works on08:41
gregdavillYea, I think all the official platforms for LiteVideo are using DDR2/3 memory.08:41
sajattack[m]oh, that could be it, yeah08: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 IRC08:47
sajattack[m]I could fit a 320x240 framebuffer in block ram08:49
gregdavillAre you actually getting more pixels between hsync pules when you do that?08:49
sajattack[m]I don't know08:49
*** kgugala has quit IRC08:55
gregdavillFYI this is my WIP. It's not currently a full framebuffer, it only displays the Litex/Linux console.09:03
gregdavillhttps://github.com/gregdavill/linux-on-litex-vexriscv/tree/hadbadge-flash09:04
tpbTitle: GitHub - gregdavill/linux-on-litex-vexriscv at hadbadge-flash (at github.com)09:04
gregdavillAnd that is paired with this small change to LiteVideo: https://github.com/gregdavill/litevideo/tree/terminal-readback09:04
tpbTitle: GitHub - gregdavill/litevideo at terminal-readback (at github.com)09:05
sajattack[m]Thanks09:06
*** CarlFK has quit IRC09:56
*** r4d10n_ has joined #litex10:15
*** r4d10n_ has quit IRC10:17
*** r4d10n has quit IRC10:17
*** r4d10n_ has joined #litex10:18
*** r4d10n_ has joined #litex10:20
*** r4d10n_ has quit IRC10:22
*** r4d10n_ has joined #litex10:23
*** r4d10n_ is now known as r4d10n10:24
pdp7gregdavill: hi! it's been exciting to see your experiments with hadbadge video on twitter10:24
pdp7I'll try the latest on your hadbadge-flash branch10:25
gregdavillThe latest there drops the USB serial port. But adds the console on the badge LCD10:26
*** r4d10n has quit IRC10:27
*** r4d10n has joined #litex10:29
*** r4d10n has joined #litex10:31
*** r4d10n has quit IRC10:32
*** r4d10n has joined #litex12:46
*** gregdavill has quit IRC13:07
*** gregdavill has joined #litex13:07
*** gregdavill has quit IRC13:21
pdp7any one have any ideas about this error?14:58
pdp7Traceback (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 main14: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_framebuffer14:58
pdp7    from dma import StreamReader, StreamWriter14:58
pdp7ModuleNotFoundError: No module named 'dma'14:58
pdp7https://github.com/litex-hub/litex-boards/issues/4414:58
tpbTitle: Use LCD on hadbadge from Linux · Issue #44 · litex-hub/litex-boards · GitHub (at github.com)14:58
pdp7I'm trying to use Greg's branches to use LCD on hadbadge14:59
pdp7Is there supposed to be a dma module?14:59
pdp7turns out I just needed to comment it out15:18
pdp7https://github.com/litex-hub/litex-boards/issues/44#issuecomment-58996426615:18
tpbTitle: Use LCD on hadbadge from Linux · Issue #44 · litex-hub/litex-boards · GitHub (at github.com)15:19
pdp7LiteX  BIOS and Linux boot on the LCD screen now15:19
pdp7well done greg15:19
r4d10npdp7: 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 #litex16:23
yehowshuaimmanueHello fellow litex community, I have been trying to use the DMA frontend for Litex and cannot seem to get it working.16:24
yehowshuaimmanueI just wish to do a simple write to memory16:24
yehowshuaimmanueI 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 ECP516:26
yehowshuaimmanueThat is I originally wrote to the port directly, now I'd like to try through the DMA frontend16:26
yehowshuaimmanuepdp7 when I checked the builder scripts like 4 months ago, its loaded into the svf16:28
yehowshuaimmanueIn fact, I don't think ecpbram was working back then - I'm not sure if the build scripts have changed since then16:29
yehowshuaimmanueThis is referring to the ECP516:29
yehowshuaimmanueSorry, that should have been addressed to r4d10n since its r4d10n who asked the question16:31
pdp7r4d10n: I think the BIOS is embedded but I am pretty new to LiteX16:35
*** yehowshuaimmanue has quit IRC16:38
*** yehowshuaimmanue has joined #litex16:40
yehowshuaimmanueCan somebody take a look at this DMA snipper?16:44
yehowshuaimmanuehttps://gist.github.com/BracketMaster/ab11130b35517812eca2724e9385274316:44
tpbTitle: write_dma.py · GitHub (at gist.github.com)16:44
*** yehowshuaimmanue has quit IRC16:49
*** st-gourichon-fid has quit IRC17:02
*** r4d10n has quit IRC17:43
*** CarlFK has joined #litex17:54
*** rohitksingh has joined #litex18: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 linux19:10
sajattack[m]I guess gen.py19:11
*** rohitksingh has quit IRC19:23
sajattack[m]but it looks maybe usb-uart specific?19:56
*** rohitksingh has joined #litex20:03
*** ambro718 has quit IRC21:53

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!