Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | opencv: follow oe-core's variable name changes | Max Krummenacher | 2022-03-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||||
* | Generalize overrides subsystem for NXP and Mainline support | Otavio Salvador | 2022-02-21 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||||
* | opencv: imx: stop fetching tiny-dnn | Max Krummenacher | 2022-01-22 | 1 | -9/+1 |
| | | | | | | | | | | | | | With commit f7ca9ef27 ("cleanup: drop dnn_modern") [1] tiny-dnn is no longer used by any module. There is no need to prefetch it. This was part of OpenCV 3.4.2. Prevents: | WARNING: opencv-4.5.2.imx-r0 do_unpack: QA Issue: opencv: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol [src-uri-bad] [1] https://github.com/opencv/opencv_contrib/commit/f7ca9ef279bbb9d7bbb791548725d91e46725550 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||||
* | opencv: imx: prevent warning about distutils | Max Krummenacher | 2022-01-22 | 1 | -1/+1 |
| | | | | | | | Merge latest opencv recipe in meta-openembedded. Prevents: | WARNING: distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||||
* | opencv: Backport updates from OE-Core | Tom Hochstein | 2021-11-03 | 2 | -2/+52 |
| | | | | | | | | 2178fd7386 opencv: remove setup_vars_opencv4.sh cafcc65e74 opencv: fix build with protobuf-3.18 when dnn PACKAGECONFIG is enabled 3c022cd50d opencv: Do not lock to gcc only compiler Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||||
* | recipes: use https protocol and add explicit branch parameter | Pierre-Jean Texier | 2021-11-03 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git it is required to use https protocol for github repo accessing. Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0]) Fixes: WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. [0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com> | ||||
* | opencv: Undo conversion of SRCREV_extra | Tom Hochstein | 2021-08-12 | 1 | -1/+1 |
| | | | | | | | SRCREV_extra is not an override, so keep the underscore here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||||
* | layer: Convert to new override syntax | Khem Raj | 2021-08-12 | 1 | -41/+41 |
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||||
* | Drop overrides for i.MX 8DXL Phantom MEK | Tom Hochstein | 2021-05-21 | 1 | -1/+0 |
| | | | | | | | The i.MX 8DXL Phantom MEK will never be released, so drop the overrides that have crept into the meta-data. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||||
* | opencv: Fix SRC_URI | Tom Hochstein | 2021-05-04 | 2 | -22/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | The SRC_URI is updated for the base recipe, but the copy of the SRC_URI in the override section doesn't account for this, leading to a build break: ``` | -- wechat_qrcode: Download: detect.caffemodel | CMake Error at /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-mx8mp-fsl-linux/opencv/4.5.2.imx-r0/git/cmake/OpenCVDownload.cmake:161 (message): | Not going to download detect.caffemodel ``` Additionally, the SRC_URI is long and complex, and copying it in our override section does make problems like this more likely. Fix the problem and simplify maintenance by replacing the SRC_URI copy with a targetted override. The override section now shows only the changes to SRC_URI. The fix includes these related changes: - a new patch file is added in the base recipe and is now copied locally - the override for SRCREV_contrib is redundant and is dropped Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||||
* | opencv: Adapt patch for upgrade to 4.5.2.imx | Tom Hochstein | 2021-05-04 | 1 | -27/+18 |
| | | | | | | | The patch file OpenCV_DNN_examples.patch is broken after upgrading opencv to 4.5.2.imx. Fix the patch. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||||
* | opencv: Upgrade to 4.5.2.imx | Tom Hochstein | 2021-04-30 | 1 | -12/+22 |
| | | | | | | | | - Upgrade to the 4.5.2 i.MX fork. - Drop the redundant PV assignment - Adapt the i.MX test packageconfig now that upstream also has one Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||||
* | opencv_4.4.0.imx: add recipe | Chris Dimich | 2021-03-02 | 10 | -0/+901 |
Add recipe to support additional machine learning demos and tiny dnn. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> |