"of_serial: probe of 21c0500.serial failed with error -22" in ls1021a

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

"of_serial: probe of 21c0500.serial failed with error -22" in ls1021a

1,389 次查看
2838219522
Contributor III

I tried to boot from bank0 with LPUART0 as console in ls1021atwr demo board.

So I choose rcw_1000_lpuart.bin and u-boot-lpuart-2016.09+fslgit-r0.bin,flash them to norflash bank0.

It works fine,but I found something wrong with uart0 driver as below:

Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
of_serial: probe of 21c0500.serial failed with error -22
of_serial: probe of 21c0600.serial failed with error -22
2950000.serial: ttyLP0 at MMIO 0x2950000 (irq = 37, base_baud = 6250000) is a FSL_LPUART
console [ttyLP0] enabled
fsl-lpuart 2950000.serial: DMA tx channel request failed, operating without tx DMA
fsl-lpuart 2950000.serial: DMA rx channel request failed, operating without rx DMA

Maybe I shouldn't use lpuart0 as console in the bank0?

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

1,172 次查看
Pavel
NXP Employee
NXP Employee

Loot at the Chapter 7.10 of NXP SDK v2.0-1703 documentation:

https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

 

Check your setting using this Chapter.


Have a great day,
Pavel Chubakov

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

0 项奖励
回复

1,172 次查看
2838219522
Contributor III

Thanks, Pavel,

   But I mean that lpuart driver is all right and uart driver has something wrong when I boot from bank0 with u-boot-lpuart-2016.09+fslgit-r0.bin.

  I confirm that I enabled uart 0 and uart1 in the RCW.  

0 项奖励
回复