2008-07-10 03:10:09     problem happened when i insmod my ppi drivers

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

2008-07-10 03:10:09     problem happened when i insmod my ppi drivers

edward jiang (CHINA)

Message: 58592   

 

hello all:

when i compile the ppi driver(attached to uclinux kernel:\linuux-2.6.x\drivers\char) of uclinux(kernel version:  2008R1-RC8,makefile compiler:bfin-uclinux-gcc 4.1.2).several warnings is posted  as follows,

 

make: Entering directory `/home/uClinux-dist-2008R1-RC8/linux-2.6.x'

  CC [M]  /home/driver/ppi_driver/bfin_ppi.o

  Building modules, stage 2.

  MODPOST 1 modules

WARNING: "get_gptimer_config" [/home/driver/ppi_driver/bfin_ppi.ko] undefined!

WARNING: "enable_gptimers" [/home/driver/ppi_driver/bfin_ppi.ko] undefined!

WARNING: "get_gptimer_pwidth" [/home/driver/ppi_driver/bfin_ppi.ko] undefined!

WARNING: "get_gptimer_period" [/home/driver/ppi_driver/bfin_ppi.ko] undefined!

WARNING: "set_gptimer_pwidth" [/home/driver/ppi_driver/bfin_ppi.ko] undefined!

WARNING: "set_gptimer_period" [/home/driver/ppi_driver/bfin_ppi.ko] undefined!

WARNING: "set_gptimer_config" [/home/driver/ppi_driver/bfin_ppi.ko] undefined!

WARNING: "disable_gptimers" [/home/driver/ppi_driver/bfin_ppi.ko] undefined!

  CC      /home/driver/ppi_driver/bfin_ppi.mod.o

  LD [M]  /home/driver/ppi_driver/bfin_ppi.ko

make: Leaving directory `/home/uClinux-dist-2008R1-RC8/linux-2.6.x'

 

but the bfin_ppi.ko was still created. when i download this .ko file into bf537 and type "insmod bfin_ppi.ko",system told me messages below:

 

root:/home> insmod bfin_ppi.ko

bfin_ppi: Unknown symbol _get_gptimer_pwidth

bfin_ppi: Unknown symbol _enable_gptimers

bfin_ppi: Unknown symbol _disable_gptimers

bfin_ppi: Unknown symbol _disable_gptimers

 

bfin_ppi: Unknown symbol _set_gptimer_pwidth

 

bfin_ppi: Unknown symbol _get_gptimer_config

 

bfin_ppi: Unknown symbol _set_gptimer_config

 

bfin_ppi: Unknown symbol _set_gptimer_period

 

bfin_ppi: Unknown symbol _get_gptimer_period

 

insmod: cannot insert 'bfin_ppi.ko': Unknown symbol in module (-1): No such file

 

or directory

 

 

 

i checked the bfin_ppi.c,i found i have #include<asm/gptimer.h>, but why this still happened? can

 

anybody tell me the reason?

 

thanks a lot.

 

 

QuoteReplyEditDelete

 

 

2008-07-10 03:31:25     Re: problem happened when i insmod my ppi drivers

Yi Li (CHINA)

Message: 58593   

 

please enable : CONFIG_BFIN_GPTIMERS.

 

This is a link/load time error, and cannot be solved by including headers.

Attachments

    Outcomes