diff options
| author | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-10-19 19:07:32 +0000 |
|---|---|---|
| committer | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-10-22 19:15:38 +0000 |
| commit | ec31e76799299d71c30fe772dd955094fcf0a06c (patch) | |
| tree | a391de54c2aa7bb42ef011780d79be217fc56820 /recipes-bsp/isp-imx/isp-imx_4.2.2.13.0.bb | |
| parent | e723b4c36c366ab83307b53c172e331ba0dc4be1 (diff) | |
| download | meta-freescale-ec31e76799299d71c30fe772dd955094fcf0a06c.tar.gz | |
isp-imx: upgrade to 4.2.2.15.0
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>
Diffstat (limited to 'recipes-bsp/isp-imx/isp-imx_4.2.2.13.0.bb')
| -rw-r--r-- | recipes-bsp/isp-imx/isp-imx_4.2.2.13.0.bb | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.13.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.13.0.bb deleted file mode 100644 index b15d0b9e4..000000000 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.13.0.bb +++ /dev/null | |||
| @@ -1,88 +0,0 @@ | |||
| 1 | # Copyright 2020-2021 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | ||
| 4 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=417b82f17fc02b88125331ed312f6f1b" | ||
| 6 | DEPENDS = "python3 libdrm virtual/libg2d" | ||
| 7 | |||
| 8 | SRC_URI = " \ | ||
| 9 | ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ | ||
| 10 | file://0001-start_isp.sh-fix-NR_DEVICE_TREE_BASLER-variable.patch \ | ||
| 11 | file://0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch \ | ||
| 12 | " | ||
| 13 | |||
| 14 | SRC_URI[md5sum] = "123feed48302fea2a1be8572e913ae47" | ||
| 15 | SRC_URI[sha256sum] = "e775975684aab4211f0bf8c5e2c6604ba46b83c5586937000675e044a50d77b8" | ||
| 16 | |||
| 17 | inherit fsl-eula-unpack cmake systemd use-imx-headers | ||
| 18 | |||
| 19 | # Build the sub-folder appshell | ||
| 20 | OECMAKE_SOURCEPATH = "${S}/appshell" | ||
| 21 | |||
| 22 | # Use make instead of ninja | ||
| 23 | OECMAKE_GENERATOR = "Unix Makefiles" | ||
| 24 | |||
| 25 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" | ||
| 26 | |||
| 27 | EXTRA_OECMAKE += " \ | ||
| 28 | -DCMAKE_BUILD_TYPE=release \ | ||
| 29 | -DISP_VERSION=ISP8000NANO_V1802 \ | ||
| 30 | -DPLATFORM=ARM64 \ | ||
| 31 | -DAPPMODE=V4L2 \ | ||
| 32 | -DQTLESS=1 \ | ||
| 33 | -DFULL_SRC_COMPILE=1 \ | ||
| 34 | -DWITH_DRM=1 \ | ||
| 35 | -DWITH_DWE=1 \ | ||
| 36 | -DSERVER_LESS=1 \ | ||
| 37 | -DSUBDEV_V4L2=1 \ | ||
| 38 | -DENABLE_IRQ=1 \ | ||
| 39 | -DPARTITION_BUILD=0 \ | ||
| 40 | -D3A_SRC_BUILD=0 \ | ||
| 41 | -DIMX_G2D=ON \ | ||
| 42 | -Wno-dev \ | ||
| 43 | " | ||
| 44 | |||
| 45 | do_configure:prepend() { | ||
| 46 | export SDKTARGETSYSROOT=${STAGING_DIR_HOST} | ||
| 47 | } | ||
| 48 | |||
| 49 | do_install() { | ||
| 50 | install -d ${D}/${libdir} | ||
| 51 | install -d ${D}/${includedir} | ||
| 52 | install -d ${D}/opt/imx8-isp/bin | ||
| 53 | |||
| 54 | cp -r ${WORKDIR}/build/generated/release/bin/*_test ${D}/opt/imx8-isp/bin | ||
| 55 | cp -r ${WORKDIR}/build/generated/release/bin/*2775* ${D}/opt/imx8-isp/bin | ||
| 56 | cp -r ${WORKDIR}/build/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin | ||
| 57 | cp -r ${WORKDIR}/build/generated/release/bin/vvext ${D}/opt/imx8-isp/bin | ||
| 58 | cp -r ${WORKDIR}/${BP}/dewarp/dewarp_config/ ${D}/opt/imx8-isp/bin | ||
| 59 | cp -r ${WORKDIR}/build/generated/release/lib/*.so* ${D}/${libdir} | ||
| 60 | cp -r ${WORKDIR}/build/generated/release/include/* ${D}/${includedir} | ||
| 61 | |||
| 62 | cp ${WORKDIR}/${BP}/imx/run.sh ${D}/opt/imx8-isp/bin | ||
| 63 | cp ${WORKDIR}/${BP}/imx/start_isp.sh ${D}/opt/imx8-isp/bin | ||
| 64 | |||
| 65 | chmod +x ${D}/opt/imx8-isp/bin/run.sh | ||
| 66 | chmod +x ${D}/opt/imx8-isp/bin/start_isp.sh | ||
| 67 | |||
| 68 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
| 69 | install -d ${D}${systemd_system_unitdir} | ||
| 70 | install -m 0644 ${WORKDIR}/${BP}/imx/imx8-isp.service ${D}${systemd_system_unitdir} | ||
| 71 | fi | ||
| 72 | } | ||
| 73 | |||
| 74 | # The build contains a mix of versioned and unversioned libraries, so | ||
| 75 | # the default packaging configuration needs some modifications | ||
| 76 | FILES_SOLIBSDEV = "" | ||
| 77 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" | ||
| 78 | FILES:${PN}-dev += " \ | ||
| 79 | ${libdir}/libjsoncpp.so \ | ||
| 80 | ${libdir}/libos08a20.so \ | ||
| 81 | ${libdir}/libov2775.so \ | ||
| 82 | " | ||
| 83 | |||
| 84 | INSANE_SKIP:${PN} = "rpaths" | ||
| 85 | |||
| 86 | RDEPENDS:${PN} = "libdrm libpython3" | ||
| 87 | |||
| 88 | COMPATIBLE_MACHINE = "(mx8mp)" | ||
