Tuesday, 2020-11-03

*** tpb has joined #litex00:00
*** lf_ has quit IRC00:06
*** lf has joined #litex00:07
*** a314 has quit IRC02:04
*** a314 has joined #litex02:16
*** Degi has quit IRC02:38
*** Degi has joined #litex02:38
*** _whitelogger has quit IRC03:06
*** _whitelogger has joined #litex03:08
*** _whitelogger has quit IRC04:03
*** _whitelogger has joined #litex04:05
*** kgugala_ has joined #litex06:18
*** kgugala has quit IRC06:22
*** kgugala has joined #litex07:46
*** kgugala_ has quit IRC07:49
*** indy has quit IRC09:09
*** indy has joined #litex09:10
*** CarlFK has joined #litex14:10
*** daveshah has quit IRC14:54
*** x56 has quit IRC14:54
*** zyp has quit IRC14:54
*** daveshah has joined #litex14:55
*** x56 has joined #litex14:55
*** CarlFK[m] has quit IRC14:59
*** leons has quit IRC14:59
*** xobs has quit IRC14:59
*** disasm[m] has quit IRC14:59
*** sajattack[m] has quit IRC14:59
*** powergraphic[m] has quit IRC15:00
*** zyp has joined #litex15:05
*** krickit has joined #litex15:18
krickithello everybody15:18
krickiti loaded risc-v in my board and it commands led.15:19
krickitnow, i want to change order or blinking led15:19
krickitwhich file i have to change?15:20
*** CarlFK[m] has joined #litex15:32
*** powergraphic[m] has joined #litex15:37
ClaudeHmm 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 pcie15:40
daveshahCurrently, litepcie can only use the Xilinx hard IP PHY15:41
ClaudeOk so a artix7 35 is a good candidate ?15:41
daveshahDegi is working on https://github.com/ECP5-PCIe which could eventually plug in to the litepcie infrastructure15:41
daveshahI think so, but better check with _florent_ that it would be big enough15:41
ClaudeOk thanks a lot on the confirmation on ecp5 daveshah15:42
krickitdaveshah can you help also me?15:44
krickit'=D15:44
daveshahI don't know. The default LiteX environment doesn't use the CPU to blink the LED, it is a separate piece of standalone gateware15:45
krickitok, so i want to understand how to give commands to litex for complete simple operations15:46
krickitwhat can i do?15:46
*** powergraphic[m] has quit IRC15:47
*** CarlFK[m] has quit IRC15:47
krickita simple operation like a sum for example15:47
daveshahhave you read https://github.com/enjoy-digital/litex/wiki/LiteX-for-Hardware-Engineers ?15:47
daveshahit's the best thing I can point to15:47
krickitok thanks15:48
krickiti haven't read it15:48
*** xobs has joined #litex15:58
somlokrickit: 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 #litex16:18
*** leons has joined #litex16:18
*** disasm[m] has joined #litex16:18
*** sajattack[m] has joined #litex16:18
*** mibus[m] has joined #litex16:18
*** powergraphic[m] has joined #litex16:18
krickitsomlo I can try. Unfortunately I am now starting to understand how this RiscV works and I am knowledge on the basics is very low16:21
krickiti don't know, for example, how to use the software folder after load bitstream in my fpga16:23
*** kgugala_ has joined #litex16:48
*** kgugala__ has joined #litex16:51
*** kgugala has quit IRC16:51
*** kgugala_ has quit IRC16:55
somlokrickit: 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
somlothat'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 programmed17:05
somloalternatively, you use that knowledge from whatever software is loaded by the bios, from microSD, or via tftp, or (lately) via liteSATA17:06
somloe.g., from a linux kernel driver, or even by reading/writing "memory" pointers from userspace once the kernel is loaded17:07
somlobut (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 out17:08
*** peeps[zen] has joined #litex17:40
*** peepsalot has quit IRC17:42
*** krickit has quit IRC17:56
*** FFY00 has quit IRC19:29
*** FFY00 has joined #litex19:30
*** CarlFK has quit IRC19:56
*** powergraphic[m] is now known as powergraphic20:44
*** powergraphic is now known as powergraphic3821:20
*** powergraphic38 has quit IRC21:31
*** powergraphic38 has joined #litex21:31
*** powergraphic38 is now known as powergraphic21:33
*** CarlFK has joined #litex21:44

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!