Skip to main content
Graduate II
September 28, 2019
Solved

STM32MP1DK2: Developer package - Linux build - error

  • September 28, 2019
  • 2 replies
  • 1018 views

make ARCH=arm O="$PWD/../build" multi_v7_defconfig fragment*.config

make[1]: Entering directory '<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/build'

 GEN    ./Makefile

#

# configuration written to .config

#

 GEN    ./Makefile

<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/scripts/kconfig/Makefile:109: *** No configuration exists for this target on this architecture. Stop.

make[2]: *** [<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/Makefile:539: fragment*.config] Error 2

make[1]: *** [<apth>K/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/Makefile:286: __build_one_by_one] Error 2

make[1]: Leaving directory '<path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/build'

make: *** [Makefile:146: sub-make] Error 2

    This topic has been closed for replies.
    Best answer by debugging

    Made own build scripts and discarded all ST created ones. Now working great for custom boards..

    2 replies

    debuggingAuthor
    Graduate II
    September 29, 2019

    Started from scratch. got Bluetooth errror used make menuconfig to disable Bluetooth and ave to .config, started build again but now got at

    make ARCH=arm modules O="$PWD/../build"

    <path>/Developer-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/net/batman-adv/netlink.c:663:1: internal compiler error: Segmentation fault

     }

     ^

    Please submit a full bug report,

    with preprocessed source if appropriate. 

    debuggingAuthorAnswer
    Graduate II
    August 11, 2024

    Made own build scripts and discarded all ST created ones. Now working great for custom boards..