P1021 serial driver (printf/printk takes long time to appear on the UART)

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

P1021 serial driver (printf/printk takes long time to appear on the UART)

428 Views
pkamaraj
Contributor I

Hi,

After linux comes up in the P1021 board, the printf () message from application does not come immediately.

It takes more time to display on the console(more than 3 min).  Is there any issue with serial driver ?

Here is the DTS info of our serial:

serial0: serial@4500 {
cell-index = <0>;
device_type = "serial";
compatible = "ns16550";
reg = <0x4500 0x100>;
clock-frequency = <0>;
current-speed = <9600>;
interrupts = <42 2>;
interrupt-parent = <&mpic>;
};

Thanks

0 Kudos
1 Reply

341 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Kamaraj P,

Serial device nodes are defined in pq3-duart-0.dtsi, which is included p1020si-post.dtsi, no need to define them by yourself.

If there is no delay to display Linux Kernel boot up message, there should be no problem for the UART driver.

Please debug your Linux application to check where the program stuck.


Have a great day,
TIC

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

0 Kudos