CPU1: failed to come online

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

CPU1: failed to come online

1,826件の閲覧回数
raymondman
Contributor II

The custom board is using iMX8M Mini processor. We upgrade from Hardknott to Kirkstone and use mender. But after flashing the image, we have two problems.

1) the RAM size has been set to 1GB in imx8mm_evk.h. The devicetree also has the following setting.

memory@40000000 {
device_type = "memory";
 reg = <0x0 0x40000000 0 0x40000000>;
};

But U-boot shows it as 2GiB as follow.

U-Boot 2022.04-lf_v2022.04+g1c881f4da8 (Jun 07 2022 - 05:16:02 +0000)

CPU: i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 58C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM: 2 GiB

2) The log also shows that other 3 CPU cannot come online.

[ 0.002781] smp: Bringing up secondary CPUs ...
[ 5.091634] CPU1: failed to come online
[ 5.091642] CPU1: failed in unknown state : 0x0
[ 10.215331] CPU2: failed to come online
[ 10.215338] CPU2: failed in unknown state : 0x0
[ 15.339028] CPU3: failed to come online
[ 15.339035] CPU3: failed in unknown state : 0x0
[ 15.339079] smp: Brought up 1 node, 1 CPU

In the Hardknott version, all can work perfectly. Does anyone have any advice?

Many thanks!

0 件の賞賛
返信
2 返答(返信)

787件の閲覧回数
dpog
Contributor IV

@raymondman, did you find a solution to your problem? I'm also having the problem with the 1GB/2GB in U-Boot, I suspect optee to cause the problem at my end. I got my kernel running by adding a kernel-boot-param  "mem=1024MB" to circumvent this, perhaps this might help you too.

0 件の賞賛
返信

1,734件の閲覧回数
Chenyi_Luo
Contributor II

Hello,

I use iMX8QXP, imx-yocto-L5.4.24_2.1.0, also meet the problem.

[ 0.047913] smp: Bringing up secondary CPUs ...
[ 5.092627] CPU1: failed to come online
[ 5.092636] CPU1: failed in unknown state : 0x0
[ 10.217413] CPU2: failed to come online
[ 10.217422] CPU2: failed in unknown state : 0x0
[ 15.342180] CPU3: failed to come online
[ 15.342189] CPU3: failed in unknown state : 0x0
[ 15.342237] smp: Brought up 1 node, 1 CPU
[ 15.342243] SMP: Total of 1 processors activated.

Could you tell me how you solved the problem?

Thank you.

0 件の賞賛
返信