2020-03-11 01:54 AM
Following the instruction from https://github.com/STMicroelectronics/meta-st-stm32mp/blob/thud/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txt
* Configure on a build directory (different of kernel source code directory) Here for example, build directory is located at the same level of kernel source code $> cd <directory to kernel source code> $> mkdir -p ../build
$> make ARCH=arm O="$PWD/../build" multi_v7_defconfig fragment*.config
Then got the following message
make[1]: Entering directory '/home/tim/stm32mp1-openstlinux-4.19-thud-mp1-19-10-09/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/build'
GEN ./Makefile
#
# configuration written to .config
#
GEN ./Makefile
/home/tim/stm32mp1-openstlinux-4.19-thud-mp1-19-10-09/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.49/scripts/kconfig/Makefile:109: *** No configuration exists for this target on this architecture. Stop.
/home/tim/stm32mp1-openstlinux-4.19-thud-mp1-19-10-09/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.49/Makefile:532: recipe for target 'fragment-03-systemd.config' failed
make[2]: *** [fragment-03-systemd.config] Error 2
/home/tim/stm32mp1-openstlinux-4.19-thud-mp1-19-10-09/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.49/Makefile:286: recipe for target '__build_one_by_one' failed
make[1]: *** [__build_one_by_one] Error 2
make[1]: Leaving directory '/home/tim/stm32mp1-openstlinux-4.19-thud-mp1-19-10-09/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/build'
Makefile:146: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
Unsuccessfully, need your help.
Solved! Go to Solution.
2020-03-11 10:05 PM
Hi Olivier,
Thank your quick reply!
Yes, I missed some steps.
It works now after rechecking build processure.
Tim
2020-03-11 02:52 AM
Hi @tpeng.1
The document you refer has been properly validated on Ubuntu 16.04 and 18.04 Linux system.
Are you using other OS for your Host ?
Else please check you didn't miss any steps.
Olivier
2020-03-11 10:05 PM
Hi Olivier,
Thank your quick reply!
Yes, I missed some steps.
It works now after rechecking build processure.
Tim