Hi there,
Looks to be a good topic, not much ethernet here. 
looks like If the net command is missing in U-Boot, the build likely does not include networking support. Check the U-Boot build config:
grep CONFIG_CMD_NET u-boot/.config
It should output:
CONFIG_CMD_NET=y
If it is missing, enable it by adding the following to u-boot/configs/stm32mp157c_defconfig:
CONFIG_CMD_NET=y
CONFIG_CMD_PING=y
CONFIG_CMD_DHCP=y
CONFIG_CMD_MII=y
CONFIG_NET_RANDOM_ETHADDR=y
Then, rebuild U-Boot.
HTH
GL
PJ 
I see this on the DTB issue.
Device Tree Source is not correctly specified.
This means U-Boot is not recognizing this DTB name. The fix is:
Ensure the DTB is correctly named in U-Boot’s source tree
Copy the correct DTB source into U-Boot:
cp arch/arm/dts/stm32mp1-seeed-npi-full.dtb u-boot/arch/arm/dts/
If stm32mp1-seeed-npi-full.dts does not exist, try decompiling it:
dtc -I dtb -O dts -o stm32mp1-seeed-npi-full.dts stm32mp1-seeed-npi-full.dtb
cp stm32mp1-seeed-npi-full.dts u-boot/arch/arm/dts/
Manually set CONFIG_DEFAULT_DEVICE_TREE
Edit: u-boot/configs/stm32mp157c_defconfig and set:
CONFIG_DEFAULT_DEVICE_TREE=“stm32mp1-seeed-npi-full”
Ensure U-Boot builds with the correct DTB
Rebuild U-Boot:
make distclean
make stm32mp157c_defconfig
make DEVICE_TREE=stm32mp1-seeed-npi-full -j$(nproc)
YMMV 
Even with the correct DTB, U-Boot might not have the Ethernet driver enabled.
Check if CONFIG_STM32MP1_ETH is enabled:
grep CONFIG_STM32MP1_ETH u-boot/.config
If missing, enable it in u-boot/configs/stm32mp157c_defconfig:
CONFIG_DM_ETH=y
CONFIG_PHYLIB=y
CONFIG_PHY_REALTEK=y
CONFIG_NETDEVICES=y
CONFIG_STM32MP1_ETH=y
Then rebuild U-Boot.
After flashing the new U-Boot build:
Test Ethernet in u-boot
setenv ethaddr 00:11:22:33:44:55
setenv ipaddr 192.168.2.2
setenv serverip 192.168.2.1
saveenv
dhcp
ping 192.168.2.1
If it still fails…try
mii info
mdio list
This will check if the Ethernet PHY is detected.
lmk if and where it gets stuck. 