Part Number: AM4378
I am working on custom board based on am437x gp EVM. I am doing a network boot to flash the emmc.
RBL is able to download u-boot-spl. But u-boot spl unable to detect ethernet. (No ethernet found)
I added some print statements and found that this function uclass_first_device_check() in net/eth-uclass.c fails.
<debug_uart>
U-Boot SPL 2020.01-g999 (Feb 27 2024 - 10:06:30 +0000)
WDT: Not found!
Trying to boot from eth device
Loading Environment from FAT... OK
No ethernet found. net/eth-uclass.c,eth_initialize, 412
<=== No Ethernet devices found ===>
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
How to debug further? How to add debug print statements in drivers/core/uclass.c.