*** tpb <[email protected]> has joined #litex | 00:00 | |
*** shorne <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 00:55 | |
*** shorne <[email protected]> has joined #litex | 00:55 | |
*** shorne <[email protected]> has quit IRC (Ping timeout: 264 seconds) | 02:29 | |
*** shorne <[email protected]> has joined #litex | 02:31 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (Quit: Bye) | 03:09 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has joined #litex | 03:10 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 264 seconds) | 03:25 | |
*** Degi <[email protected]> has joined #litex | 03: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 #litex | 06:51 | |
*** indy_ is now known as indy | 08:04 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 10:11 | |
*** TMM_ <[email protected]> has joined #litex | 10:11 | |
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer) | 10:40 | |
*** shorne <[email protected]> has joined #litex | 10:45 | |
*** somlo <[email protected]> has quit IRC (Quit: Leaving) | 12:45 | |
*** somlo <[email protected]> has joined #litex | 12:47 | |
*** Hammdist <[email protected]> has joined #litex | 13:54 | |
Hammdist | on colorlight 5a-75b is there PHY initialization required? | 13:55 |
---|---|---|
Hammdist | i.e., through MDIO? | 13:56 |
sensille | i don't think so, not totally sure. but it just worked with litex | 13:59 |
sensille | you only have to be careful with the reset line as it stops the clock (or was it on 5a-75e?) | 14:00 |
Hammdist | I 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 |
Hammdist | https://github.com/enjoy-digital/liteeth/blob/4eec8419d0a833bb18461b3b2a2b4205128864b9/liteeth/phy/common.py#L34 it looks like liteeth allows to bitbang through CSR interface | 14:07 |
Hammdist | litex/soc/software/libliteeth/mdio.c indeed there is code for interacting with mdio through csr | 14:12 |
Hammdist | still not sure what, if anything, invokes it though | 14:13 |
Hammdist | litex/soc/software/bios/cmds/cmd_liteeth.c the bios, for one thing | 14:14 |
Hammdist | but that's not an initialization sequence that's just if you want to send mdio commands manually | 14:14 |
Hammdist | so 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#L464 | 14:27 |
Hammdist | I haven't actually found the code of crg_reset but I think that's how it is | 14:27 |
Hammdist | this would mean it's probably OK to not initialize the PHY through MDIO | 14:27 |
Hoernchen | there is in theory nothing you need to do unless you want to turn off autonegotiation for <1gbit or shift the interface delay | 15: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 #litex | 15:47 | |
Hammdist | thanks for confirming | 16:13 |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 17:48 | |
*** TMM_ <[email protected]> has joined #litex | 17: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 #litex | 19:44 | |
*** obinou <[email protected]> has joined #litex | 19:47 | |
*** SpaceCoaster_ <SpaceCoaster_!~derek@user/spacecoaster> has joined #litex | 19:54 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (Ping timeout: 256 seconds) | 19:55 | |
*** SpaceCoaster_ is now known as SpaceCoaster | 19: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 #litex | 22:13 | |
*** dirtysand <dirtysand!~sandisdir@user/Dirtysand> has quit IRC (Quit: Leaving) | 22:25 | |
*** Hammdist <[email protected]> has joined #litex | 22:34 | |
*** shorne <[email protected]> has quit IRC (Read error: Connection reset by peer) | 22:52 | |
*** shorne <[email protected]> has joined #litex | 22:57 | |
*** Hammdist <[email protected]> has left #litex | 23:07 | |
*** Flea86 <Flea86!~maomao@user/Flea86> has joined #litex | 23:31 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!