FAQ: [#6601] patch for ad73322 fails to apply to trunk kernel(2011)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6601] patch for ad73322 fails to apply to trunk kernel

Submitted By: Mingquan Pan

Open Date

2011-05-17 03:32:23     Close Date

2011-05-25 03:34:52

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

5013

App binary format:

N/A     

Summary: patch for ad73322 fails to apply to trunk kernel

Details:

 

patch for ad73322 fails  to apply to trunk kernel from April 20.

 

Starting ./build_linphone_ad73322_kernel.exp

 

************** STEP 1: Decide the linphone version from Makefile.

 

spawn ex user/linphone/Makefile^M

^[[?1049h^[[?1h^[=^[[1;46r^[[?12;25h^[[?12l^[[?25h^[[?25l^[[46;1H"user/linphone/Makefile" ^M"user/linphone/Makefile" 29L, 952C^[[>c^M^M

Entering Ex mode.  Type "visual" to go to Normal mode.^[[?12l^[[?25h^M^M

:/VER^M^M

^[[?25lsearch hit BOTTOM, continuing at TOP^MVER = linphone-3.1.2^[[46;21H^[[K^[[?12l^[[?25h^[[46;1H^M

:Linphone version is linphone-3.1.2q^M^M

^[[?1l^[>^[[?1049l

************** STEP 2: Apply linphone patch.

 

 

************** STEP 3: Apply ad73322 patch.

 

patching file sound/Kconfig

Hunk #1 succeeded at 109 (offset 2 lines).

patching file sound/Makefile

Hunk #1 FAILED at 6.

1 out of 1 hunk FAILED -- saving rejects to file sound/Makefile.rej

patching file sound/blackfin/Kconfig

patching file sound/blackfin/Makefile

patching file sound/blackfin/ad73322.c

patching file sound/blackfin/bf5xx-sport.c

patching file sound/blackfin/ad73322.h

patching file sound/blackfin/bf5xx-sport.h

child process exited abnormally

    while executing

"exec patch -p0 < $uclinux_path/bfin_patch/ad73322_patch/old_sound_ad73322.patch"

~

~

~

 

Follow-ups

 

--- Mike Frysinger                                           2011-05-17 13:20:12

i would just mark this as a dupe of [#5985] ...

 

--- steven miao                                              2011-05-18 00:17:34

fix old ad73322 patch to apply to trunk kernel

 

--- Mingquan Pan                                             2011-05-25 03:34:52

Yes, it looks the ad73322 working on trunk head now.

 

kernel:    Linux release 2.6.39-rc7-ADI-2011R1-pre-svn9892, build #144 Thu May

19 09:15:56 CST 2011^M

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013)

^M

user-dist: release svn-10167, build #1888 Thu May 19 09:14:53 CST 2011^M

 

...

bfin-wdt: initialized: timeout=20 sec (nowayout=0)^M

dma_alloc_init: dma_page @ 0x028f5000 - 512 pages at 0x03e00000^M

dma rx:3 tx:4, err irq:45, regs:ffc00800^M

dma rx:5 tx:6, err irq:46, regs:ffc00900^M

ALSA device list:^M

  #0: Analog Devices AD73322 at PF10 SPORT0^M

  #1: Analog Devices AD73322 at PF14 SPORT1^M

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 11:00:30 UTC

(1086001230)^M&IP-Config: Complete:^M

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,^M

     host=bf537-stamp, domain=, nis-domain=(none),^M

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=^M

...

 

So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes