"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,388件の閲覧回数
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,171件の閲覧回数
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,171件の閲覧回数
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 件の賞賛
返信