I want to use the second core of Blackfin in Linux to boost the performance, is there a quick guide?

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

Sometimes we want to benefit from Linux for it's rich stack/app resources and support from open source world, still we have some heavy MIPS consuming jobs, or jobs that requires strict real-time performance to do,  assign these kind of the task to coreB is a wise choice.

 

We have designed a framework that applies to this kind of use case, with which you can bring up your dual core application quickly. Following is some tips for how to use it.

 

1, Make use of the ADI MCAPI test script to do configuration for MCAPI demo run, check FAQ http://ez.analog.com/docs/DOC-10626 for how to do this. This script is a convenient "trun-key" solution for configuring the package, it will relief you from the mess of compiling issue due to improper configuration.  

2, Once you can build and pass the ADI default test demo, as described in http://docs.blackfin.uclinux.org/doku.php?id=test_mcapi&s[]=mcapi&s[]=test , choose one of the simple test program as template to fabricate that of your own, I would recommend you to start from mcapi_msg1.c/msg1.c

3,There is also a more practical demo, which capture a frame of bmp file from camera on coreA,  and encoding it into jpeg on coreB with MCAPI on 609, you can also take this as reference, some information in http://docs.blackfin.uclinux.org/doku.php?id=mcapi_bmp2jpg_demo

Attachments

    Outcomes