Hi Dean Chu,
Please apply the following patch, I have verified on imx6dq sd board.
Patch:
--- a/sdk/drivers/cpu_utility/test/multicore_test.c
+++ b/sdk/drivers/cpu_utility/test/multicore_test.c
@@ -128,6 +128,7 @@ void multicore_entry(void * arg)
else
{
printf("secondary main cpu: %d\n", cpu_id);
+ arm_set_interrupt_state(true);
if (cpu_id == (cpuCount - 1))
{
Test Result on imx6dq:
**************************************************************************
Platform SDK (1.1) for MX6DQ TO1.2 Smart Device (SD) rev. C
Build: Dec 12 2013, 05:10:10
Copyright (c) 2012-2013 Freescale Semiconductor, Inc. All rights reserved.
**************************************************************************
========== Clock frequencies ===========
CPU: 792000 kHz
DDR: 528000 kHz
IPG: 66000 kHz
Debug UART: 80000000 Hz
========================================
SDK Unit Tests
--------------
e - epit test
g - gpt test
i - i2c test
w - pwm test
s - sdma test
r - snvs rtc test
v - snvs srtc test
t - tempmon test
u - uart test
d - usdhc test
c - gic test
m - microseconds timer test
wa - watchdog test
o - ocotp test
wp - cpu workpoint test
h - hdmi test
ip - ipu test
mc - multicore test
sa - sata test
a - audio test
ca - camera test
us - usb test
n - spi nor test
pc - pcie test
en - enet test
k - keypad test
x - accelerometer test
q - Exit menu.
Select test to run:
mc
Running the GIC Multicore Test
Starting and sending SGIs to secondary CPUs for "hello world"
secondary main cpu: 1
secondary main cpu: 2
secondary main cpu: 3
Hello from CPU 0
Hello from CPU 1
Hello from CPU 2
Hello from CPU 3
End of test