cancel
Showing results for 
Search instead for 
Did you mean: 

Menuconfig or how to configure kernel make ARCH=arm uImage LOADADDR=<loadaddr of kernel>

kagan_senkeser
Associate II

Hello,

I'm ustin stm32MP135F-DK and try to modify device tree 
Menuconfig or how to configure kernel - stm32mpu
in this link I came to 

make ARCH=arm uImage LOADADDR=<loadaddr of kernel>

And ı getting this error how can ı solve it

CALL scripts/checksyscalls.sh
CC drivers/usb/dwc3/dwc3-stm32.o
drivers/usb/dwc3/dwc3-stm32.c: In function ‘stm32_dwc3_init’:
drivers/usb/dwc3/dwc3-stm32.c:73:35: error: implicit declaration of function ‘FIELD_PREP’ [-Werror=implicit-function-declaration]
73 | FIELD_PREP(SYSCFG_USB3DRCR_HOST_PORT_POWER_CONTROL_PRESENT_MASK,
| ^~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:250: drivers/usb/dwc3/dwc3-stm32.o] Error 1
make[3]: *** [scripts/Makefile.build:500: drivers/usb/dwc3] Error 2
make[2]: *** [scripts/Makefile.build:500: drivers/usb] Error 2
make[1]: *** [scripts/Makefile.build:500: drivers] Error 2
make: *** [Makefile:2035: .] Error 2

2 REPLIES 2
kagan_senkeser
Associate II

I restart the computer and I got different error
CC scripts/mod/empty.o
cc1: error: cannot load plugin ./scripts/gcc-plugins/latent_entropy_plugin.so: ./scripts/gcc-plugins/latent_entropy_plugin.so: undefined symbol: _ZN8opt_pass14set_pass_paramEjb
make[1]: *** [scripts/Makefile.build:250: scripts/mod/empty.o] Error 1
make: *** [Makefile:1284: prepare0] Error 2

Hi @kagan_senkeser ,

 

I suggest you to follow this page instead : https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package#STM32MP135F-DK_and_STM32MP157F-DK2_simple_example

 

or the README_HOW_TO you can find in the developer package 

 

Regards,

Grégory

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.