cancel
Showing results for 
Search instead for 
Did you mean: 

Getting an error when trying to build kernel images and device trees on the STM32MP257F-EV1

Carson
Associate III

Hello all,

 

I am following the Getting Started guide for the STM32MP257F-EV1 and the current step I am on is (Getting Started -> STM32MP2 boards -> Develop on Arm Cortex-A35 -> Modify, rebuild, and reload the Linux kernel). Specifically I am in step 4 where it says to build the kernel images and device trees. I am put in the command: sudo make ${IMAGE_KERNEL} vmlinux dtbs LOADADDR=0xC2000040 O="${OUTPUT_BUILD_DIR}" and the I get the following error:

drivers/usb/dwc2/hcd.c: In function ‘dwc2_hcd_hub_control’:
drivers/usb/dwc2/hcd.c:3721:30: error: ‘struct dwc2_hsotg’ has no member named ‘test_mode’
3721 | hsotg->test_mode = windex >> 8;
| ^~
make[4]: *** [scripts/Makefile.build:250: drivers/usb/dwc2/hcd.o] Error 1
make[3]: *** [scripts/Makefile.build:500: drivers/usb/dwc2] 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

 

Any help would be very appreciated. Thank you so much!

Carson

1 REPLY 1
Carson
Associate III

I should note this happens when I try to build the Image or the Device tree