Friday, 2020-02-21

*** tpb has joined #litex00:00
sajattack[m]ok, actually, doing that gives me a chunk (I assume blank/sync) that is faster than it should be00:02
sajattack[m]while pixel-blitting is the slow speed00:02
sajattack[m]so it must be sdram00:02
sajattack[m]my sdram read is reported as 147mbps00:13
sajattack[m]by memtest00:13
sajattack[m]is that low?00:19
*** CarlFK has quit IRC01:30
*** rohitksingh has quit IRC01:56
*** rohitksingh has joined #litex02:41
*** CarlFK has joined #litex03:44
_florent_sajattack[m]: the memspeed reported after memtest is from the CPU, it's limited by the CPU and wishbone, that's not the actual controller's speed06:22
_florent_sajattack[m]: if increasing the pix clk still increase hte hsync/vsync, then i don't think the issue is related to the sdram bandwidth06:23
sajattack[m]but why is it faster when it's not fetching pixels then06:23
sajattack[m]cpu bottleneck?06:24
_florent_sorry, what is faster when not fetching pixels?06:25
sajattack[m]during blanking, the hsync is faster06:25
sajattack[m]by about the same amount I had to overclock the pixel clock06:25
* sajattack[m] uploaded an image: 2020-02-20-222702_921x201_scrot.png (8KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XzQcSelwuHsxAITeDnJhrjvH >06:28
_florent_ah ok, can you give me a link to your latest code, i'll have a look.06:35
_florent_during blanking, your hsync has the right frequency?06:35
sajattack[m]probably, yeah, I increased the clock by about 2.4 and the hsync goes from 15.62 to 40.406:36
sajattack[m]not quit bang on but seems right06:36
sajattack[m]let me push what I've got06:36
_florent_sajattack[m]: BTW Greg is working on the framebuffer on the Hackaday badge: https://twitter.com/GregDavill/status/123074012581179392206:38
sajattack[m]cool06:38
_florent_this is not vga, but the SDRAM is very similar06:39
sajattack[m]https://github.com/sajattack/litex-boards/tree/vga06:40
sajattack[m]https://github.com/sajattack/linux-on-litex-vexriscv/tree/vga06:40
tpbTitle: GitHub - sajattack/litex-boards at vga (at github.com)06:40
tpbTitle: GitHub - sajattack/linux-on-litex-vexriscv at vga (at github.com)06:40
sajattack[m]does the terminal appear on the framebuffer when it's set up?06:40
sajattack[m]because that was kind of my goal06:41
sajattack[m]also anyone else interested in ps2 keyboard input?06:41
Claudesajattack[m]: if it doesn't appear , then just change the kernel boot command line . console=06:42
sajattack[m]cool thanks06:42
ClaudeBut the tux Bootlogo should appear in any case06:42
sajattack[m]right now it's not appearing because my framebuffer is fucked06:43
sajattack[m]and I'm doing it the old way that's not integrated in linux or something06:43
ClaudeYes, banging my head currently also on framebuffer . Have a. External hdmi tx chip and try to get a grip on clocking it within LiteX . external_clocking might be the key .06:44
sajattack[m]good to have a war buddy :P06:45
Claudesajattack[m]: hmm you aim for the de10-nano ? That has an external hdmi tx too. Right ?06:46
sajattack[m]I think so06:46
sajattack[m]I'm doing vga first because florent said it was easier06:46
sajattack[m]not entirely convinced ๐Ÿ˜‚06:46
ClaudeAh nice , as soon as I got something working I will share.  But I guess your hdmi tx, like mine, needs an init over i2c first . But I guess this could be done from the LiteX bios06:47
sajattack[m]thanks06:48
sajattack[m]mine is ADV751306:49
ClaudeActually it should be perfectly possible to run VGA and HDMI in parallel on your board06:49
sajattack[m]yeah well the board itself doesn't have vga06:49
sajattack[m]it's a gpio add-on06:49
ClaudeMister ?06:49
sajattack[m]yeah I might get hdmi for free if I incorporate the mister framework on top of the vga signals06:50
Claude I should have that burried in the pile'o'devboards too somewhere :)06:50
sajattack[m]lol06:51
sajattack[m]it's an expensive board to have sitting unused in a pile06:51
ClaudeHeh yes probably ..06:51
sajattack[m]but then again I'm on post-college pre-employment budget so it's all relative06:52
Claudehmm might be fun to run litex on our standalone amiga board (i'm part of the dev team there) :) https://wiki.apollo-accelerators.com/doku.php/vampire:vsa-v4:start06:56
tpbTitle: vampire:vsa-v4:start [Apollo Accelerators] (at wiki.apollo-accelerators.com)06:56
sajattack[m]cool06:57
sajattack[m]you could run linux on the amiga part too, I saw that on twitter06:59
sajattack[m]https://twitter.com/pdp7/status/120774854096714547207:02
Claudeheh yes saw it :) thats pdp7 here07:03
sajattack[m]๐Ÿ‘‹07:03
futarisIRCcloud๐Ÿ‘‹07:04
Claudesajattack[m]: found an simple init for the de10 hdmi tx : https://github.com/nhasbun/de10nano_vgaHdmi_chip/blob/master/quartus/src/i2c/I2C_HDMI_Config.v#L13807:30
tpbTitle: de10nano_vgaHdmi_chip/I2C_HDMI_Config.v at master ยท nhasbun/de10nano_vgaHdmi_chip ยท GitHub (at github.com)07:31
sajattack[m]nice07:31
Claudeif you got vga running, its actually just a matter to feed the pixelclock to the tx , and the DE signal. DE is part of the frame_timing : https://github.com/enjoy-digital/litevideo/blob/master/litevideo/output/common.py#L2707:33
tpbTitle: litevideo/common.py at master ยท enjoy-digital/litevideo ยท GitHub (at github.com)07:33
*** rohitksingh has quit IRC07:54
*** CarlFK has quit IRC07:55
futarisIRCcloudhttps://twitter.com/enjoy_digital/status/123076221650631475208:19
futarisIRCcloud_florent_: I understand the badge has a direct interface LCD too. I don't think we need to generate VGA timing etc.08:20
futarisIRCcloudhttps://twitter.com/mithro/status/1230768401385025538?s=1908:21
futarisIRCcloudAnd I don't think anyone has created a model for this in renode.08:22
ClaudeIirc it's mipi DBI (parallel data , like a sram chip , such displays have an build in framebuffer usually)08:22
*** m4ssi has joined #litex09:04
*** CarlFK has joined #litex09:45
sajattack[m]_florent_: anything stand out to you in my repos?10:06
pdp7very exciting to see the framebuffer on the hackaday badge!11:05
*** m4ssi has quit IRC15:38
*** m4ssi has joined #litex15:50
*** m4ssi has quit IRC16:05
*** ambro718 has joined #litex17:42
*** _whitelogger has quit IRC17:47
*** _whitelogger has joined #litex17:50
*** rohitksingh has joined #litex17:56
*** xobs has quit IRC18:13
*** palmer has quit IRC18:13
*** nrossi has quit IRC18:14
*** sajattack[m] has quit IRC18:14
*** bunnie[m] has quit IRC18:14
*** xobs has joined #litex18:21
*** nrossi has joined #litex18:22
*** acathla has quit IRC18:27
*** CarlFK has quit IRC18:32
*** xobs has quit IRC18:32
*** nrossi has quit IRC18:32
*** acathla has joined #litex18:33
*** acathla has joined #litex18:34
*** rohitksingh has quit IRC18:40
*** rohitksingh has joined #litex18:47
*** xobs has joined #litex19:06
*** CarlFK has joined #litex19:16
*** rohitksingh has quit IRC19:21
*** somlo has quit IRC19:48
*** somlo has joined #litex19:49
*** sajattack[m] has joined #litex19:51
*** palmer has joined #litex19:51
*** nrossi has joined #litex19:51
*** bunnie[m] has joined #litex19:51
*** CarlFK has quit IRC19:59
*** rohitksingh has joined #litex20:06
_florent_sajattack[m]: sorry for the delay, i don't see anything obvious in your design. This should be very similar to what Greg is doing on the Hadbadge so that would be interesting to have its current code and apply it to your board.20:09
*** CarlFK has joined #litex20:16
CarlFKkgugala: can you /j #timvideos to chat about the video booster board - I'm trying to get a tty connection to it20:19
*** ambro718 has quit IRC21:40
*** ambro718 has joined #litex23:21

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