This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, all
We are using TMDC6670 DSP, booting from SPI norflash directly(no IBL, not EVM).We have worked out single core booting with DDR configuration. We are facing a new question: How to boot multicores? Acorrding to our situation, how should we start? We have no idea. Maybe someone can give us a simple example or some advices.
Looking forward to your reply, it is urgent. Thank you!
Karlphy
Hi Karlphy,
There is an example in MCSDK under tools/boot_loader/examples/srio/srioboot_helloworld that demonstrates multicore boot. Essentially once your primary boot core wakes up it needs to write the Boot MAGIC address for the core in the address locations corresponding to the secondary core and issue a IPC interrupt to notify the secondary cores to start executing code from memory location specified by their boot magic address.
Please refer to the main function in that example and let us know if you have any further questions regarding this issue.
Regards,
Rahul
Hi, Rahul
With the example in MCSDK, we have simply understood the boot sequence of multicores booting in main funtion. But we are facing a new question: What utility should we use to combine the four cores(C6670) boottable to one? And what is the convert sequence until we can get a .bin file? As we know, we have four CCS projects for four cores.
Maybe this is the last question that we met for SPI bootloading, hoping for your reply, with a practical plan will be better.
Thank you
Karlphy
Hi, Rahul
We know that we should use mergebtle.exe to combine the four cores btbl into one. But the question is: Our projects are using logical address, and we know that before combining the four cores btbl into one, the btbl should use physical address but not logical address. What do you usually do to convert logical address to physical address in the btbl of each single core project? Is there any utilities can do this but I don't know? If so, please tell us, if not, tell us how to deal with this issue. Waiting for your reply.
Thank you
Karlphy
Hi Karlphy,
I would recommend that you look at the MAD utilities that we provide in the MCSDK. This allows for deployment of multiple image multicore applications and provides utilities. This also contains prelink and runtime load utilities for deployment of application that use virtual addresses.
You can find the user guide for the MAD utilities which contains lot of good details on the url below:
http://processors.wiki.ti.com/index.php/MAD_Utils_User_Guide
For example implementation you can take a look at the build for the Image Processing Demonstration in MCSDK.
Hope this helps.
Regards,
Rahul