Hey everyone, I’m having an issue where I have a custom AM3352 board that’s pretty simple: debug UART, UART for BLE HCI, eMMC, and RGMII PHY. No I2C, no GPIOs needed… super simple. I’m trying to get everything booted, using the BeagleBone/AM335X_EVM as bases and I’m having a bit of trouble. I thought since I based this off Robert’s directions on Linux on ARM I’d ask here… the TI forum hasn’t been much help.
What I’m trying to do here is UART boot the u-boot-spl.bin and u-boot.img which is working, but for some reason when I get into the u-boot prompt I can seem to get any ethernet traffic going. I’m trying to get a TFTP boot going from there to load the kernel, dtb, and filesystem.
I’ve enabled the correct PHY driver in menuconfig, and I can see that the PHY is connected and talking via MDIO commands in u-boot, and I can see the link speed via “mii info” but there just doesn’t seem to be traffic. I think I’ve gotten down the path that I need to be using the driver method for setting up Ethernet? I get some errors when I try to compile u-boot with CONFIG_DM_ETH though:
drivers/built-in.o: In function `device_is_compatible': /home/adam/u-boot/drivers/core/device.c:815: undefined reference to `ofnode_device_is_compatible' drivers/gpio/built-in.o: In function `gpio_request_tail': /home/adam/u-boot/drivers/gpio/gpio-uclass.c:665: undefined reference to `ofnode_get_name' drivers/gpio/built-in.o: In function `_gpio_request_by_name_nodev': /home/adam/u-boot/drivers/gpio/gpio-uclass.c:692: undefined reference to ofnode_parse_phandle_with_args'
adding #include <dm/ofnode.h> didn’t change it, even thought that’s where these functions are defined…
Similarly if I try CONFIG_DM_MMC I get an error:
drivers/built-in.o: In function `omap_hsmmc_execute_tuning': /home/adam/u-boot/drivers/mmc/omap_hsmmc.c:645: undefined reference to `thermal_get_temp'
Here’s a link to the TI forum that has some more info from along the way: https://e2e.ti.com/support/processors/f/791/p/894279/3317097#3317097
Thanks, I really appreciate any light anyone can shed.