ARM Cortex A9 Core-'1' Execution Sequence


 
Thread Tools Search this Thread
Operating Systems Linux ARM Cortex A9 Core-'1' Execution Sequence
# 1  
Old 09-22-2011
ARM Cortex A9 Core-'1' Execution Sequence

Hi,

Iam using OMAP4430 panda board for my project development. It has ARM Cortex A9 MP Core (CORE-'0' & CORE-'1') and iam using linux-2.6.38. Iam just trying to understand the booting sequence for CORE-1.

As per my understanding the CORE-1 is triggered from wakeup_secondary(void) in arch/arm/mach-omap2/omap-smp.c by issuing "SEV" command
Code:
static void __init wakeup_secondary(void)
{
       
        omap_auxcoreboot_addr(virt_to_phys(omap_secondary_startup));
        smp_wmb();

        /*
         * Send a 'sev' to wake the secondary core from WFE.
         * Drain the outstanding writes to memory
         */
        dsb_sev();
        mb();
}

Kindly clarify my below queries,

1) Whether omap_auxcoreboot_addr() and omap_secondary_startup() is executed by CORE-'0' or CORE-'1'.
2) How int __cpuinit __cpu_up(unsigned int cpu) function is called (kernel/smp.c)
3) What's the purpose of __cpu_up() function.

Regards,
Raj

Last edited by Scott; 09-22-2011 at 05:29 AM.. Reason: Code tags, please...
# 2  
Old 09-22-2011
Hi,

omap_secondary_startup is the start address for CORE-1, after SEV is triggered from CORE-0. This address is programmed in AUXCOREBOOT1 register using omap_auxcoreboot_addr() function.

Sorry for your 2nd and 3rd question.

Regards,
karthi
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script execution in sequence manner

Hi guys, I am building a parent script which will call three scripts internally and i would like to run them in sequence manner, i.e. once previous script is successful then only i need to proceed with next else need to fail. I am running in bash mode and flavour is sun main_script.sh sh... (8 Replies)
Discussion started by: Master_Mind
8 Replies

2. High Performance Computing

IBM Hardware: Test speed of an execution core reliably.

Hey Folks, Doing simple floating point or integer arithmetic is limited since if another execution core is not busy, the system will (presumably?) assign CPU resources to where they are needed so I could be getting the performance of 2 or more cores theoretically? Any good reliable way to... (2 Replies)
Discussion started by: Devyn
2 Replies

3. Shell Programming and Scripting

find common entries and match the number with long sequence and cut that sequence in output

Hi all, I have a file like this ID 3BP5L_HUMAN Reviewed; 393 AA. AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3; DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot. DT 05-JUL-2004, sequence version 1. DT 05-SEP-2012, entry version 71. FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies

4. Programming

gcc for arm process

hi, correct me if am wrong, as per gcc doc gcc is able to compile code for different target systems such as ARM, ARC etc. I tried for compiling ARM but failed to do so. getting below error: gcc -mcpu=arm920t -c avg.c -o agv_arm `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.... (6 Replies)
Discussion started by: zing_foru
6 Replies

5. Shell Programming and Scripting

Expect Issue Serial Forground Execution vs Concurrent Background Execution

I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test. The expect script is run... (2 Replies)
Discussion started by: twk
2 Replies

6. Programming

mysterious execution failure and core dump generation

Posting again, as previous query had a typo. ======================================================= Hi, I am running a c++ program in unix AIX machine. There are two functions in a file which are being used by a third function in the same file. the two functions being used are of the same type.... (1 Reply)
Discussion started by: suresh_kb211
1 Replies

7. Programming

execution failure and core dump generation

Hi, I am running a c++ program in unix sun OS 5.9. There are two functions in a file which are being used by a third function in the same file. the two functions being used are of the same type. one function is returning a success and the control is redeemed by the calling function. for teh second... (5 Replies)
Discussion started by: suresh_kb211
5 Replies

8. Programming

execution failure and core dump generation

Hi, I am running a c++ program in unix sun OS 5.9. There are two functions in a file which are being used by a third function in the same file. the two functions being used are of the same type. one function is returning a success and the control is redeemed by the calling function. for teh second... (2 Replies)
Discussion started by: suresh_kb211
2 Replies

9. UNIX for Dummies Questions & Answers

difference between Dual-core & Core-to-duo

Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies
Login or Register to Ask a Question