Wednesday, 2023-12-06

*** tpb <[email protected]> has joined #litex00:00
*** shorne <[email protected]> has quit IRC (Ping timeout: 256 seconds)00:55
*** shorne <[email protected]> has joined #litex00:55
*** shorne <[email protected]> has quit IRC (Ping timeout: 264 seconds)02:29
*** shorne <[email protected]> has joined #litex02:31
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (Quit: Bye)03:09
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has joined #litex03:10
*** Degi <[email protected]> has quit IRC (Ping timeout: 264 seconds)03:25
*** Degi <[email protected]> has joined #litex03:27
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-cd41-0-71e0-e69c-6993-6dfd.ipv6dyn.netcologne.de> has quit IRC (Quit: Konversation terminated!)04:09
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex06:51
*** indy_ is now known as indy08:04
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)10:11
*** TMM_ <[email protected]> has joined #litex10:11
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer)10:40
*** shorne <[email protected]> has joined #litex10:45
*** somlo <[email protected]> has quit IRC (Quit: Leaving)12:45
*** somlo <[email protected]> has joined #litex12:47
*** Hammdist <[email protected]> has joined #litex13:54
Hammdiston colorlight 5a-75b is there PHY initialization required?13:55
Hammdisti.e., through MDIO?13:56
sensillei don't think so, not totally sure. but it just worked with litex13:59
sensilleyou only have to be careful with the reset line as it stops the clock (or was it on 5a-75e?)14:00
HammdistI know litex works on it but maybe the firmware is doing mdio commands? if so I would like to get a code pointer to that ...14:02
Hammdisthttps://github.com/enjoy-digital/liteeth/blob/4eec8419d0a833bb18461b3b2a2b4205128864b9/liteeth/phy/common.py#L34 it looks like liteeth allows to bitbang through CSR interface14:07
Hammdistlitex/soc/software/libliteeth/mdio.c indeed there is code for interacting with mdio through csr14:12
Hammdiststill not sure what, if anything, invokes it though14:13
Hammdistlitex/soc/software/bios/cmds/cmd_liteeth.c the bios, for one thing14:14
Hammdistbut that's not an initialization sequence that's just if you want to send mdio commands manually14:14
Hammdistso apparently litex bios just resets the phy without mdio, though there is option to turn this off: https://github.com/enjoy-digital/litex/blob/a4ead5cab9d341d1b642c016b5f8526b645b3b40/litex/soc/software/libliteeth/udp.c#L46414:27
HammdistI haven't actually found the code of crg_reset but I think that's how it is14:27
Hammdistthis would mean it's probably OK to not initialize the PHY through MDIO14:27
Hoernchenthere is in theory nothing you need to do unless you want to turn off autonegotiation for <1gbit or shift the interface delay15:21
*** matoro <matoro!~quassel@user/matoro> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)15:45
*** matoro <matoro!~quassel@user/matoro> has joined #litex15:47
Hammdistthanks for confirming16:13
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)17:48
*** TMM_ <[email protected]> has joined #litex17:48
*** Hammdist <[email protected]> has quit IRC (Quit: Client closed)19:22
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (Ping timeout: 268 seconds)19:37
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has joined #litex19:44
*** obinou <[email protected]> has joined #litex19:47
*** SpaceCoaster_ <SpaceCoaster_!~derek@user/spacecoaster> has joined #litex19:54
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (Ping timeout: 256 seconds)19:55
*** SpaceCoaster_ is now known as SpaceCoaster19:55
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 256 seconds)20:20
*** dirtysand <dirtysand!~sandisdir@user/Dirtysand> has quit IRC (Read error: Connection reset by peer)22:12
*** dirtysand <dirtysand!~sandisdir@user/Dirtysand> has joined #litex22:13
*** dirtysand <dirtysand!~sandisdir@user/Dirtysand> has quit IRC (Quit: Leaving)22:25
*** Hammdist <[email protected]> has joined #litex22:34
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer)22:52
*** shorne <[email protected]> has joined #litex22:57
*** Hammdist <[email protected]> has left #litex23:07
*** Flea86 <Flea86!~maomao@user/Flea86> has joined #litex23:31

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