hey… there
Hope you all are doing well
I’m dealing with the i.mx6ull colibri (512 MB NAND version)/
I’m facing the very strange issue, while applying the patch to “imx6ull-colibri-eval-v3.dts” file
the intention is very simple, i need to disable the lcd node
here is what i did …
- created the patch by git diff command
git diff --no-index imx6ull-colibri-eval-v3.dts.orig imx6ull-colibri-eval-v3.dts > 0001-imx6ull-colibri-eval-v3-dts-custom.patch
- added the patch in to recipes-kernel recipes file. the file hierarchy as follows
recipes-kernel$ tree
.
└── linux
├── colibri-imx6ull
│ └── 0001-imx6ull-colibri-eval-v3-dts-custom.patch
└── linux-toradex-mainline_%.bbappend
- the contents of the patch as follows
diff --git a/imx6ull-colibri-eval-v3.dts.orig b/imx6ull-colibri-eval-v3.dts
index b038534..d6da984 100644
--- a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dts
+++ b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dts
@@ -26,7 +26,7 @@
};
&lcdif {
- status = "disabled";
+ status = "okay";
};
&panel_dpi {
- The contents of the .bbappend recipe as follows
FILESEXTRAPATHS:prepend := "${THISDIR}:"
SRC_URI += "file://0001-imx6ull-colibri-eval-v3-dts-custom.patch"
Problem statement
Every time, the image building is failing while applying the patch!!!
The strange things is, it’s happening with this .dts file only while other.dtsi file are getting patched!
here are the error logs
pl. suggest me the possible solutions
Thanks
Sstate summary: Wanted 0 Local 0 Mirrors 0 Missed 0 Current 100 (0% match, 100% complete)
NOTE: Executing Tasks
ERROR: linux-toradex-mainline-6.1.112+gitAUTOINC+aa4cd140bb-r0 do_patch: Could not apply patches for colibri-imx6ull.
ERROR: linux-toradex-mainline-6.1.112+gitAUTOINC+aa4cd140bb-r0 do_patch: Patch failures can be resolved in the linux source directory /home/mahendra/oe-core/build-aebox/tmp/work-shared/colibri-imx6ull/kernel-source)
ERROR: linux-toradex-mainline-6.1.112+gitAUTOINC+aa4cd140bb-r0 do_patch: ExecutionError('/home/mahendra/oe-core/build-aebox/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex-mainline/6.1.112+gitAUTOINC+aa4cd140bb-r0/temp/run.do_patch.493150', 1, None, None)
ERROR: Logfile of failure stored in: /home/mahendra/oe-core/build-aebox/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex-mainline/6.1.112+gitAUTOINC+aa4cd140bb-r0/temp/log.do_patch.493150
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/mahendra/oe-core/layers/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/mahendra/oe-core/layers/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/home/mahendra/oe-core/layers/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: ['quilt-native', 'patch-native']
| NOTE: Skipping as already exists in sysroot: ['kern-tools-native', 'libtool-native', 'attr-native', 'texinfo-dummy-native', 'gettext-minimal-native']
| DEBUG: sed -e 's:^[^/]*/:/home/mahendra/oe-core/build-aebox/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex-mainline/6.1.112+gitAUTOINC+aa4cd140bb-r0/recipe-sysroot-native/:g' /home/mahendra/oe-core/build-aebox/tmp/sysroots-components/x86_64/quilt-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/home/mahendra/oe-core/build-aebox/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex-mainline/6.1.112+gitAUTOINC+aa4cd140bb-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/home/mahendra/oe-core/build-aebox/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex-mainline/6.1.112+gitAUTOINC+aa4cd140bb-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/home/mahendra/oe-core/build-aebox/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/home/mahendra/oe-core/build-aebox/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/home/mahendra/oe-core/build-aebox/tmp/pkgdata/colibri-imx6ull:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/home/mahendra/oe-core/build-aebox/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex-mainline/6.1.112+gitAUTOINC+aa4cd140bb-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/home/mahendra/oe-core/build-aebox/tmp/work/colibri_imx6ull-poky-linux-gnueabi/linux-toradex-mainline/6.1.112+gitAUTOINC+aa4cd140bb-r0/temp/fifo.493150:g'
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_patch
| (1/28) 0001-imx6ull-colibri-eval-v3-dts-custom.patch
| [INFO]: check of .kernel-meta//patches//./0001-imx6ull-colibri-eval-v3-dts-custom.patch with "git am" did not pass, trying reduced context.
| [INFO]: Context reduced git-am of .kernel-meta//patches//./0001-imx6ull-colibri-eval-v3-dts-custom.patch with "git am" did not work, trying "apply".
| error: patch failed: arch/arm/boot/dts/imx6ull-colibri-eval-v3.dts:26
| error: arch/arm/boot/dts/imx6ull-colibri-eval-v3.dts: patch does not apply
| [ERROR]: Application of .kernel-meta//patches//./0001-imx6ull-colibri-eval-v3-dts-custom.patch failed.
| Patch needs to be refreshed. Sample resolution script:
| .git/rebase-apply/resolve_rejects
| ERROR: Could not apply patches for colibri-imx6ull.
| ERROR: Patch failures can be resolved in the linux source directory /home/mahendra/oe-core/build-aebox/tmp/work-shared/colibri-imx6ull/kernel-source)
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/mahendra/oe-core/layers/meta-toradex-bsp-common/recipes-kernel/linux/linux-toradex-mainline_git.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 453 tasks of which 446 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/mahendra/oe-core/layers/meta-toradex-bsp-common/recipes-kernel/linux/linux-toradex-mainline_git.bb:do_patch
Summary: There was 1 WARNING message.
Summary: There were 3 ERROR messages, returning a non-zero exit code.