We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome,
Firefox,
Internet Explorer 11,
Safari. Thank you!

AR# 46911

EDK 14.1 Zynq-7000 - How do I create a stub for the second CPU core?

Description

Solution

The attached tcl script (stub.tcl) creates a stub for the second CPU core. The second CPU core executes a wfe (wait for event) instruction and waits for the first CPU core to wake up.

If the first processor wants to wake up the second core, it just needs to write the desired pc value at location 0xFFFFFFF0 and send a sev (send event) instruction.

Without this, Linux might not boot, since the boot rom has a bug in jtag mode for rev1 of the silicon. Therefore, this step is needed when Linux is being loaded directly into RAM without booting from flash.