Forum Discussion
Hi,
I apologize, but Intel doesn't has the documentation regarding usage of Core 0 for baremetal and Core 1 for linux.
I would really suggest you check the first link on my previous reply.
https://code-time.com/baremetal.html
There, User Guide are available to guide you through and Read Me.txt that is included with important details.
You could try and sent some questions from the link, About Us > Contact Us > Email Us > Info.
- EBERLAZARE_I_Intel7 years ago
Regular Contributor
Hi,
Have you try the examples in the link i provided?
- AJama47 years ago
Occasional Contributor
Hello,
I have tried the examples and it works. The functions such as TSKsetCore and TSKcreate, which are used to set the core and assign the program snippet to run on the desired core, has its source code hidden, as obvioulsy, it is not open source I guess. These functions are the ones most interesting for me. As I can roughly guess, that here, the core 1 is assigned to run a specific block of code. Now, I have a simple question---As I dont want to use the SMP RTOS version just to assign the core 1 to do a specific task;--- I need to just know the following;
"How can I write a short sequence of instructions for Core#0 in bare-metal to inform core#1 of where to start executing the program?? "
If I know this answer, then I am through hopefully.
P.S: I have run two different bare-metal programs on two corresponding ARM cores in Cyclone V (Cortex-A9) in DS5 using JTAG line. The SDRAM is shared between the two cores as is evident from the cache settings which is set to "shared" by default. Core 1 is held in reset after a system reset is issued (Cold or warm). After reset, Core 0 is allowed to execute instructions. I know how to release the core 1 from reset and it works perfectly. In DS5 using JTAG chain I could easily run two different programs on Core#0 & Core#1, but my question pertains to the bare-metal program running from SD card.
- EBERLAZARE_I_Intel7 years ago
Regular Contributor
Hi,
Based on my understanding, you would probably need a start up sequence for the Core#1 before releasing reset.
- AJama47 years ago
Occasional Contributor
Hi,
Obviously, but what should I do in the start-up sequence to inform Core#1 of where to start the program? Could you please give me hint, probably a short textual instruction of what should be done sequentially. There is no help available in the TR manual about this topic specifically nor in the forum.