Saturday, 2021-02-06

*** tpb has joined #litex00:00
*** lf_ has quit IRC00:33
*** lf has joined #litex00:33
*** futarisIRCcloud has joined #litex02:33
*** Degi_ has joined #litex03:25
*** Degi has quit IRC03:26
*** Degi_ is now known as Degi03:26
*** Bertl_oO is now known as Bertl_zZ03:34
*** futarisIRCcloud has quit IRC04:42
*** tpb has joined #litex05:27
*** _whitelogger has quit IRC05:48
*** _whitelogger has joined #litex05:50
*** SpaceCoaster_ has quit IRC06:06
*** SpaceCoaster has joined #litex06:06
*** skiphs has joined #litex08:07
*** skiphs has quit IRC08:25
*** Bertl_zZ is now known as Bertl10:38
*** kgugala has quit IRC11:34
*** Melkhior has joined #litex11:35
MelkhiorHello again:-)  Another week-end another question; this time it relates to clocks - why is 'cd_idelay' (used to drive an IDELAYCTRL block if I understand correctly) fixed at 200 MHz for DDR3 and 500 MHz at DDR4 (or so it seems from grep'ing the targets file) ? It that a hard requirement ? Could it be a multiple of the core and/or reference12:06
Melkhiorfrequency ?12:06
MelkhiorCurrently this fixed 200 MHz frequency prevent me to fine-tune the frequency of my cores, as the S7MMCM fails to find parameters in most cases. So I can use a core at 100 MHz or 83.333 from my 48 MHz reference, but not 96 MHz. And I've added so much stuff in the decoder it won't pass timings at 100 Mhz anymore :-)12:06
MelkhiorOn the other hand, if I set the cd_idelay clock to 192 MHz (exactly 4x the reference clock), then the S7MMCM seems much more tolerant, as the parameters are much easier to compute...12:06
*** pdp7 has quit IRC12:10
*** dayjaby has joined #litex12:11
dayjabyHi:)  how to set breakpoints reliably for a LiteX cpu? currently trying to run zephyr on arty a7-35t + vexriscv. I tried:12:16
dayjaby(gdb) break console_out12:16
dayjaby(gdb) c12:16
dayjabyContinuing.12:16
dayjaby<< here I restart litex_term to flash zephyr.bin >>12:16
dayjabyNote: CPU is currently in a trap: Misaligned load address of 0x00010005 at 0x40001d2812:16
dayjaby40001d08 <console_out>:12:16
dayjaby40001d08:       ff010113                addi    sp,sp,-1612:16
dayjaby40001d0c:       400037b7                lui     a5,0x4000312:16
dayjaby40001d10:       00812423                sw      s0,8(sp)12:16
dayjaby40001d14:       00112623                sw      ra,12(sp)12:16
dayjaby40001d18:       00050413                mv      s0,a012:16
dayjaby40001d1c:       7807a503                lw      a0,1920(a5) # 40003780 <uart_console_dev>12:16
dayjaby40001d20:       00852783                lw      a5,8(a0)12:16
dayjaby40001d24:       0ff47593                andi    a1,s0,25512:16
dayjaby40001d28:       0047a783                lw      a5,4(a5)12:16
dayjabyIt seems like the breakpoint gets ignored12:16
*** Melkhior has quit IRC12:57
*** dayjaby has quit IRC12:57
*** Melkhior has joined #litex13:25
*** dayjaby has joined #litex13:54
dayjaby--============= Liftoff! ===============--13:54
dayjaby*** Booting Zephyr OS build zephyr-v2.4.0-2710-g5358a11687a3  ***13:54
dayjabyHello World! litex_vexriscv13:54
dayjabyGot it working!13:54
*** kgugala has joined #litex15:06
*** Bertl is now known as Bertl_oO15:13
*** dayjaby has quit IRC16:56
*** Melkhior has quit IRC16:57
*** skiphs has joined #litex18:12
geertuDoes anyone know which board from litex-boards was tested with microwatt?19:50
geertuwith orangecrab, if fails with19:50
geertuAttributeError: 'Microwatt' object has no attribute 'interrupt'19:50
geertuSo I'd thought to ask first, before I dive deeper...19:51
geertus/if fails/it fails/, ofc19:51
zypbenh can probably answer that20:00
*** skiphs has quit IRC20:11
tcaldayjaby: the debug vexriscv  pre-built for use with litex has no hardware breakpoints, while gdb / wishbone-tool assumes the hw breakpoints are there.   Can you coerce GDB to use SW breakpoints (replace the instruction at the breakpoint with a trap instruction)?   Otherwise, you can rebuild vexriscv with the hw breakpoint support, although you'll need to install sbt (the scala build tool).   Let me know if you want to go21:23
tcalthat route...21:23
*** Finde has quit IRC23:46
*** Finde has joined #litex23:47

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