Hello Andrew
On 02/07/26 20:27, Andrew Davis wrote:
On 7/2/26 3:12 AM, Chintan Vankar wrote:
Enable config support to enable Ethernet boot on SK-AM62A-LP for R5 SPL
stage.
Signed-off-by: Chintan Vankar <[email protected]>
---
configs/am62ax_evm_r5_ethboot_defconfig | 27 +++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 configs/am62ax_evm_r5_ethboot_defconfig
diff --git a/configs/am62ax_evm_r5_ethboot_defconfig b/configs/
am62ax_evm_r5_ethboot_defconfig
new file mode 100644
index 00000000000..215084d1490
--- /dev/null
+++ b/configs/am62ax_evm_r5_ethboot_defconfig
@@ -0,0 +1,27 @@
+#include <configs/am62ax_evm_r5_defconfig>
+
+CONFIG_ARM=y
+CONFIG_ARCH_K3=y
+CONFIG_SOC_K3_AM62A7=y
+CONFIG_TARGET_AM62A7_R5_EVM=y
+CONFIG_DEFAULT_DEVICE_TREE="k3-am62a7-r5-sk"
The above 5 config items are already set in the included defconfig,
they can be removed.
There used to be an issue with buildman that caused us to need to
repeat these items so it could detect the arch/board, but that has
been fixed for a while now. I know many other boards still have this
redundancy, and cleaning that up so others stop copying it has been
on my todo list for a while now.. If anyone else (hint Bryan/Anshul)
wants some easy patches feel free.
Yes, that was the reason I have added these duplicate config options in
this config file. Since these config options are not required anymore I
will remove them in the next version. Thanks for letting me know about
this change.
+# CONFIG_NO_NET is not set
+CONFIG_SPL_GPIO=y
+CONFIG_SPL_MMC=n
So why can't Ethernet boot be supported by the base defconfig? I'm
guessing we don't have the SRAM space at the R5 stage and that is
why we disable MMC boot here. Would be good to put that info in the
commit message.
Yes, that's the reason we need a different defconfig file for R5 SPL
stage. I will modify the commit message and add the required
information.
Regards,
Chintan.
Andrew
+CONFIG_SPL_BOARD_INIT=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
+CONFIG_SPL_DMA=y
+CONFIG_SPL_ENV_SUPPORT=y
+CONFIG_SPL_ETH=y
+CONFIG_SPL_I2C=y
+CONFIG_NET=y
+CONFIG_SPL_NET=y
+CONFIG_SPL_NET_VCI_STRING="AM62AX U-Boot R5 SPL"
+CONFIG_CMD_DHCP=y
+CONFIG_SPL_SYSCON=y
+CONFIG_DMA_CHANNELS=y
+CONFIG_TI_K3_NAVSS_UDMA=y
+CONFIG_DM_I2C=y
+CONFIG_PHY_TI_DP83867=y
+CONFIG_TI_AM65_CPSW_NUSS=y