20% power consumption increase in Yocto 5.0(6.6.52-2.2.0) on NXP i.MX 8M Plus EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

20% power consumption increase in Yocto 5.0(6.6.52-2.2.0) on NXP i.MX 8M Plus EVK

Jump to solution
1,676 Views
richard_hu
Senior Contributor I

Dear sir,

We have observed a 20% increase in power consumption during idle mode when comparing Yocto 4.0 (kernel 5.15.71-2.2.2) to Yocto 5.0 (kernel 6.6.52-2.2.0) on the NXP i.MX 8M Plus EVK.

Specifically, the measured power consumption during idle mode is as follows:

 Yocto 4.0(kernel 5.15.71-2.2.2)Yocto 5.0(kernel 5.15.71-2.2.2)
Idle, Power consumption
(measured on power-supply)
5V, 413 mA5V, 510 mA

 

Both tests were conducted using the prebuilt images downloaded from the NXP official website without any modifications:

  • LF_v5.15.71-2.2.2_images_IMX8MPEVK.zip
  • LF_v6.6.52-2.2.0_images_IMX8MPEVK.zip


This increase in power consumption might lead to a temperature difference of approximately 6-7 degrees Celsius on our custom board.

We have noted that the CPU usage and frequency remain similar between the two versions.

Could you please assist us in identifying the cause of this power consumption difference? Your insights would be greatly appreciated.

 

BR,

Richard

Labels (1)
1 Solution
1,276 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @richard_hu :

 

This power consumption increase is resulted from the new drivers were introduced in the new version: --PCIe / HDMI.   If I disable the two device in dtb file,  the power consumption will be close to that in BSP 5.4.70.

 

Regards

Daniel

View solution in original post

0 Kudos
Reply
10 Replies
1,668 Views
richard_hu
Senior Contributor I

Sorry. There is typo in kernel version in the table.
It should be corrected as below:

 

 Yocto 4.0(kernel 5.15.71-2.2.2)Yocto 5.0(kernel 6.6.52-2.2.0)
Idle, Power consumption
(measured on power-supply)
5V, 413 mA5V, 510 mA
0 Kudos
Reply
1,578 Views
danielchen
NXP TechSupport
NXP TechSupport

HI @richard_hu 

 

could you please send me the scripts you are using in version 6.6.52 to me for reproduce the issue?

 

Regards

Daniel

0 Kudos
Reply
1,573 Views
richard_hu
Senior Contributor I

@danielchen 

Thanks for the reply.
It doesn't need additional script.
We observe this phenomenon when the system is in idle.
Just need to boot the board with linux 6.6.52 and check the output power from power supply.

BR,

Richard

0 Kudos
Reply
1,538 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @richard_hu :

Please refer to the result on my side.

BSP 5.4.70:

 

danielchen_3-1740224673840.png

 BSP 6.6.52

danielchen_4-1740224765352.png

Please let me know the detailed steps to reproduce this issue .

Regards

Daniel

0 Kudos
Reply
1,489 Views
richard_hu
Senior Contributor I

@danielchen

Thank you for your great assistance.

I have summarized the PMIC output measurements for average power consumption and have prepared a comparison table below:

LocationYocto 4.0 (5.4) Avg Power (mW)Yocto 5.0 (6.6) Avg Power (mW)Difference (mW)Change
A vdd_arm9.3624.1914.83Increased
B nvcc_dram_1v131.3973.7842.39Increased
C vsys_5v616.061791.751175.69Increased
D vdd_soc196.951044.86847.91Increased
E lpdd4_vddq2.340.75-1.59Reduced
lpdd4_vdd25.541.78-3.76Reduced
nvcc_sd22.312.310.00-
vdd_lvds_1v80.020.020.00-
vdd_hdmi_1v80.0012.6112.61Increased
I nvcc_snvs_1v80.200.40.20Increased
vdd_earc_1v80.000.010.01Increased
vdd_usb_1v80.323.423.10Increased
vdd_pci_1v80.0080.6880.68Increased
vdd_mipi_1v80.140.150.01Increased
O vdd_pll_ana_1v815.7215.57-0.15Reduced
nvcc_sd11.741.71-0.03Reduced
lpdd4_vdd13.032.96-0.07Reduced
cpu_vdd_1v84.020.82-3.20Reduced
bb_vdd_1v841.2343.822.59Increased
vdd_pll_ana_0v82.343.090.75Increased
vdd_pci_0v82.6051.749.10Increased
vdd_mipi_0v80.240.630.39Increased
vdd_hdmi_0v81.1937.5836.39Increased
vdd_usb_3v313.1781.4868.31Increased
vdd_usb_0v82.5520.4417.89Increased
vdd_sd1_3v3-1.140.681.82Increased
bb_vdd_3v3215.5345.06-170.47Reduced
**Totals**  **2358.42****Increased**
   **-179.27****Reduced**
**Net Difference**    


It appears that vsys_5v and vdd_soc have increased by approximately 2022 mW in the Linux 6.6 kernel.

Could you provide any insights into the possible causes of this increase?

Additionally, could you measure the total power consumption for the entire NXP i.MX 8M Plus EVK using the power adapter output?

Thank you for your attention to this matter.


BR,

Richard

1,415 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @richard_hu 

The power consumption is highly dependent on the application.

Since there is a big change between the two BSP versions.     the device tree are also different.  It is hard to make a simple comparison.  Please refer to the total power consumption I tested on BSP 6.6.52,  idle.

danielchen_1-1740713969062.png

I will update if I have new findings.

 

Regards

Daniel

 

 

 

 

 

 

Regards

Daniel

 

 

 

0 Kudos
Reply
1,321 Views
richard_hu
Senior Contributor I

@danielchen 

Thanks for your help.

It looks the latest measurement, the vdd_soc values have returned to a level similar to that of Linux 5.4.7. However, the current vsys_5v value (1004mW) remains higher than the baseline measurement under Linux 5.4.7 (616mW).

Looking forward to your analysis, and thank you for your expertise in resolving this.

BR,

Richard

0 Kudos
Reply
1,277 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @richard_hu :

 

This power consumption increase is resulted from the new drivers were introduced in the new version: --PCIe / HDMI.   If I disable the two device in dtb file,  the power consumption will be close to that in BSP 5.4.70.

 

Regards

Daniel

0 Kudos
Reply
1,119 Views
richard_hu
Senior Contributor I

@danielchen
Thanks for the excellent support and thoughtful input

We can confirm that the issue is attributable to the PCIe interface. Below are the key findings from our analysis:

Test Results:

  1. PCIe Disabled:
    When PCIe is disabled, the power consumption difference between Linux kernel versions 5.15.71-2.2.2 and 6.6.52-2.2.0 is minimal (only 15 mA at 12V).

  2. NVMe SSD Read/Write Testing:
    Under active workloads (NVMe SSD read/write operations), the power consumption remains consistent across both kernel versions when PCIe is enabled.

Hypothesized Cause:

As you suggested, this discrepancy may stem from the migration to the mainline kernel-based PCIe driver. Our investigation indicates that the issue arises specifically when:

  • Certain PCIe-related IP blocks or clock gating mechanisms remain active, even in the absence of a connected device.
 

This suggests that the power consumption increase is tied to residual activity in the PCIe subsystem under these conditions.

BR,

Richard

1,633 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Richard:

Thanks for letting us know that,  I will setup an environment to test it on my side, will keep you updated. 

 

Regards

Daniel

0 Kudos
Reply