2008-02-17 21:57:00     PPI 1 driver

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

2008-02-17 21:57:00     PPI 1 driver

Pranay Upadhyay (INDIA)

Message: 51168    Hello ,

                I am doing the project on the ppi1 driver using uClinux.After compilation we got following

               error...

          make[4]: Warning: File `drivers/mtd/onenand/.built-in.o.cmd' has modification time 1.4e+04 s in the future

make[4]: warning:  Clock skew detected.  Your build may be incomplete.

make[3]: warning:  Clock skew detected.  Your build may be incomplete.

make[3]: Warning: File `drivers/net/.smc91x.o.cmd' has modification time 1.4e+04 s in the future

make[3]: warning:  Clock skew detected.  Your build may be incomplete.

make[3]: Warning: File `drivers/serial/.serial_core.o.cmd' has modification time 1.4e+04 s in the future

make[3]: warning:  Clock skew detected.  Your build may be incomplete.

make[3]: Warning: File `drivers/spi/.spi_bfin5xx.o.cmd' has modification time 1.4e+04 s in the future

make[3]: warning:  Clock skew detected.  Your build may be incomplete.

make[3]: Warning: File `drivers/video/.rgb2ycbcr.o.cmd' has modification time 1.4e+04 s in the future

  CC      drivers/video/bfin_ad7171fb_main.o

drivers/video/bfin_ad7171fb_main.c:509: warning: initialization from incompatible pointer type

drivers/video/bfin_ad7171fb_main.c:510: warning: initialization from incompatible pointer type

  LD      drivers/video/fb.o

make[4]: Warning: File `drivers/video/backlight/.built-in.o.cmd' has modification time 1.4e+04 s in the future

make[4]: warning:  Clock skew detected.  Your build may be incomplete.

  LD      drivers/video/built-in.o

make[3]: warning:  Clock skew detected.  Your build may be incomplete.

  LD      drivers/built-in.o

drivers/char/built-in.o: In function `ppi_reg_reset':

(.text+0x8104): multiple definition of `ppi_reg_reset'

drivers/video/built-in.o:(.text+0x3f34): first defined here

make[2]: *** [drivers/built-in.o] Error 1

make[1]: *** [drivers] Error 2

make[1]: Leaving directory `/ramakrishna/uClinux-dist/linux-2.6.x'

make: *** [linux] Error 1

 

     I am not able to see uimage.ext in image file. the file is empty.Please reply soon.

 

                Thanks

              Pranay Upadhyay

QuoteReplyEditDelete

 

 

2008-02-17 23:57:48     Re: PPI 1 driver

Mike Frysinger (UNITED STATES)

Message: 51172    you need to fix your clock, that is why you are getting clock skew errors

 

as for the ppi_reg_reset issue, modify the drivers in question and mark the function as static

QuoteReplyEditDelete

 

 

2008-02-18 01:41:10     Re: PPI 1 driver

Pranay Upadhyay (INDIA)

Message: 51179   

 

 

 

     Hello Mike,

 

                        Thanks

 

                              Pranay

QuoteReplyEditDelete

 

 

2008-02-18 06:16:14     Re: PPI 1 driver

Pranay Upadhyay (INDIA)

Message: 51193   

 

Hello Mike,

 

                       I am trying  to get  vido frame from BF-561 Ez-Kit  on  screen by running the attatched code but I am  not

 

                       able to get video frame on screeen.So please help me.

 

                                                                       Thank You

 

                                                                                              Pranay Upadhyay

 

 

 

ppi_out_c0.htm

QuoteReplyEditDelete

 

 

2008-02-18 07:50:38     Re: PPI 1 driver

Robin Getz (UNITED STATES)

Message: 51197    Right now - we really don't have time to look into this - you may want to contact your local ADI FAE.

 

-Robin

QuoteReplyEditDelete

 

 

2008-02-20 06:11:25     Re: PPI 1 driver

Pranay Upadhyay (INDIA)

Message: 51333   

 

Hello Mike ,

 

                I am not getting really that which clock we really set.The system clock , register clock or core clock.

 

                                       Thanks

 

                                                     -pranay

QuoteReplyEditDelete

 

 

2008-02-20 12:27:34     Re: PPI 1 driver

Mike Frysinger (UNITED STATES)

Message: 51375    i dont know what clocks you're talking about

 

the kernel programs the core clock and takes care of the system clock for you during boot and are unrelated to any peripheral device driver

 

i dont know what "register clock" is, but if you're referring to the ppi, you need to write a device driver

Attachments

Outcomes