| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
```
a26b1ee MLK-25735-3: ignore empty v4l2 output buffer
923cf16 MLK-25735-2: rename NV12M_8L128 to NV12MT_8L128
21c89c5 MLK-25735: mxc_v4l2_vpu_test: support display decoded picture using wayland
9d8e867 MLK-25721 mxc_v4l2_vpu_test: support more encoder input format
d45624e MLK-25685 mxc_v4l2_vpu_test: avoid repeatedly release pitcher_buffer
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following commits are included in this upgrade:
----
2dcb987 ("MLK-25647-2 mxc_v4l2_vpu_test: expand the conversion function")
2b63cde ("MLK-25647 mxc_v4l2_vpu_test: expand the conversion function")
f078eac ("unit_test: mxc_v4l2_test: add camera test support for iMX8ULP")
afa5afe ("MLK-25487-2:mxc_v4l2_vpu_test: improve mpeg4 parser")
703ed09 ("MLK-25487:mxc_v4l2_vpu_test: Implement a simple seek function in unit test")
----
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
e55c83b LF-673:mx6s_v4l2_cap_drm.out:fix double free Abort issue
b4fe35b MLK-25419 mxc_v4l2_vpu_test: decoder: refine operation of find video device
393c8de MLK-25272-5: mxc_v4l2_vpu_test: add rfc/rfcx/nv16 format
408da7e MLK-25272-4: mxc_v4l2_vpu_test: encoder: support 10bit dtrc
3f5852a MLK-25308 mxc_v4l2_vpu_test: refine convert for malone decoder
0c5acdd MLK-25294 mxc_uart_test: fix the buffer overflow of local buf
84395a7 MLK-25286 mxc_v4l2_vpu_test: handle special stream that contian SPS/PPS only
c85b54c MLK-25235-5: mxc_v4l2_vpu_test: improve decoder parser
3fead07 MLK-25272-3: mxc_v4l2_vpu_test: encoder: add changing bitrate dynamically
a979b50 MLK-25272-2: mxc_v4l2_vpu_test: encoder: add force key frame
e155880 MLK-25272: mxc_v4l2_vpu_test: encoder: implement roi and ipcm
2e82ea4 MLK-25231-2:mxc_v4l2_vpu_test: encoder: exit test when pollerr or codec error event
9dc18aa MLK-25235-4: mxc_v4l2_vpu_test: improve parser of h265
12ec2ae MLK-25225-3 mxc_v4l2_vpu_test: add VP6 decoder format parser
a6a6db6 MLK-25225-2 mxc_v4l2_vpu_test: set parser memory type
8df7236 MLK-25235-3: mxc_v4l2_vpu_test: encoder: improve the parser of finding start code
f415861 MLK-25235: mxc_v4l2_vpu_test: encoder: improve the parser of finding start code
3d01f60 MLK-25235: mxc_v4l2_vpu_test: encoder: improve the parser of finding start code
20b364e MLK-25231:mxc_v4l2_vpu_test: encoder: handle POLLERR event
afb9a7b MLK-25227 mxc_v4l2_vpu_test: encoder: add VP8 format
2fbd5e4 MLK-25225 mxc_v4l2_vpu_test: add more decoder format parser
ce5418b MLK-25203:[8QM_MEK/8QXP_MEK]mxc:vpu_malone: align custom interface to imx_vpu.h
101707c MLK-25213:[8QM_MEK/8QXP_MEK]mxc:vpu: unittest update copyright
e23ea2c MLK-25193:[8QM_MEK/8QXP_MEK]mxc:vpu_windsor: unittest set crop using VIDIOC_S_SELECTION instead of VIDIOC_S_CROP
6b460e1 unit_tests: mxc_v4l2_test: m2m: add help info for isi m2m crop usage
082ef5c mxc_v4l2_test: m2m: add G/S_SELECTION test case support for isi mem2mem
7d03379 unit_tests: mxc_v4l2_test: capture: add help info for crop usage
3891fd4 unit_tests: mxc_v4l2_test: capture: add G/S_SELECTION test case support
6081e27 LF-2966: mxc_tuner_test: Add commad to get sound card number
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
Enable swpdm for i.MX 8M so that mxc_pdm_test.out uses PDM to PCM decimation.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Fixes since last update:
7468ce4 MLK-25294 mxc_uart_test: fix the buffer overflow of local buf
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream commit 2456f523cf ("licenses: Update license file to match
current SPDX names") deprecated the usage of GPL-2.0 SPDX identifier,
removed GPL-2.0 license file and replaced it with GPL-2.0-only SPDX
identifier and text file.
Adjust layer recipes to use new SDPX identifier and text file.
imx-test recipe has license has been re-captured to use GPL-2.0-or-later
identifier, since it is required by the license text accompanying the
source code repository through "GPLv2 or later" statement in COPYING file.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade recipe to match with release 5.4.70_2.3.0 from NXP.
Drop patch from the layer that is applied upstream, it is covered by the
commit (35881dd "MLK-24751 pxp_test: fix build break with GCC 9.2")
Add new package config option to include SW PDM.
Following commits are included in this update:
----
90fd716 MLK-25007: mxc_audio_monitor: use double type to improve the precision
9e3378e MLK-24989: mxc_audio_monitor: Add support for 8MP
f98b5a8 MLK-24896 mxc_v4l2_vpu_test: integrate VSI unit-test parser
838ea7f MLK-24829:mxc_v4l2_vpu_test: encoder: fix crop setting doesn't take effect
8939e71 MLK-24797: mx8_v4l2_cap_drm.c: fix camera preview not working when run six sensors
af1091d MLK-24692: camera: mx8_v4l2_cap_drm.c support sixteen camera channels
35881dd MLK-24751 pxp_test: fix build break with GCC 9.2
709656b MLK-24736 mxc_v4l2_vpu_test: add parser for JPEG format
7169666 MLK-24533:mxc_v4l2_vpu_test: encoder: align the max buffer count to the v4l2 max buffer count
2ae964b MLK-24499: [8QM_MEK/8QXP_MEK]mxc:vpu_windsor: set low latency mode through set bframe
5ea9607 set hevc profile and level
527092b MLK-24466-2 mxc_v4l2_vpu_test: encoder: refine parser
----
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
| |
- Drop the mxc_v4l2_test patch - the compilation error fix is included in the source code
- Add pxp_test patch to fix format-security error
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes following build error:
,----
| pxp_lib_test/pxp_test.c: In function 'main':
| pxp_lib_test/pxp_test.c:541:2: error: format not a string literal and no format arguments [-Werror=format-security]
| 541 | printf(usage);
| | ^~~~~~
`----
Fixes: #506.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: Ie6df1a64ba7126967861cb8fc889d4ca6f22b67a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Certain packages are using linux-imx-headers, which enforces them to use
NXP BSP since headers are provided from the NXP kernel tree.
Those recipes, which requires NXP kernel headers, are now including the
use-imx-headers class to make sure the correct headers package is used.
Since the introduction of separation between NXP and Mainline BSP for
certain machines, recipes which are NXP-dependent are getting their
COMPATIBLE_HOST to be marked as (null) effectively making them
incompatible with mainline BSP which is expected behavior.
By extending this restriction into the use-imx-headers class, all
recipes which inherits is (because it is required) are getting
automatically restricted to NXP BSP, hence making package NXP-dependent
much easier.
linux-imx-headers is marked as "NXP-only" but it is done explicitly
inside the recipe in order to avoid confusion of inheriting the class.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
| |
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
| |
Upgrade recipe to pull sources from lf-5.4.y branch.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
| |
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
Update the imx-test package branch to imx_4.19.35_1.1.0 which matches
the latest linux-imx kernel release (uses same branch naming).
Additionally, introduce the patch that solves trivial compilation issue
under gcc9.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
| |
Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
|
|
|
|
|
|
| |
Add VPU tests by making sure VPU support is in sysroots.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allow to easy reuse of binary packages among similar SoCs. The
usual use for this is to share SoC specific packages among different
boards independently of the kernel version it is using, as far it is
ABI compatible with the official version it will just work.
Following recipes has been reworked to make use of the class:
- imx-lib
- imx-test
- imx-vpu-hantro
- imx-vpu
- imx-alsa-plugins
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-imx
- imx-gst1.0-plugin
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
This reworks make use of linux-imx-headers and set it as SoC arch
compatible.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code has some possible flaws related to string manipulation
functions which are know to be fragile. This commit disables this
protection but this should be fixed by NXP for next releases.
Flags being disabled:
- -Wformat
- -Wformat-security
- -Werror=format-security
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
| |
All variants depends on `virtual/kernel`, `imx-lib` and `alsa-lib`, so
this can be added by default.
The VPU support has been moved to a `PACKAGECONFIG` so it adds the
respective `make` parameter, and dependency, depending on the
`MACHINEOVERRIDES` value.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
- Remove .inc file to use only one .bb file
- Add alsa-lib to DEPENDS
- Add patch to use include path when compile sources from test directory
- Drop unused patch
- Update O.S. Systems Software Copyright
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Change the git URL to Code Aurora as it mirrors the git.freescale.com.
It also changes the branch name to the matching one.
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
- As imx-test git repository is public as git://git.freescale.com/imx/imx-test.git,
build it from git.
- Add support to i.MX 6SLL and 7ULP.
- Replace imx-vpu with virtual/imxvpu in DEPNEDS.
- Set PV as 6.0+${SRCPV}
Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|