Increase the size of malloc region allocated before relocation, as current size is insufficient for dfu boot causing it to overflow and corrupt the stack.
Enable the fixed regulator configs required by vtt_supply which is used by "am654_ddrss" driver. Without it during DFU boot DDRSS initialization is failing. These configs are enabled in "am65x_evm_r5_defconfig" but are missing from "am65x_evm_r5_usbdfu_defconfig". Signed-off-by: Hrushikesh Salunke <h-salu...@ti.com> --- This patch is based on following commit in master branch 7a45cb4ffe fs/erofs: fix an integer overflow in symlink resolution configs/am65x_evm_r5_usbdfu_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/am65x_evm_r5_usbdfu_defconfig b/configs/am65x_evm_r5_usbdfu_defconfig index 0b5eaeb363..672346b332 100644 --- a/configs/am65x_evm_r5_usbdfu_defconfig +++ b/configs/am65x_evm_r5_usbdfu_defconfig @@ -1,7 +1,7 @@ CONFIG_ARM=y CONFIG_ARCH_K3=y CONFIG_SYS_MALLOC_LEN=0x2000000 -CONFIG_SYS_MALLOC_F_LEN=0x55000 +CONFIG_SYS_MALLOC_F_LEN=0x57000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y @@ -98,6 +98,8 @@ CONFIG_POWER_DOMAIN=y CONFIG_TI_SCI_POWER_DOMAIN=y CONFIG_DM_REGULATOR=y CONFIG_SPL_DM_REGULATOR=y +CONFIG_DM_REGULATOR_FIXED=y +CONFIG_SPL_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_GPIO=y CONFIG_SPL_DM_REGULATOR_GPIO=y CONFIG_DM_REGULATOR_TPS62360=y -- 2.34.1