FAQ: [#6951] build camera kernel fails on 561-ezkit trunk(2012)

Document created by Aaronwu Employee on Sep 12, 2013Last modified by Aaronwu Employee on Sep 12, 2013
Version 2Show Document
  • View in full screen mode

[#6951] build camera kernel fails on 561-ezkit trunk

Submitted By: Mingquan Pan

Open Date

2012-01-12 02:23:47     Close Date

2012-02-21 02:20:30

Priority:

Medium     Assignee:

Scott Jiang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

2011r1-rc4

App binary format:

N/A     

Summary: build camera kernel fails on 561-ezkit trunk

Details:

 

build camera kernel fails on 561-ezkit trunk.

 

  CC      arch/blackfin/kernel/irqchip.o^M

  CC      arch/blackfin/kernel/dma-mapping.o^M

  CC      arch/blackfin/mach-bf561/ints-priority.o^M

  CC      arch/blackfin/mach-bf561/dma.o^M

  CC      arch/blackfin/kernel/flat.o^M

  LD      arch/blackfin/mach-common/built-in.o^M

  CC      arch/blackfin/mach-bf561/coreb.o^M

  CC      arch/blackfin/mach-bf561/boards/ezkit.o^M

  AS      arch/blackfin/kernel/fixed_code.o^M

  CC      arch/blackfin/kernel/reboot.o^M

  CC      arch/blackfin/kernel/bfin_gpio.o^M

  LD      arch/blackfin/mach-bf561/built-in.o^M

  CC      arch/blackfin/kernel/cplb-nompu/cplbinit.o^M

arch/blackfin/mach-bf561/boards/ezkit.c:436: error: unknown field ‘type’ specified in initializer^M

arch/blackfin/mach-bf561/boards/ezkit.c:436: error: ‘PPI_TYPE_PPI’ undeclared here (not in a function)^M

arch/blackfin/mach-bf561/boards/ezkit.c:439: warning: initialization makes integer from pointer without a cast^M

make[2]: *** [arch/blackfin/mach-bf561/boards/ezkit.o] Error 1^M

make[1]: *** [arch/blackfin/mach-bf561/boards] Error 2^M

make[1]: *** Waiting for unfinished jobs....^M

  CC      arch/blackfin/kernel/cplb-nompu/cplbmgr.o^M

  CC      arch/blackfin/kernel/bfin_dma.o^M

  CC      arch/blackfin/kernel/exception.o^M

  LD      arch/blackfin/kernel/cplb-nompu/built-in.o^M

  CC      arch/blackfin/kernel/dumpstack.o^M

  CC      arch/blackfin/kernel/time-ts.o^M

  CC      arch/blackfin/kernel/binfmt_elf_fdpic.o^M

  CC      arch/blackfin/kernel/cplbinfo.o^M

 

Follow-ups

 

--- Mingquan Pan                                             2012-01-19 03:52:02

After kernel updating, the building error now changes to:

 

  CC [M]  drivers/media/common/tuners/xc5000.o^M

  CC [M]  fs/nfs/nfs2xdr.o^M

  CC      drivers/media/video/v4l2-device.o^M

  CC [M]  drivers/media/common/tuners/xc4000.o^M

drivers/media/video/v4l2-device.c: In function

‘v4l2_device_release_subdev_node’:^M

drivers/media/video/v4l2-device.c:201: error: incompatible types in

assignment^M

drivers/media/video/v4l2-device.c: In function

‘v4l2_device_register_subdev_nodes’:^M

drivers/media/video/v4l2-device.c:240: error: incompatible types in

assignment^M

drivers/media/video/v4l2-device.c:246: error: wrong type argument to unary

exclamation mark^M

drivers/media/video/v4l2-device.c:248: error: incompatible type for argument 1

of ‘video_unregister_device’^M

drivers/media/video/v4l2-device.c: In function

‘v4l2_device_unregister_subdev’:^M

drivers/media/video/v4l2-device.c:277: error: incompatible type for argument 1

of ‘video_unregister_device’^M

make[4]: *** [drivers/media/video/v4l2-device.o] Error 1^M

make[3]: *** [drivers/media/video] Error 2^M

make[3]: *** Waiting for unfinished jobs....^M

 

--- Scott Jiang                                              2012-02-10 04:02:33

fixed.

 

--- Mingquan Pan                                             2012-02-21 02:58:15

Yes, it builds ok now. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes