*** tpb has joined #litex | 00:00 | |
*** CarlFK has quit IRC | 00:10 | |
*** CarlFK has joined #litex | 00:20 | |
*** freemint has quit IRC | 00:45 | |
*** CarlFK has quit IRC | 01:00 | |
Finde | awesome scanakci | 01:03 |
---|---|---|
*** CarlFK has joined #litex | 01:11 | |
sajattack[m] | this was fun to play with https://github.com/tomtor/rust-litex | 01:50 |
tpb | Title: GitHub - tomtor/rust-litex: Running Rust on the (Linux) Litex VexRiscv FPGA SOC (at github.com) | 01:50 |
sajattack[m] | while I wait for someone to help with my vga issues | 01:51 |
*** _whitelogger has quit IRC | 02:25 | |
*** _whitelogger has joined #litex | 02:28 | |
*** CarlFK has quit IRC | 03:17 | |
levi | What vga issues are you having? | 03:36 |
sajattack[m] | I'm not really sure, I'm trying to get it to build on an altera board, I did what florent suggested, and linux hangs when it starts the framebuffer | 03:39 |
sajattack[m] | https://termbin.com/zu1u7 | 03:39 |
sajattack[m] | it's probably a clock issue | 03:46 |
levi | Just how much of the system is "hung"? Do you have a way of getting a debug dump of processor registers via jtag or some wishbone bridge? | 03:50 |
sajattack[m] | I have uart and usb blaster | 03:50 |
sajattack[m] | not sure how to get a debug dump from usb blaster | 03:50 |
sajattack[m] | if possible | 03:50 |
levi | I am pretty new to litex so I'm not entirely sure, but I know there's a debug option for the CPU cores and a number of "wishbone-to-X" bridges where X includes ethernet and I think uart. You'd have to poke at the example programs. | 03:53 |
sajattack[m] | where can I find the examples? | 03:54 |
levi | There's generally a directory in each of the litex module repos with examples in it. | 03:55 |
levi | https://github.com/timvideos/litex-buildenv/wiki/Debugging could give you some pointers too. | 03:57 |
tpb | Title: Debugging · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 03:57 |
sajattack[m] | thanks | 03:58 |
scanakci | thanks @Finde | 04:10 |
sajattack[m] | ok I can confirm the clock is running via dasblinkenlightsen | 04:40 |
sajattack[m] | * ok I can confirm the clock is running via das blinkenlightsen | 04:40 |
sajattack[m] | either that or I made a python mistake that has the same effect | 04:41 |
sajattack[m] | no, I'm pretty sure the clock is alive | 04:43 |
sajattack[m] | https://hastebin.com/upodulavuc.cs | 04:59 |
sajattack[m] | does the pixel clock need to be phase shfited? | 05:12 |
sajattack[m] | the openocd recommended on that debugging wiki page doesn't compile | 05:34 |
levi | Alas, it is the nature of wikis to be out-of-date | 06:08 |
sajattack[m] | indeed | 06:09 |
*** rohitksingh has joined #litex | 06:20 | |
*** rohitksingh has quit IRC | 08:16 | |
_florent_ | scanakci: thanks for the update and great for the LiteDRAM integration. I just merged your PR to allow you to go further, i'll probably do small changes in the next days but it will only be cosmetic changes | 09:39 |
_florent_ | sajattack[m]: sorry i need to look at the code to be able to help but i'm not able to it now, i'll have more time for it after the weekend. At least you don't need a specific phase for the pixel_clock. It's possible that the Linux kernel has some parts hardcoded for 7-series, to ease your work, maybe you could look at how it was done before when the video out was initialized in bare metal: before | 09:44 |
_florent_ | https://github.com/litex-hub/linux-on-litex-vexriscv/commit/9a9f01baf9fa29cfa36d7e0ff0b8cfa2b60a3926 | 09:44 |
tpb | Title: Add litevideo driver · litex-hub/linux-on-litex-vexriscv@9a9f01b · GitHub (at github.com) | 09:44 |
_florent_ | you could try to look at framebuffer.h/framebuffer.c and skip the part related to the clocking since it's already initialized at a fixed frequency on your board | 09:45 |
dkozel | _florent_: I was just about to ask if a C example for LitePCIe exists, but noticed litepcie_util in the software directory. | 09:46 |
_florent_ | You should be able to have something on the screen (garbage data) by just initializing the DMA | 09:46 |
dkozel | Would it be useful for me to add a description of that util to the top level examples folder README? | 09:46 |
_florent_ | dkozel: yes, there is also a new version of the driver/utils in https://github.com/enjoy-digital/netv2/tree/master/software | 09:47 |
tpb | Title: netv2/software at master · enjoy-digital/netv2 · GitHub (at github.com) | 09:47 |
_florent_ | dkozel: yes sure, contributions on documentation are welcome | 09:48 |
dkozel | _florent_: Great. I'll look at both of those and contribute back where things aren't obvious to a new user | 09:50 |
dkozel | Is the plan to merge back the netv2 PCIe driver in the future? | 09:51 |
_florent_ | dkozel: it's not decided yet, we could keep both for now | 10:40 |
_florent_ | dkozel: the one in LitePCIe is the original one created in 2014, the one in netv2 is a new one that has a different architecture and can be used to do DMA TX/R/X onmultiple channels in // | 10:45 |
_florent_ | dkozel: both are compatible with the gateware. For a new design, i would probably recommend using the one in netv2 | 10:46 |
*** freemint has joined #litex | 13:35 | |
*** freemint has quit IRC | 13:47 | |
*** freemint has joined #litex | 13:47 | |
*** freemint has quit IRC | 14:04 | |
*** CarlFK has joined #litex | 14:09 | |
*** keesj has quit IRC | 16:07 | |
*** freemint has joined #litex | 17:18 | |
*** freemint has quit IRC | 18:23 | |
*** CarlFK has quit IRC | 18:24 | |
*** freemint has joined #litex | 18:26 | |
*** vup has quit IRC | 18:46 | |
*** anuejn has quit IRC | 18:49 | |
*** anuejn has joined #litex | 18:49 | |
*** vup has joined #litex | 18:52 | |
scanakci | _florent_: thanks for the merge. I think my next PR will come once I integrate LiteETH. | 19:16 |
*** freemint has quit IRC | 19:18 | |
*** freemint has joined #litex | 19:21 | |
*** CarlFK has joined #litex | 19:40 | |
*** freemint has quit IRC | 19:54 | |
*** freemint has joined #litex | 20:00 | |
*** freemint has quit IRC | 20:21 | |
sajattack[m] | update: made it past framebuffer initialization after 20000 seconds, but still nothing on screen | 21:02 |
sajattack[m] | longest boot ever? | 21:06 |
sajattack[m] | I should probably mention I'm using linux prebuilt, could that be the issue? When I build it myself it doesn't boot at all | 21:47 |
sajattack[m] | I see that framebuffer change is newer than linux prebuilt | 21:47 |
* sajattack[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/YgWPBpOVqbiQBLHafFQTxfLL > | 21:54 | |
sajattack[m] | I got linux building and running but hangs at the same spot | 22:16 |
CarlFK | karol: mithro handed me a Opsis booster gizmo.... | 23:09 |
CarlFK | when I plug in usb, I get Product: Tomu Bootloader (5) v2.0-rc7 | 23:10 |
CarlFK | but no tty | 23:10 |
*** freemint has joined #litex | 23:34 | |
*** freemint has quit IRC | 23:50 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!