UPGRADE YOUR BROWSER

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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant gauss_work
Participant
852 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
Participant gauss_work
Participant
657 Views
Registered: ‎03-06-2016

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

Jump to solution

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!

0 Kudos
4 Replies
Explorer
Explorer
782 Views
Registered: ‎09-14-2016

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

Jump to solution

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
Participant gauss_work
Participant
761 Views
Registered: ‎03-06-2016

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

Jump to solution
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
Explorer
Explorer
737 Views
Registered: ‎06-03-2015

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

Jump to solution

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
Participant gauss_work
Participant
658 Views
Registered: ‎03-06-2016

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

Jump to solution

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!

0 Kudos