Multi-core CPU Start method on SMP-"zynq7k CPU2 (ARM1) Start method

Source: Internet
Author: User


zynq7k CPU2 (ARM1) Start-up method
zynq7k on the "SEv" command to reset the start CPU2, before sending the SEV command to the CPU2 start address written to the specific address of OCM.

Assume that the address of the DDR used by CPU1 is (0X00100000~0X001FFFFF). The address range used by CPU1 is (0X00200000~0X002FFFFF)

void Wakeuparm (void)
{

#define SEV () __asm__ ("SEv")

#define CPU1STARTADR 0XFFFFFFF0

Print ("Cpu0:writing startaddress for cpu1\n\r");
Xil_out32 (Cpu1startadr, 0x00200000);
DMB (); Waits until write has finished

Print ("cpu0:sending the SEV to wake Up cpu1\n\r");
SEv ();


}


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.