Monday, 2021-10-18

*** tpb <[email protected]> has joined #litex00:00
*** Degi_ <[email protected]> has joined #litex02:39
*** Degi <[email protected]> has quit IRC (Ping timeout: 265 seconds)02:40
*** Degi_ is now known as Degi02:40
*** FabM <FabM!~FabM@2a03:d604:103:600:7083:a9bb:b722:a383> has joined #litex04:27
*** kbeckmann <[email protected]> has quit IRC (*.net *.split)04:30
*** keesj <[email protected]> has quit IRC (*.net *.split)04:30
*** x56 <x56!0x56@user/x56> has quit IRC (*.net *.split)04:30
*** keesj <[email protected]> has joined #litex04:31
*** x56 <x56!0x56@user/x56> has joined #litex04:32
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)04:32
*** TMM_ <[email protected]> has joined #litex04:32
*** kbeckmann <[email protected]> has joined #litex04:40
cr1901Does anyone have a "known good" example of an icebreaker SoC made with litex?06:06
cr1901I can't seem to get the software/bios part of mine to work ._.06:06
tntcr1901: https://github.com/no2fpga/no2migen/blob/master/examples/1bitsquared_icebreaker_usb.py is the most recent I have.06:13
_florent_cr1901: I'm regularly using this: python3 -m litex_boards.targets.1bitsquared_icebreaker --cpu-type=serv --build --flash06:13
cr1901I'll try those later, thanks06:14
_florent_DerekKozel[m]: The checkout in litex_setup is fixed with https://github.com/enjoy-digital/litex/commit/f92a185109f1bb9d9ae52cc2b588628818d249af06:43
_florent_DerekKozel[m]: And Meson install/version is now checked with https://github.com/enjoy-digital/litex/commit/2a109c3a3ee1d765f6c8da7f637d76f2f10e9af706:43
_florent_This would be good to have this directly checked in picolibc but for now this will reduce the support in LiteX for this specific point :)06:47
DerekKozel[m]Thanks! 06:51
*** C-Man <[email protected]> has quit IRC (Ping timeout: 264 seconds)07:07
*** navaneeth <[email protected]> has joined #litex09:40
*** navaneeth <[email protected]> has quit IRC (Quit: Client closed)12:05
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)12:50
*** TMM_ <[email protected]> has joined #litex12:50
mntmninteresting, with quadcore vexriscv, /sbin/init hangs13:40
DerekKozel[m]_florent_: Should CSR_ICAP_SEND_ADDR be CSR_ICAP_WRITE_ADDR?14:07
DerekKozel[m]https://github.com/enjoy-digital/litepcie/blob/fbfd1e740e20cae3777c9b1f9822cecb2d6c59b8/litepcie/software/kernel/main.c#L72514:07
DerekKozel[m] /home/dkozel/src/litex/build/sqrl_acorn/driver/kernel/main.c:725:40: error: ‘CSR_ICAP_SEND_ADDR’ undeclared (first use in this function); did you mean ‘CSR_ICAP_READ_ADDR’?14:07
DerekKozel[m]  725 |    litepcie_writel(chan->litepcie_dev, CSR_ICAP_SEND_ADDR, 1);14:07
DerekKozel[m]Searching through history I can't find SEND_ADDR elsewhere14:09
_florent_DerekKozel[m]: I indeed added READ capability to ICAP recently and then renamed the send CSR to write.14:30
_florent_DerekKozel[m]: I just updated LitePCIe with https://github.com/enjoy-digital/litepcie/commit/2d6830fff324aa6a03c94c2258f2f15268038082, thanks for the feedback (it seems there are still things missing in the CI :))14:31
DerekKozel[m]Thanks!14:32
DerekKozel[m]Happy to be a manual CI here14:32
DerekKozel[m]The GNU Radio -> PCIe Loopback -> GNU Radio setup is working well for data transfer now. I'm working on automating the build and load of the FPGA now14:33
DerekKozel[m]Do you have any handy examples of code using the ICAP read/write?14:34
DerekKozel[m]Currently I'm using the OpenOCD functions14:35
*** C-Man <[email protected]> has joined #litex14:37
mntmnwhat's the right way to define pads as GPIOs that can be toggled from linux (userspace)?14:43
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 268 seconds)14:47
*** FabM <FabM!~FabM@2a03:d604:103:600:ece:5ffc:7b4c:c74e> has joined #litex14:59
*** _franck_1 <[email protected]> has joined #litex15:03
*** _franck_ <[email protected]> has quit IRC (Ping timeout: 245 seconds)15:04
*** _franck_1 is now known as _franck_15:04
mntmn_florent_: i need some GPIO outputs. is there any magic i have to do to get them to show up in the dts other than name the submodule "leds"? 15:16
mntmnso far i did:15:16
mntmnself.submodules.leds = GPIOOut(platform.request_all("gpio"))15:16
mntmnself.add_csr("leds")15:16
mntmnah, i see they actually show up in the DTS now, just with status = "disabled";15:17
mntmngot it to work though15:38
*** Guest78 <[email protected]> has joined #litex16:57
Guest78ilia__s .. Thanks, I did try that, and had the same ld, problem :-/16:58
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)19:15
ilia__shere is the env I use which includes litex and riscv toolchain and targets vexriscv: https://github.com/sergachev/litex-template20:30
*** mc6808 <[email protected]> has joined #litex22:14

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