*** tpb has joined #litex | 00:00 | |
*** lf_ has quit IRC | 00:06 | |
*** lf has joined #litex | 00:07 | |
*** a314 has quit IRC | 02:04 | |
*** a314 has joined #litex | 02:16 | |
*** Degi has quit IRC | 02:38 | |
*** Degi has joined #litex | 02:38 | |
*** _whitelogger has quit IRC | 03:06 | |
*** _whitelogger has joined #litex | 03:08 | |
*** _whitelogger has quit IRC | 04:03 | |
*** _whitelogger has joined #litex | 04:05 | |
*** kgugala_ has joined #litex | 06:18 | |
*** kgugala has quit IRC | 06:22 | |
*** kgugala has joined #litex | 07:46 | |
*** kgugala_ has quit IRC | 07:49 | |
*** indy has quit IRC | 09:09 | |
*** indy has joined #litex | 09:10 | |
*** CarlFK has joined #litex | 14:10 | |
*** daveshah has quit IRC | 14:54 | |
*** x56 has quit IRC | 14:54 | |
*** zyp has quit IRC | 14:54 | |
*** daveshah has joined #litex | 14:55 | |
*** x56 has joined #litex | 14:55 | |
*** CarlFK[m] has quit IRC | 14:59 | |
*** leons has quit IRC | 14:59 | |
*** xobs has quit IRC | 14:59 | |
*** disasm[m] has quit IRC | 14:59 | |
*** sajattack[m] has quit IRC | 14:59 | |
*** powergraphic[m] has quit IRC | 15:00 | |
*** zyp has joined #litex | 15:05 | |
*** krickit has joined #litex | 15:18 | |
krickit | hello everybody | 15:18 |
---|---|---|
krickit | i loaded risc-v in my board and it commands led. | 15:19 |
krickit | now, i want to change order or blinking led | 15:19 |
krickit | which file i have to change? | 15:20 |
*** CarlFK[m] has joined #litex | 15:32 | |
*** powergraphic[m] has joined #litex | 15:37 | |
Claude | Hmm could anyone confirm that lite-pcie isn't currently working on ecp5 ? I somehow was under impression that I saw it working on ecp5 in a tweet some time ago. But now when checking litepcie GitHub I can only find xilinx Phys . Asking because I'm in the process designing a board which needs to have pcie | 15:40 |
daveshah | Currently, litepcie can only use the Xilinx hard IP PHY | 15:41 |
Claude | Ok so a artix7 35 is a good candidate ? | 15:41 |
daveshah | Degi is working on https://github.com/ECP5-PCIe which could eventually plug in to the litepcie infrastructure | 15:41 |
daveshah | I think so, but better check with _florent_ that it would be big enough | 15:41 |
Claude | Ok thanks a lot on the confirmation on ecp5 daveshah | 15:42 |
krickit | daveshah can you help also me? | 15:44 |
krickit | '=D | 15:44 |
daveshah | I don't know. The default LiteX environment doesn't use the CPU to blink the LED, it is a separate piece of standalone gateware | 15:45 |
krickit | ok, so i want to understand how to give commands to litex for complete simple operations | 15:46 |
krickit | what can i do? | 15:46 |
*** powergraphic[m] has quit IRC | 15:47 | |
*** CarlFK[m] has quit IRC | 15:47 | |
krickit | a simple operation like a sum for example | 15:47 |
daveshah | have you read https://github.com/enjoy-digital/litex/wiki/LiteX-for-Hardware-Engineers ? | 15:47 |
daveshah | it's the best thing I can point to | 15:47 |
krickit | ok thanks | 15:48 |
krickit | i haven't read it | 15:48 |
*** xobs has joined #litex | 15:58 | |
somlo | krickit: one more (non-authoritative) data point -- you could look in your build directory under `software/include/generated/csr.h`, there will be `leds_out_[read|write]()` functions; if you add some calls to them from the bare-metal bios that is also built into the bitstream, can you get anything interesting to happen? | 16:14 |
*** CarlFK[m] has joined #litex | 16:18 | |
*** leons has joined #litex | 16:18 | |
*** disasm[m] has joined #litex | 16:18 | |
*** sajattack[m] has joined #litex | 16:18 | |
*** mibus[m] has joined #litex | 16:18 | |
*** powergraphic[m] has joined #litex | 16:18 | |
krickit | somlo I can try. Unfortunately I am now starting to understand how this RiscV works and I am knowledge on the basics is very low | 16:21 |
krickit | i don't know, for example, how to use the software folder after load bitstream in my fpga | 16:23 |
*** kgugala_ has joined #litex | 16:48 | |
*** kgugala__ has joined #litex | 16:51 | |
*** kgugala has quit IRC | 16:51 | |
*** kgugala_ has quit IRC | 16:55 | |
somlo | krickit: it's mostly just for reference, once bitstream is built (i.e., for knowing what addresses the various MMIO a.k.a. CSR registers are located at) | 17:04 |
somlo | that's why I recommended trying to modify the litex/soc/software/bios/... sources *before* you build the bitstream, as that software will be incorporated into the "rom" that's part of the bitstream, and runs on the SoC once it's programmed | 17:05 |
somlo | alternatively, you use that knowledge from whatever software is loaded by the bios, from microSD, or via tftp, or (lately) via liteSATA | 17:06 |
somlo | e.g., from a linux kernel driver, or even by reading/writing "memory" pointers from userspace once the kernel is loaded | 17:07 |
somlo | but (IMHO) the easiest first step to figuring out what reads/writes to/from the LED MMIO register(s) do is to try them as part of the bare-metal bios that's incorporated into the bitstream itself, that way you won't have to deal with loading additional software just to find out | 17:08 |
*** peeps[zen] has joined #litex | 17:40 | |
*** peepsalot has quit IRC | 17:42 | |
*** krickit has quit IRC | 17:56 | |
*** FFY00 has quit IRC | 19:29 | |
*** FFY00 has joined #litex | 19:30 | |
*** CarlFK has quit IRC | 19:56 | |
*** powergraphic[m] is now known as powergraphic | 20:44 | |
*** powergraphic is now known as powergraphic38 | 21:20 | |
*** powergraphic38 has quit IRC | 21:31 | |
*** powergraphic38 has joined #litex | 21:31 | |
*** powergraphic38 is now known as powergraphic | 21:33 | |
*** CarlFK has joined #litex | 21:44 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!