2024-06-13 08:53 AM
Hi,
I have the STM32H753i-EVAL2 and need to boot from TFTP using U-BOOT. As the STM32H743i-EVAL is very similar to STM32H753i-EVAL2, I uses the stm32h743-eval_defconfig configuration in U-BOOT. I also added the
- Networking support
- Synopsys Designware Ethernet MAC
- Synopsys DWC Ethernet QOS device support for STM32
- Enable RMII
- Microchip(SMSC) Ethernet PHYs support for LAN8742A
and enabled the ethernet in the stm32h743i-eval.dts file:
&mac {
status = "okay";
pinctrl-0 = <ðernet_rmii>;
pinctrl-names = "default";
phy-mode = "rmii";
phy-handle = <&phy0>;
mdio0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dwmac-mdio";
phy0: ethernet-phy@0 {
reg = <0>;
};
};
};
U-BOOT loads, but will not initialize ethernet:
U-Boot 2024.07-rc4-00012-g1ebd659cf0-dirty (Jun 13 2024 - 11:27:54 -0400)
Model: STMicroelectronics STM32H743i-EVAL board
DRAM: 32 MiB
Core: 34 devices, 18 uclasses, devicetree: separate
MMC: STM32 SD/MMC: 0
Loading Environment from nowhere... OK
In: serial@40011000
Out: serial@40011000
Err: serial@40011000
Net: Could not get PHY for ethernet@40028000: addr 0 /* Address comes from .dts file */
No ethernet found.
Hit SPACE in 3 seconds to stop autoboot.
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
U-Boot >
Could you tell what did I miss and how to make U-BOOT to connect to the ethernet.
Thanks