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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,050 Views
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?

Labels (1)
Tags (1)
0 Kudos
2 Replies

833 Views
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 Kudos

833 Views
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 Kudos