2024-12-31 03:56 AM - last edited on 2024-12-31 03:58 AM by Peter BENSCH
Hello Team,
Currently we are facing issue in loading a custom kernel on STM32MP157A).
2025-01-02 08:39 PM
Hello Team,
Any updates ? Please kindly let us know at earliest.
Thanks,
2025-01-05 02:13 PM
Hi @Jayesh19101999 !
You can modify the kernel configuration after the step...
$ make CROSS_COMPILE=arm-none-eabi- ARCH=arm O="${OUTPUT_BUILD_DIR}" defconfig fragment*.config
...mentioned in the ST Wiki with...
$ make CROSS_COMPILE=arm-none-eabi- ARCH=arm O="${OUTPUT_BUILD_DIR}" menuconfig
...followed by the other steps in the ST Wiki...
$ for f in `ls -1 ../fragment*.config`; do scripts/kconfig/merge_config.sh -m -r -O ${OUTPUT_BUILD_DIR} ${OUTPUT_BUILD_DIR}/.config $f; done
$ (yes '' || true) | make ARCH=arm CROSS_COMPILE=arm-none-eabi- oldconfig O="${OUTPUT_BUILD_DIR}"
$ [...]
This worked for me. Hope it helps.
(The environment variables ARCH=arm and CROSS_COMPILE=arm-none-eabi- where required on my build system on Debian 12, because I don't use the ST toolchains.)