i.MX8M Mini cpufreq error

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX8M Mini cpufreq error

Jump to solution
494 Views
Senior Contributor I

Customer i.MX8M Mini board shows serveral cpufreq error like below then hang.

What may cause this error?

[ 12.363180] cpu cpu0: failed to scale arm_reg up: -11
[ 12.368264] cpufreq: __target_index: Failed to change cpu frequency: -11

Labels (1)
0 Kudos
1 Solution
243 Views
NXP TechSupport
NXP TechSupport

Hi m.c.

from log actually this is industrial i.MX8MMQL (max. operating frequency 1.6GHz),
so one can try to remove in dts:
fsl-imx8mm.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 
&A53_0 {
    operating-points = <
        /* kHz    uV */
        1800000 1000000

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
204 Views
Contributor I

Hi Igor,

We have the same problem, but the point is our CPU is a commercial i.MX8MMQ rev1.0 1800 MHz

Do you have any idea what is the problem?

 

Thanks

David

0 Kudos
244 Views
NXP TechSupport
NXP TechSupport

Hi m.c.

from log actually this is industrial i.MX8MMQL (max. operating frequency 1.6GHz),
so one can try to remove in dts:
fsl-imx8mm.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 
&A53_0 {
    operating-points = <
        /* kHz    uV */
        1800000 1000000

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
243 Views
Contributor II

Hi Igor,

We have the same problem, but the point is our CPU is a commercial i.MX8MMD, which the U-boot log shows the max CPU-freq is 1.8GHz:

I ran a simple test during weekend and when I returned, faced this error:

The test which I ran during weekend was:

running a script, which executes the gpu-viv tutorials (/opt/viv_samples/vdk) one after each other and repeats the execution. After 3 days, I faced the below situation:

- black screen

- unreachable serial console

- continuously printing the below error on the serial console:

cpu cpu0: failed to scale arm_reg up: -11

cpufreq: __target_index: Failed to change cpu frequency: -11

This is the log of our U-boot. We also use the NXP-BSP with kernel 4.14.98

U-Boot 2018.03-00009-gfb8fa85 (Feb 05 2020 - 17:17:16 +0100)

CPU: Freescale i.MX8MMD rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 50C
Reset cause: POR
Model: FSL i.MX8MM EVK board
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

Failed (-5)
In: serial
Out: serial
Err: serial

BuildInfo:
- ATF 1cb68fa
- U-Boot 2018.03-00009-gfb8fa85

Card did not respond to voltage select!
Detect USB boot. Will enter fastboot mode!
Net:
Error: ethernet@30be0000 address not set.
No ethernet found.
Fastboot: Normal
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0

Do you have any idea what is the problem?

Thanks

Reyhaneh

0 Kudos