#242 closed enhancement (fixed)

printf/printk conflict when both to serial line

Reported by: Eric Norum Owned by: Joel Sherrill
Priority: lowest Milestone: 2
Component: bsps Version: unknown
Severity: minor Keywords:
Cc: bugs@… Blocked By:


I'm using a PC-104 card with no video output. I found that things would lock up if a printk was followed closely by a printf when BSPConsolePort = BSP_UART_COM2 and BSPPrintkPort = BSP_UART_COM1. I propose the following change to c/src/lib/libbsp/i386/shared/comm/uart.c. With this change in place, printf/printk calls can be intermingled with no apparent problems.


Attachments (1)

uart.patch (896 bytes) - added by Eric Norum on 12/03/06 at 13:31:12.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on 07/16/02 at 21:30:31 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: patch applied. Thank you.

Changed on 12/03/06 at 13:31:12 by Eric Norum

Attachment: uart.patch added


Note: See TracTickets for help on using tickets.