aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-04-03Merge pull request #1476 from jviguera/gatesgarthgatesgarthOtavio Salvador
[gatesgarth] meta-freescale: migrate IMX repos from codeaurora to github
2023-04-03meta-freescale: migrate IMX repos from codeaurora to githubJavier Viguera
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2021-06-16libimxvpuapi2: Update to version 2.2.0Carlos Rafael Giani
* Add IMX_VPU_API_DEC_OUTPUT_CODE_VIDEO_PARAMETERS_CHANGED output code * Deprecate encoder drain mode, better document decoder drain mode * Various documentation fixes and new overviews about en- and decoding to help with the basic concepts * Add note about the current state of i.MX8m plus support * New functions: imx_vpu_api_is_color_format_rgb() imx_vpu_api_vp8_profile_number() imx_vpu_api_vp8_partition_count_number() imx_vpu_api_vp9_profile_number() imx_vpu_api_enc_set_frame_rate() * imx6-coda: Fix decoded frame fb_context This was causing crashes when callers relied on said fb_context Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> (cherry picked from commit 53a7fa11367fbc09d1ce4f7f9de7d4b4393c3b71)
2021-05-31libimxvpuapi2: Update to version 2.1.0Carlos Rafael Giani
* introduce RGB and packed YUV formats since the Hantro encoder supports those * remove hardware specific public headers since they only added tiled pixel formats; instead, migrate these tiled formats into ImxVpuApiColorFormat * imx8 hantro decoder: reorder list of supported decoder color formats to favor 10 bit output * imx8 hantro decoder: clear new framebuffer fields to zero * imx8 hantro encoder: fix segfault caused by trying to unmap non existing staged raw frame Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> (cherry picked from commit aa3189ea5c91eb8c0947474abaf983bcdecc017a)
2021-05-31libimxvpuapi2: Update to version 2.1.2Carlos Rafael Giani
* imx6 coda: fix bug in IPU based detiling related to frame width/height * imx6 coda: use the frame width/height from open params if available * imx6 coda: fix duplicate VPU firmware unloading * imx6-coda: Fix skipped frame reporting * imx8 hantro encoder: fix mid-stream bitrate changes and bitrate logging * imx8m-hantro: Handle CODEC_ERROR_FRAME codec state * imx8m-hantro: Limit supported formats and profiles if building for m8xmm Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> (cherry picked from commit 355c3729d54b6df984f7d70dbbd513cce53b573b)
2021-05-14weston-init: Do not exit with error if uncomment function failFabio Berton
Show a warning instead of raising an error when uncomment function can't found the text. This allows using a custom weston.ini file in bbappend. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> (cherry picked from commit 258063936a4256a40ba55bc2305c9989ef09598e)
2021-05-14weston-init: Rework uncomment function logicVinicius Aquino
Fix error "Commented setting '#use-g2d=1' not found" when building for some imx machines. Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com> (cherry picked from commit cb3020653421d46fb5308b59da1d9a1e83d99c1a)
2021-04-24linux-qoriq: Fix task order of merge_delta_config taskOtavio Salvador
The merge_delta_config must run before do_kernel_localversion task, which is what fsl-kernel-localversion now use. Fixes: #721. Fixes: 49299998 ("classes: fsl-kernel-localversion: Fix task dependency") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 33653d391b7f8bd9f932e613da46c2f61f2fc336)
2021-04-17classes: fsl-kernel-localversion: Fix config fragments applyOtavio Salvador
We have to ensure the task run do_kernel_metadata so the config fragments can be applied properly. Refs: #707. Fixes: #733. Fixes: 49299998 ("classes: fsl-kernel-localversion: Fix task dependency") Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 5943060c8ea892054f2d995d398e21bcb2237543)
2021-04-10classes: fsl-kernel-localversion: Fix task dependencyOtavio Salvador
We need to do any change to the generated `.config` file after it is finished to be modified. In the case of `kernel-yocto` class being in use, we need to do it after `kernel_configme` task. Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class") Fixes: #707. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I7d32b47595dff269defdc5b3f98aa0b9d89b603a (cherry picked from commit 492999986124b5e960d0e21fc81d341458d6c5ad)
2021-04-03weston-init: Update weston.ini for IVITom Hochstein
- Set core idle-time to 0 to align with non-IVI setting - Add repaint-window for all i.MX 8 to support 4K display - Add enable-overlay-view option as comment - Enable touchscreen_calibrator Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit e2abe0525384a31f54e1b1fe3ba1aac887ea3573)
2021-04-02libdrm: update to 2.4.102.imxMax Krummenacher
NXP release imx_5.4.70_2.3.0. Drop the explicit PACKAGE_ARCH setting. This is done by fsl-dynamic-packagearch.bbclass. The musl-ioctl.patch has been upstreamed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit a00d108c094c993ef68601efc0bfe3454732ee31)
2021-04-02imx-base: upgrade to release 5.4.70_2.3.0Max Krummenacher
Update PREFERRED to release 5.4.70_2.3.0. imx-gpu-viv now has opencl-clhpp in PROVIDES. Set this as the preferred provider. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 6ce8be8b047fdda706dfa40ee6191f723b334b65)
2021-04-02weston-init: Update weston.iniTom Hochstein
- Add repaint-window for all i.MX 8 to support 4K display - Add enable-overlay-view option as comment - Enable touchscreen_calibrator - Update transform values which were re-worked for weston 9.0 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 8c91f6a43fb196810e43f4f5361c618f5569b328)
2021-04-02weston: update to 9.0.0.imxMax Krummenacher
NXP release imx_5.4.70_2.3.0. 0001-weston-launch-Provide-a-default-version-that-doesn-t.patch update taken from NXP BSP. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9fe41a141e5d70463da2b88fc04687233e85cd20)
2021-04-02wayland-protocols: update to 1.20.imxMax Krummenacher
NXP release imx_5.4.70_2.3.0. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 0686db6d76e1bc2bd36854287e514446e7f26a46)
2021-04-02weston-init: enable g2d for mx6dl/mxq machinesPierluigi Passaro
Both the machines do support g2d and this fix graphical artifacts when using a mouse Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com> (cherry picked from commit 5495996f680c401c1759bf944450c3000b837c66)
2021-04-02weston-imx: Bump revision f13d40a3Fabio Berton
This commit includes the following changes: - f13d40a3 compositor-drm: Add environmen variables configuration in weston.ini - 1e1f6fb5 compositor-drm: display will be blank when weston restart with rotate - 27cde525 gl-renderer: Video playback always flashes and jitteres on the top-right corner - e08a9c3d g2d-renderer: UI is abnormal using G2D compositor - 81a7538f gl-renderer: mm06 has performance dropped Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> (cherry picked from commit 3d1224371908cd842b6393241d696e2c65336568)
2021-03-10imx-vpu-hantro-vc: add do_install functionChris Dimich
The encoding library was not previously being installed. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit 0a435d64e588843f6943d6e5723e5ecc12990aa2)
2021-03-10imx-gpu-viv: Restore virtual/opencl-icd to PROVIDESTom Hochstein
Since opencv depends on virtual/opencl-icd, restore virtual/opencl-icd to the recipes provided so imx-gpu-viv is properly selected. Fixes: ``` ERROR: Nothing PROVIDES 'virtual/opencl-icd' (but /opt/work/upstream/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_4.5.0.bb DEPENDS on or otherwise requires it). Close matches: virtual/libc ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit b7c4f94c72164a767987c4f76abb8c4037a49232)
2021-03-10imx-base.inc: Set imx-gpu-viv as preferred provider for OpenCLTom Hochstein
Use imx-gpu-viv for hardware-accelerated OpenCL implementation. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit c19ab3ed009c45e5b016fee24f752f43de427a7a)
2021-03-10imx-gpu-viv: Align OpenCL package namesTom Hochstein
The existing OpenCL recipes opencl-headers and opencl-icd-loader are dependencies for clinfo. In order to build clinfo with imx-gpu-viv as provider, fix imx-gpu-viv to provide the same recipe names. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 039b7557c9f243a882c7d008ff362137c6e70e15)
2021-03-04packagegroup-fsl-opencv-imx: add packagegroupChris Dimich
Add a packagegroup to support opencv i.MX packages. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit 392a28bdd1abed116525fdbafb0304c5a6a33f09)
2021-03-04packagegroup-fsl-isp: add packagegroupChris Dimich
Add a packagegroup to support ISP and Basler Camera. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit bb2e202e5cde409de7f67a20cf7d6d2ed071afda)
2021-03-03fsl-eula-unpack: Document EULA v16 and v17Tom Hochstein
Add entries for EULA versions 16 and 17. The next NXP release 5.4.70-2.3.0 uses version 17. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit b4f8db80dd780175a9193f687dd7512672edd918)
2021-03-03imx-gpu-g2d: update to 6.4.3.p1.0Max Krummenacher
NXP release imx_5.4.70_2.3.0. This package uses EULA v17 October 2020. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 8cb4f89c2492bfb020b6102e9248b7ce8caea8ab)
2021-03-03imx-dpu-g2d: update to 6.4.3.p1.0Max Krummenacher
NXP release imx_5.4.70_2.3.0. This package uses EULA v17 October 2020. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 6489a35b8e98f5fa66b24ffbcc5ef55568e4d70c)
2021-03-03kernel-module-imx-gpu-viv: update to 6.4.3.p1.0Max Krummenacher
NXP release imx_5.4.70_2.3.0. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 364acae4d5ebdb52406d2c7a49f1a1ec64a1dea3)
2021-03-03imx-gpu-viv: update to 6.4.3.p1.0Max Krummenacher
NXP release imx_5.4.70_2.3.0. imx-gpu-viv provides the OpenCL C++ headers which meta-openembedded also provides in the opencl-clhpp recipe. Add opencl-clhpp to PROVIDES and have a PREFERRED_PROVIDER_opencl-clhpp decide on which to build. libgbm-imx got additional shared objects, set FILES accordingly. This package uses EULA v17 October 2020. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 02fd61fd7e102d48fcb87e49e43e5300becea237)
2021-03-02imx-base: use i.MX opencv version for mx8Chris Dimich
Use i.MX fork to support additional machine learning demos and tiny dnn. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit 420f87e0af69e72ff561c6650074c43e69a0dff8)
2021-03-02opencv_4.4.0.imx: add recipeChris Dimich
Add recipe to support additional machine learning demos and tiny dnn. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit dc6bebac65d3733548de568f31ca5bfbf9e8a8a5)
2021-03-02basler-camera,isp-imx,kernel-module-isp-vvcam: Mark imx specificKhem Raj
These recipes are really not meant for non imx architectures, therefore pin them as such Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 346713517e26729f91fd35423c8934cf59e7d64d)
2021-03-02isp-imx: do not prevent restart of serviceChris Dimich
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit 7fecdcede764dc2081f6105f03bcc385d3219aba)
2021-03-02isp-imx: fix bashismChris Dimich
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit 01d65a00275c2e6016dc9003cc38cd63f6b0fe71)
2021-03-02basler-camera: add recipeChris Dimich
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit ab82bf33d4f95dacfdfbc56a5b34c6fa51d67e9c)
2021-03-02isp-imx: add recipeChris Dimich
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit 3b91fa80566510e6f787a4212ef93fcc89c54955)
2021-03-02kernel-module-isp-vvcam: add recipeChris Dimich
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com> (cherry picked from commit c7d908c5dfebb3a1ad19217268ec1a159998250b)
2021-03-01firmware-imx: Prevent sdma-imx6q and imx7d installationVinicius Aquino
When building a eSDK, sdma-imx6q/7d files are installed by both firmware-imx and linux-firmware causing a abort. Prevent firmware-imx to install sdma-imx6q/7d allows linux-firmware to install them exclusively. Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com> (cherry picked from commit 9f5ecc8396a9b247109236cb5d94ab560ff62be9)
2021-02-22dpdk: update to 7071c27f (LSDK-20.12)Ting Liu
Key changes: * bump version to 19.11.4 * fix build failures with gcc10 * Support of LX2162A QDS * Crypto: SEC PDCP-SDAP format on LX2160A, non-HMAC auth algorithm on LX2160A * Memory pool: optimizing the buffer allocation time Remove two obosolete patches as fixes are included in source code. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-02-22dpdk: update scripts to use python3Ting Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-02-22dpdk: add RDEPENDS on python3-coreTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-02-22dpdk: correct LICENSE and update LIC_FILES_CHKSUMTing Liu
Correct LICENSE from LGPLv2 to LGPLv2.1 and use license files for checksum. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-02-22dce/qbman_userspace: fix build issue with gcc10Ting Liu
Fix multiple definition of 'qman_version' error: | .../dce/git-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/ld: libqbman.a(qbman_portal.o):/usr/src/debug/dce/git-r0/git/lib/qbman_userspace/driver/qbman_portal.h:36: multiple definition of `qman_version'; libqbman.a(qbman_debug.o):/usr/src/debug/dce/git-r0/git/lib/qbman_userspace/driver/qbman_portal.h:36: first defined here | collect2: error: ld returned 1 exit status | Makefile:41: recipe for target 'bin/dce-api-perf-test' failed | make: *** [bin/dce-api-perf-test] Error 1 Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-02-22mesa: For i.MX parts without GPU use default gallium and driTom Hochstein
For NXP BSP, building graphics software for a part without GPU can fail with a dependency issue: ``` ERROR: Nothing RPROVIDES 'libgl' (but /home/r60874/gatesgarth/sources/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.22.bb, /home/r60874/gatesgarth/sources/poky/meta/recipes-graphics/cogl/cogl-1.0_1.22.8.bb RDEPENDS on or otherwise requires it) ``` This is fixed by adding a third case configuration using the default gallium and dri. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 148581622b1097123f0fdb905c3167d0d6d6f5b7)
2021-02-05machines: imx-base.inc: fix failing u-boot buildsMax Krummenacher
If using a fsl-xxx distro the prefered provider of U-Boot is u-boot-imx. That U-Boot didn't make the switch to a unified dl/q/qp binary and does not use an spl. For the imx6ulevk it does not use an spl. The below commits try to address that, however the change is not limited to - the fsl distro but rather uses use-nxp-bsp which can be used with any distro - some machines which do not use u-boot-imx, e.g. colibri-imx6 now fail. Fix this by moving the configuration into the affected distro in meta-freescale-distro and the machines. Fixes: c9757ea3 ("imx-base.inc: Fix use-nxp-bsp after rework") 77e56f30 ("imx-base.inc: Limit use-fsl-bsp u-boot overrides to i.MX 6 and 7") e5cd33c9 ("u-boot.imx: Add u-boot configuration for fsl") Build tested with fsl-xwayland & use-nxp-bsp for imx6qdlsabreauto, imx6qdlsabresd, and imx6ulevk. Build tested with the fslc-xwayland & use-nxp-bsp for imx6qdlsabreauto, imx6qdlsabresd, imx6ulevk, and colibri-imx6. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit b6e910abdea72f9cd6336c4eeecdf8646e3543c2)
2021-02-03mesa: Disable dri for parts without DRMTom Hochstein
On dunfell mesa build breaks with dri enabled: ``` | meson.build:455:4: ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa ``` The break does not occur on master since dri is disabled if no dri drivers are configured. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-02-03mesa: Re-enable dri driver swrast for NXP BSPTom Hochstein
Seems swrast won't disable hardware acceleration and is still needed to prevent a build break in xserver-xorg. ``` | Package dri was not found in the pkg-config search path. | Perhaps you should add the directory containing `dri.pc' | to the PKG_CONFIG_PATH environment variable | No package 'dri' found ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit a8706239390f21621e175c61e3cc03630d650a10)
2021-02-03mesa: Limit OSMesa to DRM and remove swrastTom Hochstein
OSMesa was originally added for i.MX 8 only. This limitation was recently dropped accidentally. Additionally, the 8DualXLite has no GPU and fails to build: ``` | In file included from ../../../mesa-demos-8.4.0/src/osdemos/osdemo32.c:14: | ../../../mesa-demos-8.4.0/src/util/glut_wrap.h:9:12: fatal error: GL/glut.h: No such file or directory | 9 | # include <GL/glut.h> | | ^~~~~~~~~~~ | compilation terminated. ``` Fix the OSMesa configuration by limiting it to parts with DRM. Also, adding swrast prevents the use of hardware acceleration. Drop swrast. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 47394d05017483e7fd0cba5b927c76198bdfa062)
2021-02-03mesa: Use OSMesa for use-nxp-bspFabio Berton
Enabling OSMesa and disabling Gallium is needed when using use-nxp-bsp, if we don't do this mesa raises error: Problem encountered: building dri drivers require at least one windowing system or classic osmesa Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> (cherry picked from commit 3b0fc734634f8f0db1f48fc13c64cacd3d99dd92)
2021-02-03imx-base.inc: Fix use-nxp-bsp after reworkTom Hochstein
The use-*-bsp rework renamed use-fsl-bsp to use-nxp-bsp. It also added to MACHINEOVERRIDES automatically, so fix the comment as well. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit c9757ea36f8472d75cb5c6d9abbbe5c3ed2e826b)