AnsweredAssumed Answered

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

Question asked by 黄 皓 on Nov 24, 2017
Latest reply on Nov 29, 2017 by 黄 皓

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?

Outcomes