Bug 179688 - [patch] [rpi] serial console eats some characters at moutroot prompt
Summary: [patch] [rpi] serial console eats some characters at moutroot prompt
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-18 20:10 UTC by Luiz Otavio O Souza
Modified: 2014-02-24 14:41 UTC (History)
0 users

See Also:


Attachments
file.diff (723 bytes, patch)
2013-06-18 20:10 UTC, Luiz Otavio O Souza
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Otavio O Souza 2013-06-18 20:10:00 UTC
While at mountroot prompt the rpi uart driver eats some characters, making very hard to type something right.

ray@ suggested to not enable the uart interrupts in uart_bus_attach() routine for the console device and that seems to also works fine for rpi.

Fix: Apply the attached patch. It is a copy from the workaround used on uart_dev_imx.c.

Patch attached with submission follows:
How-To-Repeat: Boot a kernel from BOOTP (or boot a kernel from SD card without a valid root partition) and try to type at mountroot prompt. You need to keep the keys pressed for a while to see some output.
Comment 1 Warner Losh freebsd_committer freebsd_triage 2014-02-24 14:41:04 UTC
State Changed
From-To: open->closed

Fixed in head, soon to be fixed in stable...