Skip to content

liteeth/gen: Use hw_init_reset for rgmii#119

Open
mkj wants to merge 1 commit into
enjoy-digital:masterfrom
CodeConstruct:dev/rgmii-hw-reset
Open

liteeth/gen: Use hw_init_reset for rgmii#119
mkj wants to merge 1 commit into
enjoy-digital:masterfrom
CodeConstruct:dev/rgmii-hw-reset

Conversation

@mkj
Copy link
Copy Markdown

@mkj mkj commented Sep 6, 2022

I'm not sure of the original reason for this being marked FIXME, so if the hw_init_reset needs to remain I can instead make this a configuration option for litedram_gen.

This re-enables hw_init_reset that was disabled in
ea24ff6 ("liteeth_gen: improve readability and add clk_freq checks.")

A chip reset is necessary using the Microchip KSZ9031RNX
PHY on an antmicro-artix-dc-scm board (possibly depending on startup
power timing)

This re-enables hw_init_reset that was disabled in
ea24ff6 ("liteeth_gen:  improve readability and add clk_freq checks.")

A chip reset is necessary using the Microchip KSZ9031RNX
PHY on an antmicro-artix-dc-scm board (possibly depending on startup
power timing)
mkj added a commit to CodeConstruct/microwatt that referenced this pull request Oct 14, 2022
Non-rgmii devices are unchanged

Fixes intermittent ethernet on antmicro-artix-dc-scm.
enjoy-digital/liteeth#119

Built with liteeth
CodeConstruct/liteeth@dbb13f1
("liteeth/gen: Use hw_init_reset for rgmii")

litex master
4426e618 ("soc/add_pcie: Expose with_synchronizer parameter.")

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
@enjoy-digital
Copy link
Copy Markdown
Owner

Hi @mkj,

sorry for the delay. The FIXME was probably here when used with the HW stack, I'll have a closer look at the use-case that was requiring it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants