Tuesday, 2022-12-13

*** tpb <[email protected]> has joined #litex00:00
*** geertu <[email protected]> has joined #litex00:00
*** Finde <[email protected]> has joined #litex00:01
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex00:02
*** dark_star <dark_star!~dark_star@user/dark-star/x-6605035> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)01:33
*** dark_star <dark_star!~dark_star@user/dark-star/x-6605035> has joined #litex01:45
*** bl0x_ <[email protected]> has joined #litex02:40
*** bl0x <[email protected]> has quit IRC (Ping timeout: 252 seconds)02:41
*** hammdist <[email protected]> has joined #litex02:44
*** Degi <[email protected]> has quit IRC (Ping timeout: 260 seconds)02:45
*** Degi <[email protected]> has joined #litex02:45
hammdisthow would I determine whether a particular board is supported with a FOSS toolchain?02:51
sensillehammdist: safest bet is still lattice ECP5 or iCE40 fpga. the board itself is of lesser importance06:05
sensilleto my knowledge everything else is more or less experimental06:06
sensillebut for the smaller fpgas most vendor toolchains are also free and run on linux. but compared to yosys they are a pain to handle06:08
*** indy_ <[email protected]> has joined #litex06:47
MoeIcenowyyes, just choose a board with ECP5/iCE4007:02
MoeIcenowyfor iCE40, iCE40UL and iCE5LP is blacklisted07:02
MoeIcenowyfor ECP5 I am not sure (my only ECP5 board is just Colorlight "LED screen controller"07:03
MoeIcenowyby the way the iCE40 vendor toolchain is very weird07:03
MoeIcenowymaybe worse than open source one07:03
*** dark_star <dark_star!~dark_star@user/dark-star/x-6605035> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)07:11
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex07:37
*** genpaku <[email protected]> has quit IRC (Remote host closed the connection)07:40
*** genpaku <[email protected]> has joined #litex07:40
*** dark_star <dark_star!~dark_star@user/dark-star/x-6605035> has joined #litex08:00
*** dark_star <dark_star!~dark_star@user/dark-star/x-6605035> has quit IRC (Ping timeout: 272 seconds)08:07
*** beltzer <beltzer!~beltzer@2001:67c:2564:518:9e7b:efff:fe46:1776> has joined #litex10:58
beltzerisr.c was moved from the bios directory to libbase (884ee45c289e1a1650937355c6356b3f64ee0c3a). Does this not make it harder to add your own interrupt handlers without modifying libbase for your project? Before you could just specify your own isr function, doing that now throws a linker error.11:04
somlohammdist: it shows as "out of stock" at the moment, but I'd recommend trying to find out if/when they're going to do another production run of this board: https://shop.lambdaconcept.com/home/46-2-ecpix-5.html#/2-ecpix_5_fpga-ecpix_5_85f13:21
tpbTitle: ECPIX-5 (at shop.lambdaconcept.com)13:21
somlo(it can run Fedora-riscv64 on bitstream built with yosys/trellis/nextpnr, so IMHO it's the optimal FOSS-all-the-way-down board out there)13:23
MoeIcenowysomlo: a full rocket?14:10
MoeIcenowy(with this price I can buy a xc7k325t board by QMtech,14:12
MoeIcenowyand +50 euros I can buy a STLV732514:12
MoeIcenowyfor STLV7325, considering it has a SODIMM slot, it might be able to self-reproduce the gateware someday (but not today, >32bit bus support in LiteX does not exist now14:13
MoeIcenowyand 7-series open source toolchain is also not really usable now14:15
somloMoeIcenowy: yeah, a single-core "full" double-wide (128-bit memory bus -- 512MB DRAM) Rocket, with sdcard and ethernet14:36
geertusomlo: Care to try https://lore.kernel.org/all/4d07ad990740a5f1e426ce4566fb514f60ec9bdd.1670509558.git.geert+renesas@glider.be on Rocket?15:38
tpbTitle: [PATCH] lib: Add Dhrystone benchmark test - Geert Uytterhoeven (at lore.kernel.org)15:38
geertuOn orangecrab/vexriscv @ 64 MHz, I got 22 DMIPS (0.3 DMIPS/MHz)15:39
geertuwhich is far from the claimed 1.44 or 1.57 on https://github.com/SpinalHDL/VexRiscv15:40
tntgeertu: vex is so configurable that it heavily depends on your config. Also highly dependent on your memory system. You'd only reach that with on-chip zero latency memory probably.15:55
tntAlso, those numbers would be running benchmark baremetal with no os overhead.15:56
geertutnt: So far, Andestech AX45 (in RZ/Five) is the RISC-V core with the highest DMIPS/MHz I have (2.2)15:58
tntBut what fmax do you get with it on the same fpga vs Vex ? :D16:00
geertutnt: ;-)16:02
somlogeertu: on a nexys-video with 4 Rocket cores (the "full", a.k.a. FPU-enabled variant), I did `echo y > /sys/module/test_dhry/parameters/run` (i.e., without any additional preparation, paramter settings, etc.)16:09
somlogot "CPU3: Dhrystones per Second: 106384 (60 DMIPS)"16:10
somloI should also mention the cpu clock is 50MHz16:11
somloI assume only one core is used by default? (in which case I'd expect similar results on any 50MHz "full" Rocket/LiteX system, regardless of core count)16:13
geertusomlo: Thx! 1.2 DMIPS/MHz is not that bad, given that I get 1.5 on U54 and 1.8 on U74 hardcores16:13
geertusomlo: Yes, it's per core16:14
somlogeertu: is this on its way to official upstream? Once it lands, I should add it to the rocket/litex defconfig in `litex-hub/litex-rebase` :)16:15
*** hammdist <[email protected]> has quit IRC (Quit: Client closed)16:15
geertusomlo: That's the plan. But it's really only intended for testing.16:15
somlowell, yeah, just like the `litex-rebase` branch itself16:15
MoeIcenowysomlo: BTW I did some conditionally-compiled DT at https://github.com/Icenowy/linux-on-litex-openc90616:16
MoeIcenowyalthough initially created for OpenC906, I also use this to run on Rocket now too16:16
somloMoeIcenowy: interesting! Although, long-term, I'd like to take advantage of the `pythondata_cpu_rocket/verilog/generated-src/*.dts` files that are generated by Chisel along with the verilog for each specific variant16:23
somlowhich should come in handy if we ever manage to get rid of variants and elaborate the verilog from chisel on-demand16:24
*** hammdist <[email protected]> has joined #litex16:29
jevinskie[m]<MoeIcenowy> "for STLV7325, considering it has..." <- Yes rebuilding itself from its bootstraps is an interesting prospect :)16:48
jevinskie[m]It looks like dynamic timing (e.g. delays) support has been upstreamed from antmicro’s verilator fork to the main repo. I should be able to run litex_sim with Micron DDR3 models now :)16:51
somloyeah, short-term an ECP5 board with a SODIMM slot would be nice :) Medium-term, full yosys/nextpnr support for xilinx 7-series chips (artix/kintex/virtex) would be even more awesome17:02
geertuAny open toolchain for mpfs?17:22
*** TMM__ <[email protected]> has joined #litex17:50
*** amstan1 <amstan1!~amstan@2001:470:69fc:105::1e9> has joined #litex17:50
*** alanvgreen_ <[email protected]> has joined #litex17:51
*** Crofton[m]1 <Crofton[m]1!~croftongn@2001:470:69fc:105::9a7> has joined #litex17:51
*** alanvgreen <[email protected]> has quit IRC (Ping timeout: 252 seconds)17:55
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has quit IRC (Ping timeout: 252 seconds)17:55
*** TMM_ <[email protected]> has quit IRC (Ping timeout: 252 seconds)17:55
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (Ping timeout: 252 seconds)17:55
*** anuejn <[email protected]> has quit IRC (Read error: Connection reset by peer)17:55
*** alanvgreen_ is now known as alanvgreen17:55
*** anuejn <[email protected]> has joined #litex17:56
*** hammdist <[email protected]> has quit IRC (Quit: Client closed)19:15
*** hrberg <[email protected]> has quit IRC (Ping timeout: 256 seconds)19:40
*** hrberg <[email protected]> has joined #litex19:41
*** lambda <[email protected]> has quit IRC (Quit: WeeChat 3.5)20:02
*** lambda <[email protected]> has joined #litex20:03
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 260 seconds)21:33
*** kaaliakahn <kaaliakahn!~kaaliakah@2601:18f:300:3180::693b> has joined #litex21:59
*** joseng <[email protected]> has joined #litex22:02

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