| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
The NR_DEVICE_TREE_BASLER variable has the wrong path.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
Drop the upstream patch: 0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Also remove uneeded -lm option from run.sh script invocation.
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
The basler camera support is for 8M Plus SOC only.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
Install dewarp instead of mediacontrol for test.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
Fix variable order, use BP in place of BPN-PV and PN-PV.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
These recipes are really not meant for non imx architectures, therefore
pin them as such
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
|
|
|
|
| |
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
|
|
|
|
| |
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
|
|
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
|