2024-10-14 07:40 AM
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
2024-10-14 07:42 AM - edited 2024-10-14 07:51 AM
I should note this happens when I try to build the Image or the Device tree