[#5141] Build xenomai kernel failed at gptimer

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

[#5141] Build xenomai kernel failed at gptimer

Submitted By: Vivi Li

Open Date

2009-05-19 04:34:48     Close Date

2009-06-08 02:33:19

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Make Errors     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1_rc6

App binary format:

N/A     

Summary: Build xenomai kernel failed at gptimer

Details:

 

Build xenomai kernel failed at gptimer.

 

Bellow is the log:

--

  CC      init/version.o^M

  LD      init/built-in.o^M

  LD      .tmp_vmlinux1^M

arch/blackfin/kernel/built-in.o: In function `bfin_timer_set_next_event':^M

arch/blackfin/kernel/time-ts.c:186: undefined reference to `set_gptimer_pwidth'^M

arch/blackfin/kernel/time-ts.c:187: undefined reference to `enable_gptimers'^M

arch/blackfin/kernel/built-in.o: In function `bfin_timer_set_mode':^M

arch/blackfin/kernel/time-ts.c:215: undefined reference to `disable_gptimers'^M

arch/blackfin/kernel/time-ts.c:196: undefined reference to `set_gptimer_config'^M

arch/blackfin/kernel/time-ts.c:199: undefined reference to `set_gptimer_period'^M

arch/blackfin/kernel/time-ts.c:209: undefined reference to `set_gptimer_pwidth'^M

arch/blackfin/kernel/time-ts.c:211: undefined reference to `enable_gptimers'^M

arch/blackfin/kernel/time-ts.c:206: undefined reference to `set_gptimer_config'^M

arch/blackfin/kernel/time-ts.c:208: undefined reference to `set_gptimer_period'^M

arch/blackfin/kernel/built-in.o: In function `bfin_timer_ack':^M

arch/blackfin/kernel/time-ts.c:224: undefined reference to `set_gptimer_status'^M

arch/blackfin/kernel/built-in.o: In function `bfin_timer_init':^M

arch/blackfin/kernel/time-ts.c:229: undefined reference to `disable_gptimers'^M

make[4]: *** [.tmp_vmlinux1] Error 1^M

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

make[3]: *** [image.uimage.initramfs] Error 2^M

--

 

Follow-ups

 

--- Graf Yang                                                2009-06-03 06:40:00

It is fixed.

This generic time file (time_ts.c) should not know any thing about IPIPE, so I

removed this conditions from it. It now can compile.

After rename the clockevent device to bfin_core_timer, it now can work when

IPIPE + GENERIC_CLOCKEVENTS is enabled.

 

--- Vivi Li                                                  2009-06-08 02:33:19

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes