2021-01-26 06:12 AM
I'm trying to build the large buffer exchange example but have been unsuccessful so far. I have the distribution installed and have no problem building the default package but when I try to build with the logic analyzer I get repo failures and compile failures.
I have 5.4 dunfell distribution installed with dunfell logic analyzer app downloaded, on a machine with ubuntu 20.04. I followed all the steps in the PC Prereqs page to setup the different tools needed to download and compile the distribution.
When I try to compile I always get the following error:
NOTE: Executing Tasks
WARNING: openocd-stm32mp-native-0.10.0-release.AUTOINC+b5d2b1224f-r0 do_fetch: Failed to fetch URL git://repo.or.cz/git2cl.git;;destsuffix=git/tools/git2cl;name=git2cl, attempting MIRRORS if available
WARNING: openocd-stm32mp-native-0.10.0-release.AUTOINC+b5d2b1224f-r0 do_fetch: Failed to fetch URL git://repo.or.cz/jimtcl.git;destsuffix=git/jimtcl;name=jimtcl, attempting MIRRORS if available
WARNING: openocd-stm32mp-native-0.10.0-release.AUTOINC+b5d2b1224f-r0 do_fetch: Failed to fetch URL git://repo.or.cz/libjaylink.git;destsuffix=git/src/jtag/drivers/libjaylink;name=libjaylink, attempting MIRRORS if available
ERROR: linux-stm32mp-5.4.56-r0 do_compile: oe_runmake failed
ERROR: linux-stm32mp-5.4.56-r0 do_compile: Execution of '/home/isdc/STM32MP15-Ecosystem-v2.1.0/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/build-openstlinuxweston-stm32mp1-demo-logicanalyser/tmp-glibc/work/stm32mp1_demo_logicanalyser-ostl-linux-gnueabi/linux-stm32mp/5.4.56-r0/temp/run.do_compile.1392820' failed with exit code 1:
followed by a long trace out and :
| make[2]: *** No rule to make target 'arch/arm/boot/dts/stm32mp157c-demo-logic-analyser-mx.dtb'. Stop.
| make[1]: *** [/home/isdc/STM32MP15-Ecosystem-v2.1.0/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/build-openstlinuxweston-stm32mp1-demo-logicanalyser/tmp-glibc/work-shared/stm32mp1-demo-logicanalyser/kernel-source/Makefile:1242: stm32mp157c-demo-logic-analyser-mx.dtb] Error 2
| make: *** [/home/isdc/STM32MP15-Ecosystem-v2.1.0/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/build-openstlinuxweston-stm32mp1-demo-logicanalyser/tmp-glibc/work-shared/stm32mp1-demo-logicanalyser/kernel-source/Makefile:179: sub-make] Error 2
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/isdc/STM32MP15-Ecosystem-v2.1.0/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-stm32mp/recipes-kernel/linux/linux-stm32mp_5.4.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4544 tasks of which 5 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
Summary: 1 task failed:
/home/isdc/STM32MP15-Ecosystem-v2.1.0/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-stm32mp/recipes-kernel/linux/linux-stm32mp_5.4.bb:do_compile
Summary: There were 3 WARNING messages shown.
Hoping for any help to get example app built.
2021-02-03 06:46 AM
Hello @WCast.1
Great. Thank you for feedback.
Please keep in touch with any coming update on meta-st-stm32mpu-app-logicanalyser in github if you want to rebase on it.
Best regards
Jean-Philippe