#av1 #armv6 #raspberrypi #neon
Hello folks,
I have an issue integrating av1 in yocto. I get the compile error "compiling simd-neon.h requires -mfpu=neon or equivalent". The problem is that i use armv6 (raspberrypi zero w) so i can't exactly do that. Anyone have a workaround this problem ?
Best regards,
Safouane.Maaloul
A message that is not in the archive (sent off-list or not yet received): CAGAf8LxoGwaocSUq04jqar4hQH2NiZ2DdumN5dpnQm4dr2wkew@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): CAEj=YVJ6z6etLaMrFUXREfeyFhaS-UvnnDh19zUor37eAPGnvQ@mail.gmail.com
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
A message that is not in the archive (sent off-list or not yet received): CAEj=YVLoCXsYPF_ptXLZTDuQi3JLwRZAJNmbrUziUj-Mf8DHfw@mail.gmail.com
Quoted 42 lines · safouane maaloul
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard"meta
meta-poky
meta-yocto-bsp = "dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
meta-oe
meta-multimedia
meta-networkingmeta-python = "dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073" meta-raspberrypi = "dunfell:987993209716302eb8f314f69a2a3340555f94d8" meta-gstreamer1.0 = "dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"Best regards,
Safouane
Quoted 6 lines · Zoran Stojsavljevic
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
*SAFOUANE MAALOUL*
Signature · 3 lines
*SAFOUANE MAALOUL* *[email protected] <[email protected]>*
Quoted 1 line
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs callconvention-hard"
Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.html
What I am getting from this reading is that you need to try with the following line:TUNE_FEATURES = "arm armv6 vfp arm1176jzfs"
I guess, YOCTO people have not too much experience with armv6, nor me, but this should be (I hope) generic.
Hope this helps.
Zoran
_______
Quoted 40 lines · safouane maaloul
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard"meta
meta-poky
meta-yocto-bsp = "dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
meta-oe
meta-multimedia
meta-networkingmeta-python = "dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073" meta-raspberrypi = "dunfell:987993209716302eb8f314f69a2a3340555f94d8" meta-gstreamer1.0 = "dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"Best regards,
Safouane
Quoted 6 lines · Zoran Stojsavljevic
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]
Yes I will check it. Do you know how to remove callconvention-hard from TUNE_FEATURES ?
Best regards,
Safouane
Quoted 60 lines · Zoran Stojsavljevic
Quoted 1 line
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs callconvention-hard"Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.htmlWhat I am getting from this reading is that you need to try with the following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6, nor me, but this should be (I hope) generic.
Hope this helps.
Zoran
_______Quoted 27 lines · safouane maaloul
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard"meta
meta-poky
meta-yocto-bsp = "dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
meta-oe
meta-multimedia
meta-networkingmeta-python = "dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073" meta-raspberrypi = "dunfell:987993209716302eb8f314f69a2a3340555f94d8" meta-gstreamer1.0 = "dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"Best regards,
Safouane
Le mer. 17 févr. 2021 à 13:24, Zoran Stojsavljevic <
Quoted 13 lines · [email protected]> a écrit :
Quoted 6 lines
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]
Signature · 3 lines
*SAFOUANE MAALOUL* *[email protected] <[email protected]>*
https://yocto.yoctoproject.narkive.com/Wle40I09/gcc-on-arm
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TUNE_FEATURES
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-AVAILTUNES
Zee
_______
Quoted 74 lines · safouane maaloul
Yes I will check it. Do you know how to remove callconvention-hard from
TUNE_FEATURES?Best regards,
Safouane
Quoted 13 lines · Zoran Stojsavljevic
Quoted 2 lines
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs callconvention-hard"Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.htmlWhat I am getting from this reading is that you need to try with the following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6, nor me, but this should be (I hope) generic.
Quoted 46 lines
Hope this helps.
Zoran
_______Quoted 40 lines · safouane maaloul
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard"meta
meta-poky
meta-yocto-bsp = "dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
meta-oe
meta-multimedia
meta-networkingmeta-python = "dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073" meta-raspberrypi = "dunfell:987993209716302eb8f314f69a2a3340555f94d8" meta-gstreamer1.0 = "dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"Best regards,
Safouane
Quoted 6 lines · Zoran Stojsavljevic
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]
I succed in removing callconvention-hard from TUNE_FEATURES ? But i have
the same problem. I am pretty sure that i get get it working if i add neon
to the TUNE_FEATURES. Something like this TUNE_FEATURES= "arm armv6 vfp
arm1176jzfs callconvention-hard neon". But I can't do it with armv6. I have
to use raspberrypi zero w so i have to make it work with armv6. I know that
i can make it work with armv7 and armv8. I have error like this : | In file
included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:20:
| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:528:24:
note: called from here
| 528 | const int16x4_t s1 = vmovn_s32(v1); | | ^~~~~~~~~~~~~ | In file included from
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:12:
| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:7556:1:
error: inlining failed in call to 'always_inline' 'vmovn_s32': target
specific option mismatch
| 7556 | vmovn_s32 (int32x4_t __a) | | ^~~~~~~~~
So i am sure i have to add the neon feature so i appreciate it if someone can help me. I didn't find a workaround this problem on the internet.
Best regards,
Safouane
Quoted 95 lines · Zoran Stojsavljevic
https://yocto.yoctoproject.narkive.com/Wle40I09/gcc-on-arm
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TUNE_FEATURES
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-AVAILTUNES
Zee
_______Quoted 2 lines · safouane maaloul
Yes I will check it. Do you know how to remove callconvention-hard from
TUNE_FEATURES?Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 14:52, Zoran Stojsavljevic <
Quoted 5 lines · [email protected]> a écrit :
Quoted 5 lines
Quoted 2 lines
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs callconvention-hard"Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.html
Quoted 15 lines
Quoted 15 lines
What I am getting from this reading is that you need to try with the following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6, nor me, but this should be (I hope) generic.
Hope this helps.
Zoran
_______Quoted 1 line · safouane maaloul
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi"Quoted 8 lines
Quoted 8 lines
MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard"meta
meta-poky
meta-yocto-bsp ="dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-oe
meta-multimedia
meta-networking
meta-python ="dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073"
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-raspberrypi =
"dunfell:987993209716302eb8f314f69a2a3340555f94d8"
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-gstreamer1.0 =
"dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le mer. 17 févr. 2021 à 13:24, Zoran Stojsavljevic <
Quoted 20 lines · [email protected]> a écrit :
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Zee
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]
Signature · 3 lines
*SAFOUANE MAALOUL* *[email protected] <[email protected]>*
can you try adding
EXTRA_OECMAKE += "-DHAVE_NEON=0"
and see if that helps ? for whatever reason set_aom_detect_var is enabling it where as default should be 0
Quoted 112 lines · safouane maaloul
I succed in removing callconvention-hard from
TUNE_FEATURES? But i have the same problem. I am pretty sure that i get get it working if i add neon to theTUNE_FEATURES. Something like this TUNE_FEATURES= "arm armv6 vfp arm1176jzfs callconvention-hard neon". But I can't do it with armv6. I have to use raspberrypi zero w so i have to make it work with armv6. I know that i can make it work with armv7 and armv8. I have error like this : | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:20:| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:528:24: note: called from here | 528 | const int16x4_t s1 = vmovn_s32(v1); | | ^~~~~~~~~~~~~ | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:12: | /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:7556:1: error: inlining failed in call to 'always_inline' 'vmovn_s32': target specific option mismatch | 7556 | vmovn_s32 (int32x4_t __a) | | ^~~~~~~~~So i am sure i have to add the neon feature so i appreciate it if someone can help me. I didn't find a workaround this problem on the internet.
Best regards,
Safouane
Quoted 85 lines · Zoran Stojsavljevic
https://yocto.yoctoproject.narkive.com/Wle40I09/gcc-on-arm
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TUNE_FEATURES
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-AVAILTUNESZee
_______Quoted 74 lines · safouane maaloul
Yes I will check it. Do you know how to remove callconvention-hard from
TUNE_FEATURES?Best regards,
Safouane
Quoted 13 lines · Zoran Stojsavljevic
Quoted 2 lines
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs callconvention-hard"Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.htmlWhat I am getting from this reading is that you need to try with the following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6, nor me, but this should be (I hope) generic.
Quoted 46 lines
Hope this helps.
Zoran
_______Quoted 40 lines · safouane maaloul
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard"meta
meta-poky
meta-yocto-bsp = "dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
meta-oe
meta-multimedia
meta-networkingmeta-python = "dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073" meta-raspberrypi = "dunfell:987993209716302eb8f314f69a2a3340555f94d8" meta-gstreamer1.0 = "dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"Best regards,
Safouane
Quoted 6 lines · Zoran Stojsavljevic
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]
I have an erreur:
| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:525:24:
note: called from here
| 525 | const int32x4_t v0 = vld1q_s32(buf); | | ^~~~~~~~~~~~~~ | ninja: build stopped: subcommand failed. | WARNING:
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037:155 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| WARNING: Backtrace (BB generated script):
| #1: cmake_runcmake_build,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 155
| #2: cmake_do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 149
| #3: do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 144
| #4: main,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 168
| | Backtrace (metadata-relative locations): | #1: cmake_runcmake_build,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass,
line 205
| #2: cmake_do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass,
line 209
| #3: do_compile, autogenerated, line 2
ERROR: Task (/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3538 tasks of which 3326 didn't need to be
rerun and 1 failed.
Summary: 1 task failed:
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Do you have any idea why it didn't work ?
Best regards,
Safouane
Quoted 151 lines · Khem Raj
can you try adding
EXTRA_OECMAKE+= "-DHAVE_NEON=0"and see if that helps ? for whatever reason
set_aom_detect_varis enabling it where as default should be 0Quoted 2 lines · safouane maaloul
I succed in removing callconvention-hard from
TUNE_FEATURES? But i havethe same problem. I am pretty sure that i get get it working if i add neon
to theTUNE_FEATURES. Something like this TUNE_FEATURES= "arm armv6 vfp
arm1176jzfs callconvention-hard neon". But I can't do it with armv6. I have
to use raspberrypi zero w so i have to make it work with armv6. I know that
i can make it work with armv7 and armv8. I have error like this : | In file
included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:20:Quoted 1 line
|
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:528:24:
note: called from hereQuoted 3 lines
| 528 | const int16x4_t s1 = vmovn_s32(v1); | | ^~~~~~~~~~~~~ | In file included from/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:12:
Quoted 1 line
|
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:7556:1:
error: inlining failed in call to 'always_inline' 'vmovn_s32': target
specific option mismatchQuoted 4 lines
| 7556 | vmovn_s32 (int32x4_t __a) | | ^~~~~~~~~So i am sure i have to add the neon feature so i appreciate it if
someone can help me. I didn't find a workaround this problem on the internet.
Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 18:00, Zoran Stojsavljevic <
Quoted 4 lines · [email protected]> a écrit :
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TUNE_FEATURES
Quoted 1 line
Quoted 1 line
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-AVAILTUNES
Quoted 8 lines
Quoted 8 lines
Zee
_______Quoted 2 lines · safouane maaloul
Yes I will check it. Do you know how to remove callconvention-hard
from
TUNE_FEATURES?Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 14:52, Zoran Stojsavljevic <
Quoted 2 lines · [email protected]> a écrit :
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
TUNE_FEATURES= "arm armv6 vfp arm1176jzfscallconvention-hard"
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.html
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
What I am getting from this reading is that you need to try with the following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6, nor
me,
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
but this should be (I hope) generic.
Hope this helps.
Zoran
_______Quoted 1 line · safouane maaloul
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfscallconvention-hard"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
TARGET_FPU= "hard"
meta
meta-poky
meta-yocto-bsp ="dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-oe
meta-multimedia
meta-networking
meta-python ="dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-raspberrypi =
"dunfell:987993209716302eb8f314f69a2a3340555f94d8"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-gstreamer1.0 =
"dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le mer. 17 févr. 2021 à 13:24, Zoran Stojsavljevic <
Quoted 30 lines · [email protected]> a écrit :
Quoted 16 lines
Quoted 16 lines
Quoted 13 lines
Quoted 13 lines
Quoted 6 lines
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]Quoted 4 lines
Quoted 4 lines
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]
Signature · 3 lines
*SAFOUANE MAALOUL* *[email protected] <[email protected]>*
Well we do not enable neon for this tune but aom still seems to want it so I would suggest to look at the build and see if it’s disabling neon and have HAVE_NEON is not set properly
Quoted 214 lines · safouane maaloul
I have an erreur:
| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:525:24:
note: called from here| 525 | const int32x4_t v0 = vld1q_s32(buf); | | ^~~~~~~~~~~~~~ | ninja: build stopped: subcommand failed. | WARNING:/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037:155 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| WARNING: Backtrace (BB generated script):
| #1:cmake_runcmake_build,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 155
| #2:cmake_do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 149
| #3:do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 144
| #4: main,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 168| | Backtrace (metadata-relative locations): | #1: cmake_runcmake_build,/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass,
line 205
| #2:cmake_do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass,
line 209
| #3:do_compile, autogenerated, line 2
ERROR: Task (/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3538 tasks of which 3326 didn't need to be
rerun and 1 failed.Summary: 1 task failed:
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:
do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.Do you have any idea why it didn't work ?
Best regards,
Safouane
Quoted 112 lines · Khem Raj
can you try adding
EXTRA_OECMAKE+= "-DHAVE_NEON=0"and see if that helps ? for whatever reason
set_aom_detect_varis enabling it where as default should be 0Quoted 2 lines · safouane maaloul
I succed in removing callconvention-hard from
TUNE_FEATURES? But ihave the same problem. I am pretty sure that i get get it working if i add
neon to theTUNE_FEATURES. Something like this TUNE_FEATURES= "arm
armv6 vfp arm1176jzfs callconvention-hard neon". But I can't do it with
armv6. I have to use raspberrypi zero w so i have to make it work with
armv6. I know that i can make it work with armv7 and armv8. I have error
like this : | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:20:Quoted 1 line
|
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:528:24:
note: called from hereQuoted 3 lines
| 528 | const int16x4_t s1 = vmovn_s32(v1); | | ^~~~~~~~~~~~~ | In file included from/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:12:
Quoted 1 line
|
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:7556:1:
error: inlining failed in call to 'always_inline' 'vmovn_s32': target
specific option mismatchQuoted 4 lines
| 7556 | vmovn_s32 (int32x4_t __a) | | ^~~~~~~~~So i am sure i have to add the neon feature so i appreciate it if
someone can help me. I didn't find a workaround this problem on the internet.
Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 18:00, Zoran Stojsavljevic <
Quoted 4 lines · [email protected]> a écrit :
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TUNE_FEATURES
Quoted 1 line
Quoted 1 line
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-AVAILTUNES
Quoted 8 lines
Quoted 8 lines
Zee
_______Quoted 2 lines · safouane maaloul
Yes I will check it. Do you know how to remove callconvention-hard
from
TUNE_FEATURES?Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 14:52, Zoran Stojsavljevic <
Quoted 2 lines · [email protected]> a écrit :
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
TUNE_FEATURES= "arm armv6 vfp arm1176jzfscallconvention-hard"
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.html
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
What I am getting from this reading is that you need to try with the following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6, nor
me,
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
but this should be (I hope) generic.
Hope this helps.
Zoran
_______Quoted 1 line · safouane maaloul
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfscallconvention-hard"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
TARGET_FPU= "hard"
meta
meta-poky
meta-yocto-bsp ="dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-oe
meta-multimedia
meta-networking
meta-python ="dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-raspberrypi =
"dunfell:987993209716302eb8f314f69a2a3340555f94d8"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-gstreamer1.0 =
Quoted 39 lines
"dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le mer. 17 févr. 2021 à 13:24, Zoran Stojsavljevic <
Quoted 30 lines · [email protected]> a écrit :
Quoted 16 lines
Quoted 16 lines
Quoted 13 lines
Quoted 13 lines
Quoted 6 lines
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]Quoted 4 lines
Quoted 4 lines
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]--
*SAFOUANE MAALOUL*
Sorry to annoying you with my question but how do i find where HAVE_NEON is set ?
Best regards,
Safouane
Quoted 4 lines · Khem Raj
Well we do not enable neon for this tune but aom still seems to want it so I would suggest to look at the build and see if it’s disabling neon and have
HAVE_NEONis not set properly
Quoted 218 lines
Quoted 215 lines · safouane maaloul
I have an erreur:
| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:525:24:
note: called from here| 525 | const int32x4_t v0 = vld1q_s32(buf); | | ^~~~~~~~~~~~~~ | ninja: build stopped: subcommand failed. | WARNING:/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037:155 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| WARNING: Backtrace (BB generated script):
| #1:cmake_runcmake_build,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 155
| #2:cmake_do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 149
| #3:do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 144
| #4: main,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 168| | Backtrace (metadata-relative locations): | #1: cmake_runcmake_build,/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass,
line 205
| #2:cmake_do_compile,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass,
line 209
| #3:do_compile, autogenerated, line 2
ERROR: Task (/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3538 tasks of which 3326 didn't need to be
rerun and 1 failed.Summary: 1 task failed:
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:
do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.Do you have any idea why it didn't work ?
Best regards,
Safouane
Quoted 113 lines · Khem Raj
can you try adding
EXTRA_OECMAKE+= "-DHAVE_NEON=0"and see if that helps ? for whatever reason
set_aom_detect_varis enabling it where as default should be 0Quoted 2 lines · safouane maaloul
I succed in removing callconvention-hard from
TUNE_FEATURES? But ihave the same problem. I am pretty sure that i get get it working if i add
neon to theTUNE_FEATURES. Something like this TUNE_FEATURES= "arm
armv6 vfp arm1176jzfs callconvention-hard neon". But I can't do it with
armv6. I have to use raspberrypi zero w so i have to make it work with
armv6. I know that i can make it work with armv7 and armv8. I have error
like this : | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:20:Quoted 1 line
|
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:528:24:
note: called from hereQuoted 3 lines
| 528 | const int16x4_t s1 = vmovn_s32(v1); | | ^~~~~~~~~~~~~ | In file included from/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:12:
Quoted 1 line
|
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:7556:1:
error: inlining failed in call to 'always_inline' 'vmovn_s32': target
specific option mismatchQuoted 4 lines
| 7556 | vmovn_s32 (int32x4_t __a) | | ^~~~~~~~~So i am sure i have to add the neon feature so i appreciate it if
someone can help me. I didn't find a workaround this problem on the internet.
Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 18:00, Zoran Stojsavljevic <
Quoted 4 lines · [email protected]> a écrit :
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TUNE_FEATURES
Quoted 1 line
Quoted 1 line
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-AVAILTUNES
Quoted 8 lines
Quoted 8 lines
Zee
_______Quoted 2 lines · safouane maaloul
Yes I will check it. Do you know how to remove callconvention-hard
from
TUNE_FEATURES?Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 14:52, Zoran Stojsavljevic <
Quoted 2 lines · [email protected]> a écrit :
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
TUNE_FEATURES= "arm armv6 vfp arm1176jzfscallconvention-hard"
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.html
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
What I am getting from this reading is that you need to try with
the
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6, nor
me,
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
but this should be (I hope) generic.
Hope this helps.
Zoran
_______Quoted 1 line · safouane maaloul
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfscallconvention-hard"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
TARGET_FPU= "hard"
meta
meta-poky
meta-yocto-bsp ="dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-oe
meta-multimedia
meta-networking
meta-python ="dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-raspberrypi =
"dunfell:987993209716302eb8f314f69a2a3340555f94d8"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-gstreamer1.0 =
Quoted 39 lines
"dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le mer. 17 févr. 2021 à 13:24, Zoran Stojsavljevic <
Quoted 30 lines · [email protected]> a écrit :
Quoted 16 lines
Quoted 16 lines
Quoted 13 lines
Quoted 13 lines
Quoted 6 lines
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]Quoted 4 lines
Quoted 4 lines
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]--
*SAFOUANE MAALOUL**[email protected] <[email protected]>*
--
*SAFOUANE MAALOUL*
Please try applying below patch to aom recipe in meta-openembedded repo
let me know how it goes.
Quoted 177 lines · safouane maaloul
Sorry to annoying you with my question but how do i find where
HAVE_NEONis set ?Best regards,
Safouane
Quoted 165 lines · Khem Raj
Well we do not enable neon for this tune but aom still seems to want it so I would suggest to look at the build and see if it’s disabling neon and have
HAVE_NEONis not set properlyQuoted 161 lines · safouane maaloul
I have an erreur:
| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:525:24: note: called from here | 525 | const int32x4_t v0 = vld1q_s32(buf); | | ^~~~~~~~~~~~~~ | ninja: build stopped: subcommand failed. | WARNING: /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037:155 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}' | WARNING: Backtrace (BB generated script): | #1: cmake_runcmake_build, /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 155 | #2: cmake_do_compile, /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 149 | #3: do_compile, /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 144 | #4: main, /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 168 | | Backtrace (metadata-relative locations): | #1: cmake_runcmake_build, /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass, line 205 | #2: cmake_do_compile, /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass, line 209 | #3: do_compile, autogenerated, line 2ERROR: Task (/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3538 tasks of which 3326 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.Do you have any idea why it didn't work ?
Best regards,
Safouane
Quoted 122 lines · Khem Raj
can you try adding
EXTRA_OECMAKE+= "-DHAVE_NEON=0"and see if that helps ? for whatever reason
set_aom_detect_varis enabling it where as default should be 0Quoted 112 lines · safouane maaloul
I succed in removing callconvention-hard from
TUNE_FEATURES? But i have the same problem. I am pretty sure that i get get it working if i add neon to theTUNE_FEATURES. Something like this TUNE_FEATURES= "arm armv6 vfp arm1176jzfs callconvention-hard neon". But I can't do it with armv6. I have to use raspberrypi zero w so i have to make it work with armv6. I know that i can make it work with armv7 and armv8. I have error like this : | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:20:| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:528:24: note: called from here | 528 | const int16x4_t s1 = vmovn_s32(v1); | | ^~~~~~~~~~~~~ | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:12: | /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:7556:1: error: inlining failed in call to 'always_inline' 'vmovn_s32': target specific option mismatch | 7556 | vmovn_s32 (int32x4_t __a) | | ^~~~~~~~~So i am sure i have to add the neon feature so i appreciate it if someone can help me. I didn't find a workaround this problem on the internet.
Best regards,
Safouane
Quoted 85 lines · Zoran Stojsavljevic
https://yocto.yoctoproject.narkive.com/Wle40I09/gcc-on-arm
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TUNE_FEATURES
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-AVAILTUNESZee
_______Quoted 74 lines · safouane maaloul
Yes I will check it. Do you know how to remove callconvention-hard from
TUNE_FEATURES?Best regards,
Safouane
Quoted 13 lines · Zoran Stojsavljevic
Quoted 2 lines
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs callconvention-hard"Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.htmlWhat I am getting from this reading is that you need to try with the following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6, nor me, but this should be (I hope) generic.
Quoted 46 lines
Hope this helps.
Zoran
_______Quoted 40 lines · safouane maaloul
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard" TARGET_FPU = "hard"meta
meta-poky
meta-yocto-bsp = "dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
meta-oe
meta-multimedia
meta-networkingmeta-python = "dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073" meta-raspberrypi = "dunfell:987993209716302eb8f314f69a2a3340555f94d8" meta-gstreamer1.0 = "dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"Best regards,
Safouane
Quoted 6 lines · Zoran Stojsavljevic
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]
Yeah it works. I have yet to test the image on my raspberry pi Monday in the office. But I finished the build. I will tested Monday and i will tell you. I have a warning :
image-1.0-r0 do_rootfs: The license listed AOM-Patent-1.0 was not in the licenses collected for recipe aom
I think because the name of the license in meta-openembedded/meta-multimedia/licenses/ is AOM-Patent-License-1.0 and not AOM-Patent-1.0 like mentioned in the recipe. I think it must be changed. Thanks I will tell you Monday what happened when I try the image on my raspberry Pi zero W.
Best regards,
Safouane
Quoted 245 lines · Khem Raj
Please try applying below patch to aom recipe in meta-openembedded repo
let me know how it goes.
Quoted 2 lines · safouane maaloul
Sorry to annoying you with my question but how do i find where
HAVE_NEONis set ?
Quoted 8 lines
Best regards,
Safouane
Quoted 2 lines · Khem Raj
Well we do not enable neon for this tune but aom still seems to want it
so I would suggest to look at the build and see if it’s disabling neon and have
HAVE_NEONis not set properlyQuoted 2 lines
Quoted 2 lines
On Thu, Feb 18, 2021 at 12:12 PM safouane maaloul <
Quoted 3 lines · [email protected]> wrote:
Quoted 3 lines
Quoted 3 lines
I have an erreur:
|/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:525:24:
note: called from hereQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
| 525 | const int32x4_t v0 = vld1q_s32(buf); | | ^~~~~~~~~~~~~~ | ninja: build stopped: subcommand failed. | WARNING:/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037:155 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
| WARNING: Backtrace (BB generated script):
| #1:cmake_runcmake_build,/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 155
Quoted 1 line
Quoted 1 line
Quoted 1 line
| #2:
cmake_do_compile,/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 149
Quoted 1 line
Quoted 1 line
Quoted 1 line
| #3:
do_compile,/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 144
Quoted 1 line
Quoted 1 line
Quoted 1 line
| #4: main,
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.24037, line 168
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
| | Backtrace (metadata-relative locations): | #1: cmake_runcmake_build,/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass, line 205
Quoted 1 line
Quoted 1 line
Quoted 1 line
| #2:
cmake_do_compile,/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass, line 209
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
| #3:
do_compile, autogenerated, line 2
ERROR: Task(/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:do_compile) failed with exit code '1'
Quoted 1 line
Quoted 1 line
Quoted 1 line
NOTE: Tasks Summary: Attempted 3538 tasks of which 3326 didn't need to
be rerun and 1 failed.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Summary: 1 task failed:
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/../../meta-openembedded/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb:
do_compileQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exitcode.
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Do you have any idea why it didn't work ?
Best regards,
Safouane
Quoted 5 lines · Khem Raj
can you try adding
EXTRA_OECMAKE+= "-DHAVE_NEON=0"Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
and see if that helps ? for whatever reason
set_aom_detect_varis enabling it where as default should be 0Quoted 2 lines · safouane maaloul
I succed in removing callconvention-hard from
TUNE_FEATURES? But ihave the same problem. I am pretty sure that i get get it working if i add
neon to theTUNE_FEATURES. Something like this TUNE_FEATURES= "arm
armv6 vfp arm1176jzfs callconvention-hard neon". But I can't do it with
armv6. I have to use raspberrypi zero w so i have to make it work with
armv6. I know that i can make it work with armv7 and armv8. I have error
like this : | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:20:Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
|
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:528:24:
note: called from hereQuoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
| 528 | const int16x4_t s1 = vmovn_s32(v1); | | ^~~~~~~~~~~~~ | In file included from/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/arm/neon/quantize_neon.c:12:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
|
/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:7556:1:
error: inlining failed in call to 'always_inline' 'vmovn_s32': target
specific option mismatchQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
| 7556 | vmovn_s32 (int32x4_t __a) | | ^~~~~~~~~So i am sure i have to add the neon feature so i appreciate it if
someone can help me. I didn't find a workaround this problem on the internet.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 18:00, Zoran Stojsavljevic <
Quoted 4 lines · [email protected]> a écrit :
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-TUNE_FEATURES
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-AVAILTUNES
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Zee
_______Quoted 2 lines · safouane maaloul
Yes I will check it. Do you know how to remove
callconvention-hard from
TUNE_FEATURES?Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le jeu. 18 févr. 2021 à 14:52, Zoran Stojsavljevic <
Quoted 2 lines · [email protected]> a écrit :
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
TUNE_FEATURES= "arm armv6 vfp arm1176jzfscallconvention-hard"
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Here is an interesting reading for you, for me also:
https://www.yoctoproject.org/pipermail/meta-xilinx/2015-July/001060.html
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
What I am getting from this reading is that you need to try
with the
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
following line:
TUNE_FEATURES= "arm armv6 vfp arm1176jzfs"I guess, YOCTO people have not too much experience with armv6,
nor me,
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
but this should be (I hope) generic.
Hope this helps.
Zoran
_______Quoted 1 line · safouane maaloul
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
This is my build configuration :
Build Configuration:BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi0-wifi" DISTRO = "poky" DISTRO_VERSION = "3.1.5" TUNE_FEATURES = "arm armv6 vfp arm1176jzfscallconvention-hard"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
TARGET_FPU= "hard"
meta
meta-poky
meta-yocto-bsp ="dunfell:7ea41de13774675828239b7738d3f5d70be8b1af"
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-oe
meta-multimedia
meta-networking
meta-python ="dunfell:5bba79488b7d393d2258d6e917f7bf7b0d7c4073"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-raspberrypi =
"dunfell:987993209716302eb8f314f69a2a3340555f94d8"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta-gstreamer1.0 =
"dunfell:b489b1ba084544d9c4c08f7c3b3d1c37ffa53c51"
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Best regards,
Safouane
Le mer. 17 févr. 2021 à 13:24, Zoran Stojsavljevic <
Quoted 41 lines · [email protected]> a écrit :
Quoted 33 lines
Quoted 33 lines
Quoted 30 lines
Quoted 30 lines
Quoted 16 lines
Quoted 16 lines
Quoted 13 lines
Quoted 13 lines
Quoted 6 lines
So, what is your MACHINE variable set to?
Maybe knowing that, somebody can help.
Zee
--
SAFOUANE MAALOUL
[email protected]Quoted 4 lines
Quoted 4 lines
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]Quoted 4 lines
Quoted 4 lines
--
SAFOUANE MAALOUL
[email protected]--
SAFOUANE MAALOUL
[email protected]
Signature · 3 lines
*SAFOUANE MAALOUL* *[email protected] <[email protected]>*
Quoted 49 lines · safouane maaloul
Yeah i know the problem is i am using armv6 (raspberry pi zero w) and there isn’t that option so i need a workaround ?
Best regards,
Safouane.Maaloul
Quoted 20 lines · Zoran Stojsavljevic
Quoted 2 lines
...compile error "compiling
simd-neon.hrequires -mfpu= neon or equivalent"...IIRC, this has to do with the platform chosen.
I know that for armv7 there are two types of machine:
MACHINE ?= "armv7" (FP library in SW)
MACHINE ?= "armv7hf" (hard FP = neon)I guess you did set up the MACHINE variable with postfix fp, most probably.
My 2 cent worth answer,
Zee
_______Quoted 1 line · safouane maaloul
Quoted 13 lines
Quoted 3 lines
Hello folks,
I have an issue integrating av1 in yocto. I get the compile error
"compiling
simd-neon.hrequires -mfpu=neon or equivalent". The problem is that i use armv6 (raspberrypi zero w) so i can't exactly do that. Anyone have a workaround this problem ?Quoted 6 lines
Best regards,
Safouane.Maaloul
--
*SAFOUANE MAALOUL*
Signature · 3 lines
*SAFOUANE MAALOUL* *[email protected] <[email protected]>*