Hello @Arnas Celkys
Regarding the end of you question, it seems that you do not have the U-Boot sources in your developer package.
Anyway, I will help you ;).
Download Developer Package and U-Boot sources
The first step to be able to modify the configuration of U-Boot, is to get the Developer package. Please follow this page: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package
The part related to the install of U-Boot is: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package#Installing_the_U-Boot
Follow the steps and untar the sources.
Build U-Boot
Once you got the sources, you have to go in the extracted folder and follow the “README_HOWTO.txt�? to build the sources.
Modify configuration and enable DDR_INTERACTIVE
Firstly, to modify the configuration you have to use in the U-Boot folder, the command “make menuconfig�? as explained on the wiki: https://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernel
CONFIG_STM32MP1_DDR_INTERACTIVE is not the easiest configuration to enable because it implies to have already enabled other configurations.
The first things to do is search “DDR_INTERACTIVE�?. To realize a search in the menuconfig, you have to hit “/�? key and type the text that you search.
A window like this appears:
As you can see, “STM32MP1_DDR�? is set to [=n] because you have to enable “STM32MP1_DDR�? before being able to enable DDR_INTERACTIVE.
So search “STM32MP1_DDR�? .
You see that you have to enable "OF_CONTROL" and "ARCH_STM32MP" before enabling your configuration
So one more search, search for “OF_CONTROL�?
You can hit the key “1�? to directly go where the config is located or you can search it inside "-> Device Tree Control"
Enable the configuration.
Then to enable "ARCH_STM32MP", you have to change the architecture type from Sandbox to ARM.
This can be done at the root of the menu:
Select ARM architecture in the list.
Now, a new menu appears “ARM Architecture�?. Go inside and looks at “Target select�?.
Modify it to select “Support STMicroelectonics STM32MP Socs with cortex A�?
Finally, you can search again “DDR_INTERACTIVE�? and you will see that you enabled the needed “STM32MP1_DDR�? !
Hit the key “1�? to go directly in the correct submenu or go in:
Location: │
│ -> Device Drivers │
│ -> STM32MP1 DDR driver (STM32MP1_DDR [=y])
And enable it.
The CONFIG_STM32MP1_DDR_INTERACTIVE configuration is now activated.
Be careful to save your modifications.
You can now rebuild the U-Boot sources with these configurations enabled, by following the "README.HOW_TO.txt".
BUT doesn't apply again the default configuration by doing: make stm32mp15_<config>_defconfig
Otherwise you will lose your modifications.
Hope it helps you,
Regards,
Kevin
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'