Valid i.MX6Q secondary core when reboot is OK?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Valid i.MX6Q secondary core when reboot is OK?

410件の閲覧回数
satoshishimoda
Senior Contributor I

Hi community,

I have a question about i.MX6Q system reset.

In fact, our customer faced a system halt problem when rebooting.

However, they found the condition when the problem is occurred.

The problem is occurred if i.MX6Q secondary core is valid when reboot, and not occurred in only primary core is valid when reboot.

[Question]

Is this setting (i.MX6Q secondary core is valid when reboot) is allowable?

Or i.MX6Q should be rebooted with only primary core?

Best Regards,

Satoshi Shimoda

ラベル(2)
タグ(1)
0 件の賞賛
1 返信

348件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

If you mentioned is OS.

Here is the linux SMP flow. At the begining, the CPU0 is using only.

init/main.c:start_kernel()

     |

    \|/

init/main.c:rest_init

{

……

kernel_thread(kernel_init, NULL, CLONES_FS | CLONE_SIGHAND)

……

}

     |

    \|/

kernel_init    

     |

    \|/

/* called by boot processor to activate the rest */

init/main.c: smp_init()

{

……

for_each_present_cpu(cpu) {

           if (num_onlien_cpus() >= setup_max_cpus)

                break;

           if ( !cpu_online(cpu))     

                cpu_up(cpu);

}

/* Any cleanup work */

printk(KERN_INFO "Brought up %ld CPUs\n", (long)num_online_cpus());

smp_cpu_done(setup_max_cpus);

……

}

0 件の賞賛