2008-10-22 12:38:45     Compile Blackfin Camera Driver on BF-548

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

2008-10-22 12:38:45     Compile Blackfin Camera Driver on BF-548

Omar Chanouha (UNITED STATES)

Message: 64050   

 

I am trying to compile the Blackfin Camera Driver for the OV9655 on my BF548 ezkit. I am getting the following error:

 

  CC [M]  drivers/media/video/blackfin/blackfin_cam.o

drivers/media/video/blackfin/blackfin_cam.c: In function ‘bcap_reg_reset’:

drivers/media/video/blackfin/blackfin_cam.c:192: warning: implicit declaration of function ‘bfin_clear_PPI_STATUS’

drivers/media/video/blackfin/blackfin_cam.c:193: warning: implicit declaration of function ‘bfin_write_PPI_CONTROL’

drivers/media/video/blackfin/blackfin_cam.c:193: error: ‘PORT_EN’ undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:193: error: (Each undeclared identifier is reported only once

drivers/media/video/blackfin/blackfin_cam.c:193: error: for each function it appears in.)

drivers/media/video/blackfin/blackfin_cam.c:194: warning: implicit declaration of function ‘bfin_write_PPI_DELAY’

drivers/media/video/blackfin/blackfin_cam.c:196: warning: implicit declaration of function ‘bfin_write_PPI_COUNT’

drivers/media/video/blackfin/blackfin_cam.c:198: warning: implicit declaration of function ‘bfin_write_PPI_FRAME’

drivers/media/video/blackfin/blackfin_cam.c: In function ‘bcap_ppi2dma’:

drivers/media/video/blackfin/blackfin_cam.c:212: error: ‘CH_PPI’ undeclared (first use in this function)

drivers/media/video/blackfin/blackfin_cam.c:217: warning: implicit declaration of function ‘bfin_read_PPI_CONTROL’

drivers/media/video/blackfin/blackfin_cam.c:217: error: ‘PORT_EN’ undeclared (first use in this function)

 

 

Any Thoughts?

QuoteReplyEditDelete

 

 

2008-10-22 12:50:22     Re: Compile Blackfin Camera Driver on BF-548

Mike Frysinger (UNITED STATES)

Message: 64051   

 

none of the PPI code will work on systems with more than one PPI.  atm you'll have to make the changes yourself.

QuoteReplyEditDelete

 

 

2008-10-22 12:56:23     Re: Compile Blackfin Camera Driver on BF-548

Omar Chanouha (UNITED STATES)

Message: 64054   

 

Could I use the TWI port?

QuoteReplyEditDelete

 

 

2008-10-22 12:57:44     Re: Compile Blackfin Camera Driver on BF-548

Mike Frysinger (UNITED STATES)

Message: 64055   

 

use it for what ?

QuoteReplyEditDelete

 

 

2008-10-22 13:20:34     Re: Compile Blackfin Camera Driver on BF-548

Omar Chanouha (UNITED STATES)

Message: 64057   

 

I mean, can I use something other then the PPI port/driver to connect to the camera?

QuoteReplyEditDelete

 

 

2008-10-22 13:24:56     Re: Compile Blackfin Camera Driver on BF-548

Mike Frysinger (UNITED STATES)

Message: 64058   

 

the only thing we support is the PPI as it's really the only peripheral that is fast enough

 

QuoteReplyEditDelete

 

 

2008-10-22 13:26:12     Re: Compile Blackfin Camera Driver on BF-548

Omar Chanouha (UNITED STATES)

Message: 64059   

 

Okay, could you give me a start on making the changes? Is there a patch, or thread somewhere?

 

Thanks for all the help

QuoteReplyEditDelete

 

 

2008-10-22 13:28:10     Re: Compile Blackfin Camera Driver on BF-548

Mike Frysinger (UNITED STATES)

Message: 64060   

 

for the camera driver, no.  just look at the failing file and convert all the PPI MMR macros to use a specific PPI.

QuoteReplyEditDelete

 

 

2008-10-22 13:35:00     Re: Compile Blackfin Camera Driver on BF-548

Omar Chanouha (UNITED STATES)

Message: 64061   

 

Alright, Thanks Mike!

Attachments

    Outcomes