i.MX8M Mini gets hot with Android11 2.6.0 - TMU issue

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

i.MX8M Mini gets hot with Android11 2.6.0 - TMU issue

Jump to solution
745 Views
OliW
Contributor III

Hello community,

I use a custom hardware design with i.MX8M Mini and 4GB RAM.

We have updated from Android11 2.0.0 to Android11 2.6.0 version and discovered sporadic GPU crashes with the 2.6.0 version. 2.0.0 runs stable.

Further investigation showed, that with 2.6.0 the temperature measured with the CPU thermal zone (TMU) gets much higher as with the 2.0.0 version when running a stress test on the CPU. CPU scales up to 1.8GHz.
2.0.0 stays around 60 degrees, 2.6.0 goes up and above 85 degrees. GPU gets throttled by the driver and seldomly crashes.
Temperature is read out through the "/sys/class/thermal/thermal_zone0/temp" file.

As wanted to check the temperature in bootloader I discovered, that the 2.6.0 version does not activate the IMX_TMU driver in u-boot for the i.MX8MM. The 2.0.0 did this.
After activating the option in bootloader of the 2.6.0 version, the temperature on the board stays around 60 degress when running a stress test under Android. Even when the CPU scales up to 1.8GHz.
I have observed no GPU crashes up to now, but this is still under testing.

So my questions:

- Why is the TMU driver for the u-boot disabled in 2.6.0?
- Does anybody have an explanation why the TMU driver in bootloader seems to solve temperature issues when running Android? Is the sensor simply measuring wrong values because of a missing calibration? But GPU crashes indicate, that the 85 degrees are really reached.

BTW:
I have tried the 2.6.0 prebuild demo images on a EVK i.MX8M Mini board with mipi display and discovered that no CPU frequency governor gets installed and CPU stays at 1.2GHz even when running a stress test.
With this low frequency the CPU does not get so hot as on our custom board.
Is this intended behaviour on the EVK?

0 Kudos
1 Solution
717 Views
OliW
Contributor III

Hi Sanket,

thank you for the reply.

In the prebuilt image for EVK the driver is included.

The reason why the TMU driver in u-boot for our custom board is missing in u-boot, is related to a change of the name of the config option from "CONFIG_NXP_TMU" to "CONFIG_IMX_TMU". When doing the merge of our changes from 2.0.0 version we made the fault to adopt the old name.

Fixing this "merge error" activates the driver as it is standard for EVK also in 2.6.0 version.

Regards OliW

View solution in original post

0 Kudos
2 Replies
718 Views
OliW
Contributor III

Hi Sanket,

thank you for the reply.

In the prebuilt image for EVK the driver is included.

The reason why the TMU driver in u-boot for our custom board is missing in u-boot, is related to a change of the name of the config option from "CONFIG_NXP_TMU" to "CONFIG_IMX_TMU". When doing the merge of our changes from 2.0.0 version we made the fault to adopt the old name.

Fixing this "merge error" activates the driver as it is standard for EVK also in 2.6.0 version.

Regards OliW

0 Kudos
721 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @OliW 

I hope you are doing well.

When CPU frequency governor is installed, then TMU driver should be enabled in u-boot, this driver will help system to report accurate temperature value.

If we talk about behavior of EVK, then yes when CPU frequency governor is not enabled at that time CPU utilization will less compare to the behavior observed on your custom board. Due to which temperature level remains stable. To verify the same you can disable the CPU frequency governor on your custom board as check the exact performance.

Is TMU driver is enabled in prebuilt images of V 2.6.0?

Thanks & Regards.

Sanket Parekh 

0 Kudos