Friday, 2022-10-21

*** tpb <[email protected]> has joined #litex00:00
*** haxxelotto <haxxelotto!~haxxelott@gateway/tor-sasl/haxxelotto> has quit IRC (Remote host closed the connection)00:55
*** tpb <[email protected]> has joined #litex01:31
*** Brinx <[email protected]> has joined #litex01:53
*** Brinx <[email protected]> has quit IRC (Ping timeout: 255 seconds)01:58
*** Degi_ <[email protected]> has joined #litex03:14
*** Degi <[email protected]> has quit IRC (Ping timeout: 260 seconds)03:15
*** Degi_ is now known as Degi03:15
*** benh <[email protected]> has quit IRC (Remote host closed the connection)04:03
*** benh <[email protected]> has joined #litex04:03
*** Brinx <[email protected]> has joined #litex05:55
*** Brinx <[email protected]> has quit IRC (Ping timeout: 260 seconds)05:59
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex06:15
_florent_ozel: Hello, sorry for the delay, I was just going to have a look at this06:35
_florent_ozel: I'll at least update the example designs06:35
*** ozel <[email protected]> has quit IRC (Quit: Client closed)07:24
*** Brinx <[email protected]> has joined #litex07:58
*** zjason` is now known as zjason08:41
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** RowanG[m] <RowanG[m]!~rowang077@2001:470:69fc:105::1:ca9f> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** leons <leons!~leons@2001:470:69fc:105::abc> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** Tari <Tari!~taritaric@2001:470:69fc:105::7fa> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has quit IRC (Quit: Bridge terminating on SIGTERM)08:43
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex08:46
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex08:51
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has joined #litex08:51
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex08:51
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex08:51
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has joined #litex08:51
*** RowanG[m] <RowanG[m]!~rowang077@2001:470:69fc:105::1:ca9f> has joined #litex08:51
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex08:51
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex08:51
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has joined #litex08:51
*** Brinx <[email protected]> has quit IRC (Remote host closed the connection)08:52
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex08:52
*** Tari <Tari!~taritaric@2001:470:69fc:105::7fa> has joined #litex08:52
*** leons <leons!~leons@2001:470:69fc:105::abc> has joined #litex08:52
*** anuejn <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)10:13
*** vup <[email protected]> has quit IRC (Quit: vup)10:13
*** anuejn <[email protected]> has joined #litex11:01
*** vup <[email protected]> has joined #litex11:02
_florent_tnt: Regarding CSR fixed mapping, I'm currently testing this on some designs: https://github.com/enjoy-digital/litex/pull/146714:12
_florent_tnt: If you want have time to do some tests or provide feedback, I'm interested :)14:13
tnt_florent_: oh, interesting. One immediate feedback I'd have is to have some support for a "base" when a AutoCSR module has a submodule which is also AutoCSR.14:21
tntmaybe akin to the csr_map at the top level.14:22
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)16:31
_florent_tnt: thanks, yes, that's only the first step :)16:32
somlo_florent_: getting an error after the latest csr PR merge18:32
somlocommand line is 18:32
somlolitex-boards/litex_boards/targets/digilent_nexys_video.py --build --cpu-type rocket --cpu-variant full4d --sys-clk-freq 50e6 --with-ethernet --with-sdcard --with-sata --sata-gen 1 --with-sata-pll-refclk18:32
somloerror is: LiteEthMAC.get_csrs() got an unexpected keyword argument 'sort'18:32
somlo_florent_: no need to reply here, I added a comment to PR #1467 on github, we can deal with it there :)18:36
_florent_somlo: this should be fixed20:07
_florent_somlo: thanks for the feedback20:07
somlo_florent_: thanks, it's building now20:32
somlothere's another change w.r.t. liteeth: there used to be ethmac, ethphy,a nd buffer CSR register set base addresses20:34
somlonow there's just ethphy and the buffer address, ethmac is missing20:34
somloand that's the one that actually matters (at least to linux)20:34
somloso I still think there's another regression that affects LiteETH 20:37
somloin `csr.csv`, there used to be a `csr_base, ethmac,0x********` entry that's now missing (in addition to `csr_base,ethphy,*` that's still around20:38
_florent_somlo: ah sorry, I forgot to add half of the fix, this should good now21:08
somlodiff csr_nexys_video.csv csr.csv 21:20
somlo2c221:20
somlo< # Auto-generated by LiteX (2de9bb20) on 2022-10-21 10:32:1621:20
somlo---21:20
somlo> # Auto-generated by LiteX (fd285b17) on 2022-10-21 17:17:2621:20
somlo39,52c39,5221:20
somlo< csr_register,ethmac_sram_writer_slot,0x12001000,1,ro21:20
somlo< csr_register,ethmac_sram_writer_length,0x12001004,1,ro21:20
somlo< csr_register,ethmac_sram_writer_errors,0x12001008,1,ro21:20
somlo< csr_register,ethmac_sram_writer_ev_status,0x1200100c,1,ro21:20
somlo< csr_register,ethmac_sram_writer_ev_pending,0x12001010,1,rw21:20
somlo< csr_register,ethmac_sram_writer_ev_enable,0x12001014,1,rw21:20
somlo< csr_register,ethmac_sram_reader_start,0x12001018,1,rw21:20
somlo< csr_register,ethmac_sram_reader_ready,0x1200101c,1,ro21:20
somlo< csr_register,ethmac_sram_reader_level,0x12001020,1,ro21:20
somlo< csr_register,ethmac_sram_reader_slot,0x12001024,1,rw21:20
somlo< csr_register,ethmac_sram_reader_length,0x12001028,1,rw21:20
somlo< csr_register,ethmac_sram_reader_ev_status,0x1200102c,1,ro21:20
somlo< csr_register,ethmac_sram_reader_ev_pending,0x12001030,1,rw21:20
somlo< csr_register,ethmac_sram_reader_ev_enable,0x12001034,1,rw21:20
somlo---21:21
somlo> csr_register,ethmac_sram_reader_length,0x12001000,1,rw21:21
somlo> csr_register,ethmac_sram_reader_level,0x12001004,1,ro21:21
somlo> csr_register,ethmac_sram_reader_ready,0x12001008,1,ro21:21
somlo> csr_register,ethmac_sram_reader_slot,0x1200100c,1,rw21:21
somlo> csr_register,ethmac_sram_reader_start,0x12001010,1,rw21:21
somlo> csr_register,ethmac_sram_reader_ev_enable,0x12001014,1,rw21:21
somlo> csr_register,ethmac_sram_reader_ev_pending,0x12001018,1,rw21:21
somlo> csr_register,ethmac_sram_reader_ev_status,0x1200101c,1,ro21:21
somlo> csr_register,ethmac_sram_writer_errors,0x12001020,1,ro21:21
somlo> csr_register,ethmac_sram_writer_length,0x12001024,1,ro21:21
somlo> csr_register,ethmac_sram_writer_slot,0x12001028,1,ro21:21
somlo> csr_register,ethmac_sram_writer_ev_enable,0x1200102c,1,rw21:21
somlo> csr_register,ethmac_sram_writer_ev_pending,0x12001030,1,rw21:21
somlo> csr_register,ethmac_sram_writer_ev_status,0x12001034,1,ro21:21
somlo54,55c54,5521:21
somlo< csr_register,ethmac_rx_datapath_preamble_errors,0x1200103c,1,ro21:21
somlo< csr_register,ethmac_rx_datapath_crc_errors,0x12001040,1,ro21:21
somlo---21:21
somlo> csr_register,ethmac_rx_datapath_crc_errors,0x1200103c,1,ro21:21
somlo> csr_register,ethmac_rx_datapath_preamble_errors,0x12001040,1,ro21:21
somlodoes this mean that not the base addresses, but the register offsets within each region has changed?21:21
somloif so, that's bad news for the Linux drivers...21:21
somlowell, the LiteETH linux driver in particular, the other devices don't seem to be affected...21:22
somloI'm building it and will test before being 100% sure this is a problem, but I'll need 30-40 minutes21:23
somlomore updates to PR #1467 on github, for better asynchronous communication :)22:34
mithrohttps://frontend.ps1.fpgas.mithis.com/22:58
*** somlo <[email protected]> has quit IRC (Remote host closed the connection)23:06
*** somlo <[email protected]> has joined #litex23:08

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