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!