• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » Error: while applying the patch.
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Error: while applying the patch.

Error: while applying the patch.

This question is not answered
Surendra Dhobale92789
Posted by Surendra Dhobale92789
on Apr 10 2012 01:47 AM
Intellectual640 points

Hi ,

   I am working with the arago build enviornment . we created the arago enviornment and started with source code customisation.For an example we have taken the u-boot source code. I added some more prints in the working directiory of the u-boot  and create the patch of the modification using the git workflow. The patch is created. The patch is created successfully after that  i apply the patch ,in the corresponding receipe.and then started built the package as  MACHINE=am335x-evm bitbake virtual/bootloader  or  MACHINE=am335x-evm bitbake u-boot 

then its throwing error while do_patch and some related quilt.

Error logs as follows:-

utc-arago@utc-arago-desktop:~/oe$ MACHINE=am335x-evm bitbake u-boot

NOTE: Handling BitBake files: | (7691/7691) [100 %]

Parsing of 7691 .bb files complete (7228 cached, 463 parsed). 7887 targets, 451 skipped, 585 masked, 0 errors.

Build Configuration:

BB_VERSION = "1.10.2"

METADATA_BRANCH = "master"

METADATA_REVISION = "da378da"

TARGET_ARCH = "arm"

TARGET_OS = "linux-gnueabi"

MACHINE = "am335x-evm"

DISTRO = "angstrom"

DISTRO_VERSION = "2011.09"

TARGET_FPU = "hard"

NOTE: Resolving any missing task queue dependencies

NOTE: Preparing runqueue

NOTE: Executing runqueue

NOTE: Running task 396 of 649 (ID: 11, /home/utc-arago/oe/arago/recipes/u-boot/u-boot_2011.09-psp04.06.00.06.bb, do_setscene)

NOTE: package u-boot-2011.09-psp04.06.00.06-r11.0+gitr0+1695466ccf32c19d0453f94724987cf063024b60: task do_setscene: Started

NOTE: package u-boot-2011.09-psp04.06.00.06-r11.0+gitr0+1695466ccf32c19d0453f94724987cf063024b60: task do_setscene: Succeeded

NOTE: Running task 397 of 649 (ID: 9, /home/utc-arago/oe/arago/recipes/u-boot/u-boot_2011.09-psp04.06.00.06.bb, do_fetch)

NOTE: package u-boot-2011.09-psp04.06.00.06-r11.0+gitr0+1695466ccf32c19d0453f94724987cf063024b60: task do_fetch: Started

NOTE: package u-boot-2011.09-psp04.06.00.06-r11.0+gitr0+1695466ccf32c19d0453f94724987cf063024b60: task do_fetch: Succeeded

NOTE: Running task 398 of 649 (ID: 0, /home/utc-arago/oe/arago/recipes/u-boot/u-boot_2011.09-psp04.06.00.06.bb, do_unpack)

NOTE: package u-boot-2011.09-psp04.06.00.06-r11.0+gitr0+1695466ccf32c19d0453f94724987cf063024b60: task do_unpack: Started

NOTE: Unpacking downloads/git_arago-project.org.git.projects.u-boot-am33x.git_1695466ccf32c19d0453f94724987cf063024b60.tar.gz to arago-tmp/work/am335x-evm-arago-linux-gnueabi/u-boot-2011.09-psp04.06.00.06-r11.0+gitr0+1695466ccf32c19d0453f94724987cf063024b60/

FATAL: Execution of 'quilt --quiltrc=/home/utc-arago/oe/arago-tmp/sysroots/i686-linux/usr/bin/quiltrc push' failed with exit code 1:

Applying patch 0001-Surendra-after-change.patch

patching file board/ti/am335x/evm.c

Hunk #2 FAILED at 704.

1 out of 2 hunks FAILED -- rejects in file board/ti/am335x/evm.c

patching file board/ti/am335x/mux.c

Hunk #1 FAILED at 675.

1 out of 1 hunk FAILED -- rejects in file board/ti/am335x/mux.c

Patch 0001-Surendra-after-change.patch does not apply (enforce with -f)

ERROR: Function patch_do_patch failed

ERROR: TaskFailed event exception, aborting

ERROR: Build of /home/utc-arago/oe/arago/recipes/u-boot/u-boot_2011.09-psp04.06.00.06.bb do_patch failed

NOTE: package u-boot-2011.09-psp04.06.00.06-r11.0+gitr0+1695466ccf32c19d0453f94724987cf063024b60: task do_unpack: Succeeded

ERROR: Task 1 (/home/utc-arago/oe/arago/recipes/u-boot/u-boot_2011.09-psp04.06.00.06.bb, do_patch) failed with exit code 1

ERROR: '/home/utc-arago/oe/arago/recipes/u-boot/u-boot_2011.09-psp04.06.00.06.bb' failed

NOTE: Running task 405 of 649 (ID: 1, /home/utc-arago/oe/arago/recipes/u-boot/u-boot_2011.09-psp04.06.00.06.bb, do_patch)

NOTE: package u-boot-2011.09-psp04.06.00.06-r11.0+gitr0+1695466ccf32c19d0453f94724987cf063024b60: task do_patch: Started

NOTE: Applying patch '0001-Surendra-after-change.patch' (arago/recipes/u-boot/u-boot-2011.09-psp04.06.00.06/0001-Surendra-after-change.patch)

FATAL: Execution of 'quilt --quiltrc=/home/utc-arago/oe/arago-tmp/sysroots/i686-linux/usr/bin/quiltrc push' failed with exit code 1:

Applying patch 0001-Surendra-after-change.patch

patching file board/ti/am335x/evm.c

Hunk #2 FAILED at 704.

1 out of 2 hunks FAILED -- rejects in file board/ti/am335x/evm.c

patching file board/ti/am335x/mux.c

Hunk #1 FAILED at 675.

1 out of 1 hunk FAILED -- rejects in file board/ti/am335x/mux.c

Patch 0001-Surendra-after-change.patch does not apply (enforce with -f)

ERROR: '/home/utc-arago/oe/arago/recipes/u-boot/u-boot_2011.09-psp04.06.00.06.bb' failed

 

Kindly help us.

Thanks & Regards,

Surendra.


Surendra Dhobale

u-boot arago Kernel AM335x
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Chase Maupin
    Posted by Chase Maupin
    on Apr 10 2012 07:22 AM
    Expert4890 points

    Surendra,

    Please see my response to your other post.  There is no need to post the same question in two places.

    Chase

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Surendra Dhobale92789
    Posted by Surendra Dhobale92789
    on Apr 10 2012 09:02 AM
    Intellectual640 points

    Chase, Actually i thought previous thread was terminate so i make new post.

    anyway thanks:)

    Surendra Dhobale

    u-boot arago Kernel AM335x
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use