AnsweredAssumed Answered

IMX8QXP Kernel not working from LPUART1

Question asked by MD Mosaddek Hossain on May 7, 2020
Latest reply on May 7, 2020 by MD Mosaddek Hossain

Hello NXP Team,

Currently we are facing issue to boot the kernel in our iMX8QXP custom board. Via fastboot we are flashing the linux kernel and device tree from u-boot. When we try to boot the kernel no response is coming from the LPUART1. We are using LPUART1 instead of LPUART0 from reference MEK board. 

 

Kernel version:

4.19.35_1.1.0

 

Kernel Device Tree Using LPUART1:

chosen {
bootargs = "console=ttyLP1,115200 earlycon=lpuart32,0x5a070000,115200";
stdout-path = &lpuart1;
};

 

&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;

imx8qxp-sthu {

pinctrl_hog: hoggrp {
fsl,pins = <
>;
};

pinctrl_lpuart1: lpuart1grp {
fsl,pins = <
SC_P_UART1_RX_ADMA_UART1_RX 0x06000020
SC_P_UART1_TX_ADMA_UART1_TX 0x06000020
>;
};

};

};

 

&pd_dma_lpuart1 {
debug_console;
};


&lpuart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpuart1>;
status = "okay";
};

 

Defconfig:

Check the attachment.

 

Problem:

These `/dma-controller@5a1f0000, 48852` messages come from u-boot. And `u-boot` successfully transfers control to linux.

But nothing comes out from Kernel lpuart1.

Outcomes