*** tpb <[email protected]> has joined #litex | 00:00 | |
*** haxxelotto <haxxelotto!~haxxelott@gateway/tor-sasl/haxxelotto> has quit IRC (Remote host closed the connection) | 00:55 | |
*** tpb <[email protected]> has joined #litex | 01:31 | |
*** Brinx <[email protected]> has joined #litex | 01:53 | |
*** Brinx <[email protected]> has quit IRC (Ping timeout: 255 seconds) | 01:58 | |
*** Degi_ <[email protected]> has joined #litex | 03:14 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 03:15 | |
*** Degi_ is now known as Degi | 03:15 | |
*** benh <[email protected]> has quit IRC (Remote host closed the connection) | 04:03 | |
*** benh <[email protected]> has joined #litex | 04:03 | |
*** Brinx <[email protected]> has joined #litex | 05: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 #litex | 06:15 | |
_florent_ | ozel: Hello, sorry for the delay, I was just going to have a look at this | 06:35 |
---|---|---|
_florent_ | ozel: I'll at least update the example designs | 06:35 |
*** ozel <[email protected]> has quit IRC (Quit: Client closed) | 07:24 | |
*** Brinx <[email protected]> has joined #litex | 07:58 | |
*** zjason` is now known as zjason | 08: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 #litex | 08:46 | |
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex | 08:51 | |
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has joined #litex | 08:51 | |
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex | 08:51 | |
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex | 08:51 | |
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has joined #litex | 08:51 | |
*** RowanG[m] <RowanG[m]!~rowang077@2001:470:69fc:105::1:ca9f> has joined #litex | 08:51 | |
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex | 08:51 | |
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex | 08:51 | |
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has joined #litex | 08:51 | |
*** Brinx <[email protected]> has quit IRC (Remote host closed the connection) | 08:52 | |
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex | 08:52 | |
*** Tari <Tari!~taritaric@2001:470:69fc:105::7fa> has joined #litex | 08:52 | |
*** leons <leons!~leons@2001:470:69fc:105::abc> has joined #litex | 08: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 #litex | 11:01 | |
*** vup <[email protected]> has joined #litex | 11:02 | |
_florent_ | tnt: Regarding CSR fixed mapping, I'm currently testing this on some designs: https://github.com/enjoy-digital/litex/pull/1467 | 14: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 |
tnt | maybe 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 merge | 18:32 |
somlo | command line is | 18:32 |
somlo | litex-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-refclk | 18:32 |
somlo | error 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 fixed | 20:07 |
_florent_ | somlo: thanks for the feedback | 20:07 |
somlo | _florent_: thanks, it's building now | 20:32 |
somlo | there's another change w.r.t. liteeth: there used to be ethmac, ethphy,a nd buffer CSR register set base addresses | 20:34 |
somlo | now there's just ethphy and the buffer address, ethmac is missing | 20:34 |
somlo | and that's the one that actually matters (at least to linux) | 20:34 |
somlo | so I still think there's another regression that affects LiteETH | 20:37 |
somlo | in `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 around | 20:38 |
_florent_ | somlo: ah sorry, I forgot to add half of the fix, this should good now | 21:08 |
somlo | diff csr_nexys_video.csv csr.csv | 21:20 |
somlo | 2c2 | 21:20 |
somlo | < # Auto-generated by LiteX (2de9bb20) on 2022-10-21 10:32:16 | 21:20 |
somlo | --- | 21:20 |
somlo | > # Auto-generated by LiteX (fd285b17) on 2022-10-21 17:17:26 | 21:20 |
somlo | 39,52c39,52 | 21:20 |
somlo | < csr_register,ethmac_sram_writer_slot,0x12001000,1,ro | 21:20 |
somlo | < csr_register,ethmac_sram_writer_length,0x12001004,1,ro | 21:20 |
somlo | < csr_register,ethmac_sram_writer_errors,0x12001008,1,ro | 21:20 |
somlo | < csr_register,ethmac_sram_writer_ev_status,0x1200100c,1,ro | 21:20 |
somlo | < csr_register,ethmac_sram_writer_ev_pending,0x12001010,1,rw | 21:20 |
somlo | < csr_register,ethmac_sram_writer_ev_enable,0x12001014,1,rw | 21:20 |
somlo | < csr_register,ethmac_sram_reader_start,0x12001018,1,rw | 21:20 |
somlo | < csr_register,ethmac_sram_reader_ready,0x1200101c,1,ro | 21:20 |
somlo | < csr_register,ethmac_sram_reader_level,0x12001020,1,ro | 21:20 |
somlo | < csr_register,ethmac_sram_reader_slot,0x12001024,1,rw | 21:20 |
somlo | < csr_register,ethmac_sram_reader_length,0x12001028,1,rw | 21:20 |
somlo | < csr_register,ethmac_sram_reader_ev_status,0x1200102c,1,ro | 21:20 |
somlo | < csr_register,ethmac_sram_reader_ev_pending,0x12001030,1,rw | 21:20 |
somlo | < csr_register,ethmac_sram_reader_ev_enable,0x12001034,1,rw | 21:20 |
somlo | --- | 21:21 |
somlo | > csr_register,ethmac_sram_reader_length,0x12001000,1,rw | 21:21 |
somlo | > csr_register,ethmac_sram_reader_level,0x12001004,1,ro | 21:21 |
somlo | > csr_register,ethmac_sram_reader_ready,0x12001008,1,ro | 21:21 |
somlo | > csr_register,ethmac_sram_reader_slot,0x1200100c,1,rw | 21:21 |
somlo | > csr_register,ethmac_sram_reader_start,0x12001010,1,rw | 21:21 |
somlo | > csr_register,ethmac_sram_reader_ev_enable,0x12001014,1,rw | 21:21 |
somlo | > csr_register,ethmac_sram_reader_ev_pending,0x12001018,1,rw | 21:21 |
somlo | > csr_register,ethmac_sram_reader_ev_status,0x1200101c,1,ro | 21:21 |
somlo | > csr_register,ethmac_sram_writer_errors,0x12001020,1,ro | 21:21 |
somlo | > csr_register,ethmac_sram_writer_length,0x12001024,1,ro | 21:21 |
somlo | > csr_register,ethmac_sram_writer_slot,0x12001028,1,ro | 21:21 |
somlo | > csr_register,ethmac_sram_writer_ev_enable,0x1200102c,1,rw | 21:21 |
somlo | > csr_register,ethmac_sram_writer_ev_pending,0x12001030,1,rw | 21:21 |
somlo | > csr_register,ethmac_sram_writer_ev_status,0x12001034,1,ro | 21:21 |
somlo | 54,55c54,55 | 21:21 |
somlo | < csr_register,ethmac_rx_datapath_preamble_errors,0x1200103c,1,ro | 21:21 |
somlo | < csr_register,ethmac_rx_datapath_crc_errors,0x12001040,1,ro | 21:21 |
somlo | --- | 21:21 |
somlo | > csr_register,ethmac_rx_datapath_crc_errors,0x1200103c,1,ro | 21:21 |
somlo | > csr_register,ethmac_rx_datapath_preamble_errors,0x12001040,1,ro | 21:21 |
somlo | does this mean that not the base addresses, but the register offsets within each region has changed? | 21:21 |
somlo | if so, that's bad news for the Linux drivers... | 21:21 |
somlo | well, the LiteETH linux driver in particular, the other devices don't seem to be affected... | 21:22 |
somlo | I'm building it and will test before being 100% sure this is a problem, but I'll need 30-40 minutes | 21:23 |
somlo | more updates to PR #1467 on github, for better asynchronous communication :) | 22:34 |
mithro | https://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 #litex | 23:08 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!