Tuesday, 2022-04-19

*** tpb <[email protected]> has joined #litex00:00
*** Degi <[email protected]> has quit IRC (Ping timeout: 240 seconds)00:35
*** Degi <[email protected]> has joined #litex00:36
*** lexano <[email protected]> has quit IRC (Quit: Leaving)01:29
*** lexano <[email protected]> has joined #litex01:29
*** Garfias <Garfias!~Garfias@2806:2f0:9f80:1fc8:20fb:9e73:e3b1:dd95> has joined #litex05:15
GarfiasHow can I create a standalone LiteSDRAM core? I have the DE10-Lite with IS42S16320F, I see that it is in the modules list, but I do not understand from the examples how a standalone core (w/o cpu) can be created05:16
*** FabM <[email protected]> has joined #litex06:46
*** znullptr[m] <znullptr[m]!~znullptrm@2001:470:69fc:105::1:d698> has quit IRC (Quit: You have been kicked for being idle)09:00
*** davebee <[email protected]> has joined #litex09:17
davebeeI want to be able to use interrupts with the liteeth Ethernet interface. I have found the Linux driver, but what support is there for OS-less systems? What is the best way of building a small footprint system that can use interrupts?09:38
_florent_Garfias: LiteDRAM has a standalone generator: https://github.com/enjoy-digital/litedram/blob/master/litedram/gen.py it can be use to generate standalone cores from .yml files and litedram_gen command09:55
_florent_davebee: The BIOS uses interrupt for some peripherals, but I'm not sure to remember if Ethernet uses it. If not, you could have a look at the UART interrupt support.10:14
davebee_florent_: thanks. I have uart/timer/eth interrupt hardware. I need to get a system tick working, so I'll look at the uart code and get a timer tick working. Then look at eth. 10:17
_florent_davebee: good10:17
*** indy <[email protected]> has quit IRC (Read error: Connection reset by peer)10:45
*** indy <[email protected]> has joined #litex10:45
*** indy <[email protected]> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in)11:29
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has quit IRC (Remote host closed the connection)11:29
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex11:30
*** indy <[email protected]> has joined #litex11:30
*** zjason``` <zjason```[email protected]> has joined #litex11:30
*** zjason`` <zjason``[email protected]> has quit IRC (Ping timeout: 246 seconds)11:32
*** Garfias <Garfias!~Garfias@2806:2f0:9f80:1fc8:20fb:9e73:e3b1:dd95> has quit IRC (Quit: Client closed)12:15
*** tedh_ <[email protected]> has quit IRC (Remote host closed the connection)12:52
*** tedh_ <[email protected]> has joined #litex12:52
davebeeThere is a problem using the timer0 as a system tick. It is used in the busy_wait(ms) and busy_wait_us() functions, which overwrite the regs. These functions are used internally by the sdcard, sata etc. drivers.13:43
davebeeIs there a way to add a second timer, ie timer1 ?13:59
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)14:46
_florent_davebee: It should be possible with add_timer: https://github.com/enjoy-digital/litex/blob/master/litex/soc/integration/soc.py#L1026-L103115:48
davebee_florent_: Thanks. Getting ETHMAC interrupts. Not sure I'm up to writing a driver for it though. It is currently dropping Tx packets, in polled mode.15:55
*** Garfias <[email protected]> has joined #litex16:06
*** Garfias <[email protected]> has quit IRC (Client Quit)16:06
*** davebee <[email protected]> has quit IRC (Quit: Leaving)16:20
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)19:35
*** TMM_ <[email protected]> has joined #litex19:35

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