LS1028A / LS1018A: multicore support

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

LS1028A / LS1018A: multicore support

ソリューションへジャンプ
1,162件の閲覧回数
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 解決策
1,157件の閲覧回数
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 返信
1,158件の閲覧回数
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 件の賞賛
返信