2008-07-17 23:10:32     more than one codecs?

2008-07-17 23:10:32     more than one codecs?

Leslie Li (CHINA)

Message: 59047   

Hi,

I have two problems here:

1. I'm running uclinux on CoreA and codecs on CoreB, but since CoreB has no OS, how can I run multi-codecs on CoreB? only one-by-one mode?

2. How does CoreA and CoreB cooperate with each other? espacially when coreB's code job done, how can it remind coreA?

many thanks

TranslateQuoteReplyEditDelete

2008-07-17 23:27:29     Re: more than one codecs?

Mike Frysinger (UNITED STATES)

Message: 59048   

it's up to you to manage Core B.  i dont know what you mean by "codec", but i'm guessing you want to load different ELFs at runtime.  you'll have to design a system where Core B informs Core A to load another ELF before Core B can continue executing.

there is no software to assist in this setup.  you can design your own message passing algorithm (via some shared memory region) or interrupt signaling (via the SYSCR MMR).

you can see this page for more information:

http://docs.blackfin.uclinux.org/doku.php?id=load_application_running_in_bf561_core_b

QuoteReplyEditDelete

2008-07-18 00:51:41     Re: more than one codecs?

Leslie Li (CHINA)

Message: 59049   

Hi Mike,

thanks for your help, it's helpful!

that multi-codec means load several elf binaries to coreb, and just like multi-task mechanism, there is a sheduler managing these elf binaries.

how to achieve this? should I port another tiny OS to coreB to manage codecs on it?

is there a convenient way?

TranslateQuoteReplyEditDelete

2008-07-18 01:47:52     Re: more than one codecs?

Mike Frysinger (UNITED STATES)

Message: 59051   

there is no software provided to do this for you.  you'd have to write the pieces.

in theory you could run another operating system on core b, but that is generally discouraged as most people are not familiar with all the guts of operating systems to know what can and cannot be done.  most operating systems assume they are the only OS running and so they use all the resources.

QuoteReplyEditDelete

2008-07-20 23:11:00     回复: Re: more than one codecs?

Leslie Li (CHINA)

Message: 59152   

Ok, I got it, thanks Mike.

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.