cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gauss_work
Contributor
Contributor
2,054 Views
Registered: ‎03-06-2016

My custom board failed to boot CPU1 when booting linux in SMP mode

Jump to solution

Hi,All

 

I'm using Petalinux2015.2.

The linux kernel SMP option is default enabled!  From the linux booting log .I Found the CPU1 is not booting.

The log prints:

CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x472998 - 0x4729f0
CPU1: failed to come online
Brought up 1 CPUs
SMP: Total of 1 processors activated (1594.16 BogoMIPS).

Any suggestions are appreciated!

0 Kudos
1 Solution

Accepted Solutions
gauss_work
Contributor
Contributor
1,859 Views
Registered: ‎03-06-2016

Sorry for my delayed response!

It's my mistake. I've used SDK to set up linux by JTAG.So the jtag can only  initialize a single CPU core.

When booting from Flash,all the 2 CPU cores can set up ok!

Thanks anyway!

View solution in original post

0 Kudos
4 Replies
trigger
Voyager
Voyager
1,984 Views
Registered: ‎09-14-2016

Hi @gauss_work,

 

Zynq 7000 series ?

 

If yes try to add that to dts:

 

&intc {
   num_cpus = <2>;
   num_interrupts = <96>;
};

 

cheers,

Trigger

0 Kudos
gauss_work
Contributor
Contributor
1,963 Views
Registered: ‎03-06-2016
hi,@trigger
thanks for your advice,but with no luck,cpu1 can not be set up! I will try a higher edition of petalinux!
0 Kudos
gsatish10
Explorer
Explorer
1,939 Views
Registered: ‎06-03-2015

Hi 

 

SPM init is depend on smp_secondary_init which calls interanlly arch/arm/mach-zynq/platsmp.c file 

there it identifies secondary_init_cpus and provides to Board with set of sequential calls, 

These function calls are completely Platform specfic and it should be up with zynq-linux kernel itself

If not check any patch is missed relate to platsmp.c file or corrspending mechanism

 

Thanks & Regards

Satish G

 

G Satish Kumar
0 Kudos
gauss_work
Contributor
Contributor
1,860 Views
Registered: ‎03-06-2016

Sorry for my delayed response!

It's my mistake. I've used SDK to set up linux by JTAG.So the jtag can only  initialize a single CPU core.

When booting from Flash,all the 2 CPU cores can set up ok!

Thanks anyway!

View solution in original post

0 Kudos