RE: i.MX8MN Errors on 5.6-RC7

From: Anson Huang
Date: Sat Mar 28 2020 - 08:07:21 EST


Hi, Adam

> Subject: i.MX8MN Errors on 5.6-RC7
>
> I am getting a few errors on the i.MX8MN:
>
> [ 0.000368] Failed to get clock for /timer@306a0000
> [ 0.000380] Failed to initialize '/timer@306a0000': -22
> [ 7.203447] caam 30900000.caam: Failed to get clk 'ipg': -2
> [ 7.334741] caam 30900000.caam: Failed to request all necessary clocks
> [ 7.438651] caam: probe of 30900000.caam failed with error -2
> [ 7.854193] imx-cpufreq-dt: probe of imx-cpufreq-dt failed with error -2
>
> I was curious to know if anyone else is seeing similar errors. I already
> submitted a proposed fix for a DMA timeout (not shown here) which
> matched work already done on i.MX8MQ and i.MX8MM.
>
> I am not seeing huge differences between 8MM and 8MN in the nodes which
> address the timer, caam or imx-cpufreq-dt.
>
> If anyone has any suggestions, I'd love to try them.

Which board did you try? I just run it on i.MX8MN-EVK board, no such failure:

root@imx8mnevk:~# uname -a
Linux imx8mnevk 5.6.0-rc7 #621 SMP PREEMPT Sat Mar 28 19:56:30 CST 2020 aarch64 aarch64 aarch64 GNU/Linux
root@imx8mnevk:~# dmesg | grep fail
[ 0.719353] imx-sdma 302b0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 0.941304] calling net_failover_init+0x0/0x8 @ 1
[ 0.941310] initcall net_failover_init+0x0/0x8 returned 0 after 0 usecs
[ 1.135885] calling failover_init+0x0/0x24 @ 1
[ 1.135897] initcall failover_init+0x0/0x24 returned 0 after 6 usecs
root@imx8mnevk:~#

Thanks,
Anson