Hi, I have a problem and I need help.
I want to use the basler camera.
so I added two layers, meta-basler-imx8 and meta-basler-tools
Then the following command was executed.
$bitbake fsl-image-validation-imx
I found the following problems:
i321675@i321675-B85-HD3:~/nxp/nxp-yocto-bsp/build-xwayland$ bitbake fsl-image-validation-imx
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:01
Loaded 5099 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:02
Parsing of 3394 .bb files complete (3392 cached, 2 parsed). 5100 targets, 284 skipped, 6 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.52.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mpevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "5.15-honister"
TUNE_FEATURES = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:4d7162798ec19c726877e85509e4c7a99eb6576d"
meta-oe
meta-multimedia
meta-python = "HEAD:4647e3ea3708d30eeb0149f6d5626c9576bff520"
meta-freescale = "HEAD:ed3435620a2404c241fef3c4ef90d1f31d3b7a8a"
meta-freescale-3rdparty = "HEAD:155ffd6d7b694d8de76919c25681ecb98882646e"
meta-freescale-distro = "HEAD:d2e27cc4778663450495a67bfb036cba600cb27a"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:dbdca53406b5db6f579221087f8819ea0b1573d7"
meta-nxp-demo-experience = "HEAD:4bbe714267b730df020438fe83ae2c7c91708045"
meta-chromium = "HEAD:e22bac72bc1f1bb5d2f44e64a53128b8be644272"
meta-clang = "HEAD:fc5389393adb005b519e488e9e6be4fc5791239c"
meta-gnome
meta-networking
meta-filesystems = "HEAD:4647e3ea3708d30eeb0149f6d5626c9576bff520"
meta-qt6 = "HEAD:1b9f4646dd69c5567d19ed77b8347506fe7faf2b"
meta-python2 = "HEAD:5243d509aebff378c1ae9d3dff6a29cfdc0dee1f"
meta-virtualization = "HEAD:ed52ba982179087ecc84f7dc3b0a16cfe25f2f8e"
meta-basler-imx8
meta-basler-common = "<unknown>:<unknown>"
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:04
Sstate summary: Wanted 91 Local 2 Network 0 Missed 89 Current 3856 (2% match, 97% complete)
NOTE: Executing Tasks
ERROR: linux-imx-5.15.5+gitAUTOINC+c1084c2773-r0 do_patch: Could not apply patches for imx8mpevk.
ERROR: linux-imx-5.15.5+gitAUTOINC+c1084c2773-r0 do_patch: Patch failures can be resolved in the linux source directory /home/i321675/nxp/nxp-yocto-bsp/build-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.5+gitAUTOINC+c1084c2773-r0/git)
ERROR: linux-imx-5.15.5+gitAUTOINC+c1084c2773-r0 do_patch: ExecutionError('/home/i321675/nxp/nxp-yocto-bsp/build-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.5+gitAUTOINC+c1084c2773-r0/temp/run.do_patch.580095', 1, None, None)
ERROR: Logfile of failure stored in: /home/i321675/nxp/nxp-yocto-bsp/build-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.5+gitAUTOINC+c1084c2773-r0/temp/log.do_patch.580095
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/i321675/nxp/nxp-yocto-bsp/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/home/i321675/nxp/nxp-yocto-bsp/sources/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', '/home/i321675/nxp/nxp-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['patch-native', 'kern-tools-native', 'quilt-native', 'automake-native', 'attr-native', 'libtool-native', 'autoconf-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'gnu-config-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_patch
| (1/24) 0001-make-sensor-controls-available-in-mx6s_capture.patch
| [INFO]: check of .kernel-meta//patches//./0001-make-sensor-controls-available-in-mx6s_capture.patch with "git am" did not pass, trying reduced context.
| (2/24) 0002-added-SRGGB8-format-support.patch
| (3/24) 0003-rxhs-settle-and-send-level-value-is-now-optinal-conf.patch
| (4/24) 0004-increase-max-video-memory-from-64-to-128MB.patch
| (5/24) 0005-implement-cache-invalidation-for-MMAP.patch
| [INFO]: check of .kernel-meta//patches//./0005-implement-cache-invalidation-for-MMAP.patch with "git am" did not pass, trying reduced context.
| [INFO]: Context reduced git-am of .kernel-meta//patches//./0005-implement-cache-invalidation-for-MMAP.patch with "git am" did not work, trying "apply".
| error: patch failed: drivers/media/common/videobuf2/videobuf2-dma-contig.c:109
| error: drivers/media/common/videobuf2/videobuf2-dma-contig.c: patch does not apply
| [ERROR]: Application of .kernel-meta//patches//./0005-implement-cache-invalidation-for-MMAP.patch failed.
| Patch needs to be refreshed. Sample resolution script:
| .git/rebase-apply/resolve_rejects
| ERROR: Could not apply patches for imx8mpevk.
| ERROR: Patch failures can be resolved in the linux source directory /home/i321675/nxp/nxp-yocto-bsp/build-xwayland/tmp/work/imx8mpevk-poky-linux/linux-imx/5.15.5+gitAUTOINC+c1084c2773-r0/git)
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/i321675/nxp/nxp-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.15.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8886 tasks of which 8877 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/i321675/nxp/nxp-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.15.bb:do_patch
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
Please tell me how I can solve this problem.