U-Boot in yocto patch

Hello

I am trying to patch U-Boot in Yocto but it shows me some errors as below:

ERROR: u-boot-toradex-2016.11-2.7.2-gitr60021a4 do_patch: Command Error: 'quilt --quiltrc /home/Toradex/Source_Code/build/tmp-glibc/sysroots/x86_64-linux/etc/quiltrc push' exited with 0  Output:
Applying patch 0002-patch.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c
|index 1fa0bf6..0cc895f 100644
|--- a/board/toradex/colibri_imx6/colibri_imx6.c
|+++ b/board/toradex/colibri_imx6/colibri_imx6.c
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
Patch 0002-patch.patch does not apply (enforce with -f)
ERROR: u-boot-toradex-2016.11-2.7.2-gitr60021a4 do_patch: Function failed: patch_do_patch

I have already watch this Videos

Hi

  • What version of SW are you using?
  • What are the changes you done in the U-Boot recipe?
  • What does your patch look like?

Max