iMX6 Hang during boot without UART cable connected

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

iMX6 Hang during boot without UART cable connected

2,154 次查看
kal
Contributor II

Is there a known issue with an iMX6 boot process hanging due to the UART? I have an intermittent problem on some boards where they only boot part-way until a UART cable is physically plugged in.

 

They will spit out some Rx FIFO overrun errors for a while and then hang, e.g. here the bootup hung until a UART cable was connected 12 minutes later, at which point udevd etc started up:

 

[ 2.825049] imx-uart 21e8000.serial: Rx FIFO overrun
[ 3.584013] imx-uart 21e8000.serial: Rx FIFO overrun
[ 3.599746] imx-uart 21e8000.serial: Rx FIFO overrun
[ 3.612704] imx-uart 21e8000.serial: Rx FIFO overrun
[ 3.629967] imx-uart 21e8000.serial: Rx FIFO overrun
[ 3.652768] imx-uart 21e8000.serial: Rx FIFO overrun
[ 746.789572] udevd[156]: starting version 182
[ 746.795362] imx-uart 21e8000.serial: Rx FIFO overrun

 

I've attached a full boot dmesg, where one can see the 12 minute pause before a UART cable was physically connected. After that udevd starts, networking starts etc.

 

Many thanks

Original Attachment has been moved to: uarts.txt.zip

标签 (1)
0 项奖励
回复
2 回复数

1,916 次查看
erdani80
Contributor III

Probably you need to place a pull-up resistor on the RX line, if that line has a low level the uart receiver may consider it as a character that needs to be received and this will overflow.

When a cable is connected to another device the the RX will have a high level when no data is available.

0 项奖励
回复

1,916 次查看
igorpadykov
NXP Employee
NXP Employee

Hi kal

one can check if uart rx line is floating or noisy, as this may cause

its overrun errors.

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

0 项奖励
回复