Other Parts Discussed in Thread: AM4372
I am in the process of upgrading my SDK from version 4.3.0.5 to version 6.3.0.106. I am having trouble getting ethernet initialized, and I am getting the error message "Could not get PHY for ethernet@4a100000: addr 1". It seems like it is because U-boot changed and now uses the CONFIG_DM_ETH define. In the old version of the SDK, eth_initialize() was called in the eth_legacy.c file, and in this function our custom board_eth_init() function was called, where we could set phy_addr to be 1. With the new CONFIG_DM_ETH define, this function is now instead called from the eth-uclass.c file, and our board_eth_init() function is never called.
So how do we set the phy_addr to be 1 with the new version of U-boot?