no serial console on IMX8MQ after kernel upgrade to 6.1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

no serial console on IMX8MQ after kernel upgrade to 6.1

跳至解决方案
482 次查看
fourtrax1
Contributor II

Hi,

I updated the mainline kernel on a custom board with an imx8mq from 6.0.19 to 6.1.1, after which I stopped getting any output on the serial console (bootloader works fine, just the kernel version changed).

Connecting via JTAG allowed me to read the kernel logs. There are some differences from the previous kernel:

 

[ 0.087445] platform soc@0: Fixed dependency cycle(s) with /soc@0/bus@30000000/efuse@30350000/soc-uid@4
[ 0.098045] platform 30330000.pinctrl: Fixed dependency cycle(s) with /soc@0/bus@30000000/pinctrl@30330000/pinctrl_gpiosgrp
[ 0.099852] platform 30350000.efuse: Fixed dependency cycle(s) with /soc@0/bus@30000000/clock-controller@30380000
[ 0.102895] platform 30350000.efuse: Fixed dependency cycle(s) with /soc@0/bus@30000000/clock-controller@30380000
[ 0.104614] platform 30380000.clock-controller: Fixed dependency cycle(s) with /soc@0/bus@30000000/gpc@303a0000
[ 0.106311] platform 30380000.clock-controller: Fixed dependency cycle(s) with /soc@0/bus@30000000/gpc@303a0000
[ 0.107825] platform 303a0000.gpc: Fixed dependency cycle(s) with /soc@0/interrupt-controller@38800000

Any ideas as to what might have caused the dependency cycle in the 6.1.1 kernel?

There is also this message now:

[ 14.052893] platform regulator-vdd-arm: deferred probe pending
[ 14.052911] platform clock-pcie1-refclk-gate: deferred probe pending
[ 14.052927] platform 38200000.usb: deferred probe pending
[ 14.052942] platform gpio-keys: deferred probe pending

On the old kernel, the serial console is initialised (this is missing from the log on the new kernel):

 

0.225009] SoC: i.MX8MQ revision 2.1
[ 0.229819] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 16, base_baud = 1562500) is a IMX
[ 1.030218] printk: console [ttymxc2] enabled
[ 1.035840] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 17, base_baud = 1562500) is a IMX
[ 1.045868] 30a60000.serial: ttymxc3 at MMIO 0x30a60000 (irq = 18, base_baud = 1562500) is a IMX

Any hints and ideas on how to solve this problem would be appreciated, thanks in advance.

0 项奖励
回复
1 解答
434 次查看
fourtrax1
Contributor II

ok has been resolved, CONFIG_ARCH_NXP was missing

在原帖中查看解决方案

2 回复数
430 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Good!

0 项奖励
回复
435 次查看
fourtrax1
Contributor II

ok has been resolved, CONFIG_ARCH_NXP was missing