summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/isp-imx
Commit message (Collapse)AuthorAgeFilesLines
* basler-camera: upgrade from 4.2.2.18.0 to 4.2.2.19.0Max Krummenacher2022-11-251-3/+3
| | | | | | | | | Update to the version used in lf5.15.52_2.1.0. License was updated to NXP EULA v39 August 2022. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 26d6bf62a88b4f0c6d4709a40ed9a8ee9b724b40)
* isp-imx: prevent oe qa warningMax Krummenacher2022-11-251-2/+1
| | | | | | | | | | | | | | | | | | As the recipe installs the file 'by hand' rather than using `make install` make sure that the binaries get their final RPATH set during do_compile rather than relying on the CMake produced RPATH magic in `make install`. | WARNING: isp-imx-4.2.2.19.0-r0 do_package_qa: QA Issue: File /usr/lib/libmedia_server.so in package isp-imx contains reference to TMPDIR | File /opt/imx8-isp/bin/isp_media_server in package isp-imx contains reference to TMPDIR [buildpaths] With this the 'INSANE_SKIP:${PN} = "rpaths"' is also no longer needed as the following error is also gone: | ERROR: isp-imx-4.2.2.19.0-r0 do_package_qa: QA Issue: package isp-imx contains bad RPATH $ORIGIN:/.../isp-imx-4.2.2.19.0/dewarp/proprietories/hal/lib: in file .../packages-split/isp-imx/usr/lib/libmedia_server.so | package isp-imx contains bad RPATH $ORIGIN/.../isp-imx-4.2.2.19.0/dewarp/proprietories/hal/lib in file .../packages-split/isp-imx/opt/imx8-isp/bin/isp_media_server [rpaths] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 58ccfda536668e7108111493a4f328e0e42b2cae)
* isp-imx: upgrade from 4.2.2.18.0 to 4.2.2.19.0Max Krummenacher2022-11-251-3/+5
| | | | | | | | | Update to the version used in lf5.15.52_2.1.0. License was updated to NXP EULA v39 August 2022. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit e1ab592ab03a1c75b85757aaf582e0139810f701)
* basler-camera: Upgrade 4.2.2.16.0 -> 4.2.2.18.0Tom Hochstein2022-08-181-5/+6
| | | | | | | | | | | | | | Includes a missing runtime dependency on isp-imx. Fixes: 724d343 MA-19817 On Android, align isp-4.2.2p16 with Linux 9445d63 Update Release from Basler p18 v5.1.0 based on VSI p18 999478f Update Release from Basler P17 v5.0.2 based on VSI P17 temp e3dc9c5 modify the README.TXT 9f29687 Update Release from Basler P17 temp based on VSI P17 temp Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit fa714a93f00351c20cc0d70e8108a0fead1bf5de)
* isp-imx: Upgrade 4.2.2.16.0 -> 4.2.2.18.0Tom Hochstein2022-08-183-72/+16
| | | | | | | | | | | | | | | | | | | | | | | | - Drop the dependency on Python - Incorporate the patch 0001-start_isp.sh-fix-NR_DEVICE_TREE_BASLER-variable.patch (ca1cc9966) - Update to libtinyxml2 9 Fixes: ca1cc9966 LF-6283: Fix isp startup is incorrect for third-party boards f20917e56 LF-6262-2: Delete nodes in os08a20 4k xml files that lead android crash 44e4e5486 LF-6262-1: Fix the os08a20 4k work abnormally dfa4b6671 LF-5970: Add the support for sensor os08a20 in the i.mx865 b92bd279e LF-6200: isp: remove isp-imx includes 4 GPL files 5501b5a2e remove the mode 4 for basler camera b07f11f7c M865SW-978: media-server stop need sync 3fb6a58ff New partial build partial_release_20220408_4.2.2_p18 197077ee7 Update Release P18 from Verisilicon e116968e3 update the build script to include OS08A20 things ea5f3e9a3 update calibration XML file for OS08A20 0f8e04791 remove drm_test and isp_tpg_test from the isp build a7740c028 update the xml file name as basler updates Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 76b1f6d21c4e7593ce848641a37d179d5f3d6979)
* isp-imx: fix source and build directoriesLuca Ceresoli2022-06-231-9/+9
| | | | | | | | | | | | | | The source and build directories are usually ${WORKDIR}/build and ${WORKDIR}/${BP} but not always. For example when using devtool they are different, leading to install failures such as: cp: cannot stat '.../tmp/work/.../isp-imx/4.2.2.16.0-r0/build/generated/release/bin/*_test': No such file or directory Fix by using the S and B variables which always point to the correct directory. Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 6af01cbe82d06d42baeef8bd2582f26042bca9ee)
* isp-imx: use bfd linker in case of ld-is-gold DISTRO_FEATURE (gold linker)Chris Dimich2022-04-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When ld-is-gold is defined as a DISTRO_FEATURE, the gold linker is used by default, which causes the following do_compile errors to arise: | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_buffer_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_surface_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_seat_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_output_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_marshal' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_add_listener' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_destroy' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_flush' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_disconnect' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_marshal_constructor_versioned' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_compositor_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_dispatch' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_marshal_constructor' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_roundtrip' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_connect' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_registry_interface' so use bfd linker instead. Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
* isp-imx: start_isp.sh: fix NR_DEVICE_TREE_BASLER variableChris Dimich2022-03-082-105/+8
| | | | The NR_DEVICE_TREE_BASLER variable has the wrong path.
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* basler-camera: Upgrade to 4.2.2.16.0Tom Hochstein2022-01-191-3/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: Upgrade to 4.2.2.16.0Tom Hochstein2022-01-191-4/+3
| | | | | | Drop the upstream patch: 0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* recipes: use https protocol and add explicit branch parameterPierre-Jean Texier2021-11-031-1/+1
| | | | | | | | | | | | | | | 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>
* isp-imx: don't deploy files also deployed by basler-cameraMax Krummenacher2021-11-021-1/+0
| | | | | | | | | | The files from dewarp/ are now provided from recipe basler-camera_4.2.2.15.0. Fixes the following doing do_rootfs: | * check_data_file_clashes: Package isp-imx wants to install file ...rootfs/opt/imx8-isp/bin/dewarp_config/sensor_dwe_1080P_config.json | But that file is already provided by package * libdaa3840-30mc1 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* isp-imx: provide an libtinyxml2 8.0.0 recipeMax Krummenacher2021-11-022-1/+27
| | | | | | | | | | | isp-imx has precompiled binaries linked against that libtinyxml2 version. Remove files which are also provided by the 'current' recipe version of libtinyxml so that they don't clash during image/SDK creation. Since the isp-imx does do a link step against libtinyxml2 create the the unversioned symlink libtinyxml2.so in do_compile. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* isp-imx: fix configure errorMax Krummenacher2021-11-021-1/+2
| | | | | | | | | Fixes commit ec31e767 ("isp-imx: upgrade to 4.2.2.15.0") | CMake Error at CMakeLists.txt:86 (message): | -DSDKTARGETSYSROOT=... missing from cmake call Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* isp-imx: refresh patchMax Krummenacher2021-11-021-15/+15
| | | | | | | | | | | | | | | | | Refresh patch after version bump. Fixes commit ec31e767 ("isp-imx: upgrade to 4.2.2.15.0") | ERROR: isp-imx-4.2.2.15.0-r0 do_patch: Applying patch '0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch' on target directory '.../isp-imx/4.2.2.15.0-r0/isp-imx-4.2.2.15.0' | CmdError('quilt --quiltrc .../isp-imx/4.2.2.15.0-r0/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch | patching file mediacontrol/CMakeLists.txt | patching file mediacontrol/daemon/main_v4l2.cpp | Hunk #1 FAILED at 96. | Hunk #2 FAILED at 105. | Hunk #3 FAILED at 123. | 3 out of 3 hunks FAILED -- rejects in file mediacontrol/daemon/main_v4l2.cpp | Patch 0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch does not apply (enforce with -f) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* isp-imx: upgrade to 4.2.2.15.0Andrey Zhizhikin2021-10-222-7/+7
| | | | | | | Upgrade both isp-imx and basler-camera packages to revision 4.2.2.15.0, which is included in NXP release 5.10.52-2.1.0. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* isp-imx: start_isp.sh: fix NR_DEVICE_TREE_BASLER variableChris Dimich2021-09-143-42/+54
| | | | | | Also remove uneeded -lm option from run.sh script invocation. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
* layer: Convert to new override syntaxKhem Raj2021-08-122-8/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* basler-camera: Upgrade to 4.2.2.13.0Tom Hochstein2021-07-281-3/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: Upgrade to 4.2.2.13.0Tom Hochstein2021-07-282-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a52c0446d change version number to p13 800e0f8d8 Fix M865SW-753:copy sensor init txt just for native a4210be47 remove unused VVCAM_PARAMS ad8728441 add dual basler camera mode 4 for 1080p25hdr eea1908b8 cleanup the build script da5bd492b remove vvnative which is only for local test c725c6266 Revert "cleanup for unused config file" a399dbd70 cleanup for unused config file 1bd986e2d Remove basler binary driver from source build 98ef8c98a New partial build partial_release_20210430_4.2.2_p12 31d26c84d Update Release P12 from Verisilicon c82e5b9bb limit basler camera resolution to 1080p when ov5640 is also used 8c9825a6d add a trailing '/' for file search in directory f101a6a64 Update Release form Verisilicon fbfe4fda0 add a blank line for good readability 91663d97c enlarge the StartLimitBurst 0c3dc6a6e add explanatory to the tunning example for video_test 365e7f8f5 BSLRM865-124: improve the running example for video_test 253818b3f Segment error caused by DTS modification a8a906d4d M865SW-703 Use reversed memory only for tuning tool 7c40835b2 Remove basler binary driver from source build 9bf7ff1ba BSLRM865-131 fix crop seems scale aee50d3d0 imx8-isp.service: do not prevent restart of service 3232149ac run.sh: fix bashism 5fbf584d2 Removing action for copying run-imx.sh as it's gone 860346a5d Update Release form Verisilicon f5b3c8783 MLK-25354 add user description for dual basler cameras 85ab6c183 update run script to work with P10/P11 19fb6591b update run script to same as P6 daba60f02 update Release form Verisilicon Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: fix compiler error with __DATE__, __TIME__Max Krummenacher2021-06-142-2/+76
| | | | | | | | With reproducible build enabled the compiler is configured to throw an error if __TIME__, __DATE__ preprocessor macros are used, replace them. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* basler-camera, isp: Fix compatibility for 8M Plus onlyTom Hochstein2021-05-112-2/+2
| | | | | | The basler camera support is for 8M Plus SOC only. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: Switch to dewarp to testTom Hochstein2021-04-301-1/+1
| | | | | | Install dewarp instead of mediacontrol for test. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: Enable G2DTom Hochstein2021-04-301-2/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: Cleanup recipeTom Hochstein2021-04-301-10/+10
| | | | | | Fix variable order, use BP in place of BPN-PV and PN-PV. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: Cleanup packagingTom Hochstein2021-04-301-6/+10
| | | | | | | | Rework the packaging section of the recipe, reducing the packaging overrides to a minimum to handle a) installation to /opt, and b) the mix of versioned and unversioned libraries. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: Normalize the recipe source folderTom Hochstein2021-04-301-4/+5
| | | | | | | | | | | The source folder of the recipe is adjusted to the appshell sub-folder to facilitate building of that folder. This causes complicated adjustments for the license and patch files. Restore the source folder to the default and use OECMAKE_SOURCEPATH to direct the build to the appshell sub-folder. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* isp-imx: Upgrade to 4.2.2.11.0Tom Hochstein2021-04-305-107/+22
| | | | | | | | | | | | | Drop upstreamed patches: - 0001-BufferManager.h-add-missing-header-file.patch - 0001-imx8-isp.service-do-not-prevent-restart-of-service.patch - 0001-run.sh-fix-bashism.patch Rework patch 0001-start_isp.sh-fix-test-to-be-generic.patch. Let the startup use the default device tree-based implementation as-is, and failing that, try the generic dmesg-based implementation. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* basler-camera: Upgrade to 4.2.2.11.0Tom Hochstein2021-04-301-4/+4
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* basler-camera,isp-imx,kernel-module-isp-vvcam: Mark imx specificKhem Raj2021-02-182-0/+4
| | | | | | | These recipes are really not meant for non imx architectures, therefore pin them as such Signed-off-by: Khem Raj <raj.khem@gmail.com>
* isp-imx: do not prevent restart of serviceChris Dimich2021-02-172-0/+27
| | | | Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
* isp-imx: fix bashismChris Dimich2021-02-172-2/+26
| | | | Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
* basler-camera: add recipeChris Dimich2021-02-161-0/+25
| | | | Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
* isp-imx: add recipeChris Dimich2021-02-163-0/+153
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>