[solved] i.MX6Q has only two cores???

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

[solved] i.MX6Q has only two cores???

ソリューションへジャンプ
1,289件の閲覧回数
steffendoster
Contributor IV

Hi again,

I noticed, that my Linux-Installation only recognizes two cpu-cores of the installed i.MX6Q, but I don't know why

Here is the configuration in my Device-Tree (copied from FSL SabreSD)

[CODE]

cpus {
#address-cells = <1>;
#size-cells = <0>;

cpu@0 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <0>;
next-level-cache = <&L2>;
operating-points = <
/* kHz    uV */
1200000 1275000
996000  1250000
852000  1250000
792000  1150000
396000  975000
>;
fsl,soc-operating-points = <
/* ARM kHz  SOC-PU uV */
1200000 1275000
996000 1250000
852000 1250000
792000 1175000
396000 1175000
>;
clock-latency = ; /* two CLK32 periods */
clocks = <&clks IMX6QDL_CLK_ARM>,
<&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
<&clks IMX6QDL_CLK_STEP>,
<&clks IMX6QDL_CLK_PLL1_SW>,
<&clks IMX6QDL_CLK_PLL1_SYS>;
clock-names = "arm", "pll2_pfd2_396m", "step",
       "pll1_sw", "pll1_sys";
arm-supply = <&reg_arm>;
pu-supply = <&reg_pu>;
soc-supply = <&reg_soc>;
};

cpu@1 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = ;
next-level-cache = <&L2>;
};

cpu@2 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = ;
next-level-cache = <&L2>;
};

cpu@3 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = ;
next-level-cache = <&L2>;
};
};  [/CODE]

Why does Linux see only two cores?

ラベル(2)
1 解決策
927件の閲覧回数
steffendoster
Contributor IV

Well, I'm very sorry to say that, but it was a hardware-failure. The Voltage supply was configured for a i.MX6D. By this way, two of the Cores weren't able to start.

I fixed it, and now we have the foll Quad-Core Performance.

Again, sorry for that.

元の投稿で解決策を見る

6 返答(返信)
928件の閲覧回数
steffendoster
Contributor IV

Well, I'm very sorry to say that, but it was a hardware-failure. The Voltage supply was configured for a i.MX6D. By this way, two of the Cores weren't able to start.

I fixed it, and now we have the foll Quad-Core Performance.

Again, sorry for that.

927件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello steffen,

I'm glad you found the root cause! Thank you for updating this thread so it may help other community users!

0 件の賞賛
返信
927件の閲覧回数
sinanakman
Senior Contributor III

Hi Steffen

Is it possible that you might have set the number

of CPUs to only 2 in while configuring the kernel.

You might want to verify that CONFIG_NR_CPUS is 4.

Hope this helps

Sinan Akman

0 件の賞賛
返信
927件の閲覧回数
steffendoster
Contributor IV

No, sorry, is set to 4.

I took the imx_v6_v7_defconfig as template.

0 件の賞賛
返信
927件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Steffen,

It is weird that you’re not seeing all four cores if these are set on the kernel configuration and the device tree. Which machine configuration did you use in Yocto and what kernel version are you using?  Perhaps you can attach the defconfig file as well.

0 件の賞賛
返信
927件の閲覧回数
steffendoster
Contributor IV

I don't use Yocto. I'm currently using Debian 8 with a self-compiled 3.19 Kernel.

My Kernelconfig is attached.

0 件の賞賛
返信