LS1028A / LS1018A: multicore support

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1028A / LS1018A: multicore support

跳至解决方案
540 次查看
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 项奖励
1 解答
535 次查看
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 项奖励
1 回复
536 次查看
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 项奖励