LS1028A / LS1018A: multicore support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1028A / LS1018A: multicore support

Jump to solution
530 Views
mbourhis
Contributor II

The difference between LS1028A and LS1018A is that LS1028A is a multi-core SoC and LS1018A is not.

Is the multi-core support fully operational on LS1028A?

Which kind of setup specifies the number of core to use?

Is there some source code in some repository (kernel repository?) that enables or initializes the one or the two CPU cores?

Thanks for your help.

Regards,

0 Kudos
1 Solution
525 Views
yipingwang
NXP TechSupport
NXP TechSupport

Multi-core supports fully operational on LS1028A.

In order to specify  the number of core to use, you could use bootargs "maxcpus“, modify Linux Kernel configuration CONFIG_NR_CPUS or modify the dts file only defining CPU.

For example, you could specify "maxcpus=1" in the bootargs to only run Linux on core0.

Kernel command line: root=/dev/ram rw console=ttyS0,115200 maxcpus=1

Initializing one or the two CPU cores, you could refer to the following.

smp_setup_processor_id in arch/arm64/kernel/setup.c

__cpu_up in arch/arm64/kernel/smp.c

smp_init in kernel/smp.c

View solution in original post

0 Kudos
1 Reply
526 Views
yipingwang
NXP TechSupport
NXP TechSupport

Multi-core supports fully operational on LS1028A.

In order to specify  the number of core to use, you could use bootargs "maxcpus“, modify Linux Kernel configuration CONFIG_NR_CPUS or modify the dts file only defining CPU.

For example, you could specify "maxcpus=1" in the bootargs to only run Linux on core0.

Kernel command line: root=/dev/ram rw console=ttyS0,115200 maxcpus=1

Initializing one or the two CPU cores, you could refer to the following.

smp_setup_processor_id in arch/arm64/kernel/setup.c

__cpu_up in arch/arm64/kernel/smp.c

smp_init in kernel/smp.c

0 Kudos