Our hardware design is based off TI AM437x Starter Kit. We used to use TI SDK version 05.02.00.10 (Dec 19, 2018). We are currently upgrading the TI SDK to 08.02.00.24 (Jun 6, 2022).
We had modified u-boot-2018.01+gitAUTOINC+313dcd69c2-g313dcd69c2 that comes with TI SDK versoin 05.02.00.10 by adding the function int board_eth_init(bd_t *bis) in board.c. We were then able to use the mac addresses set in the EEMPROM.
However, the u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8 that comes with TI SDK version 08.02.00.24 has a lot of changes and incorporating similar function to read the MAC addresses from the EEPROM and set the u-boot to pass those MAC addresses to the kernel has become challenging.
Do you have suggestions on how we can resolve and implement this?
A snippet of the changes we made in board.c that worked with TI SDK version 05.02.00.10 looks like this: