| #
a5d16e51 |
| 24-Apr-2022 |
Joseph Chen <chenjh@rock-chips.com> |
serial: ns16550: Add serial rx/tx fifo clear support
Correct the implementaion of clear callback, it should be reset action but not flush.
flushc() is only used for debug uart.
Signed-off-by: Jose
serial: ns16550: Add serial rx/tx fifo clear support
Correct the implementaion of clear callback, it should be reset action but not flush.
flushc() is only used for debug uart.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8d38c9753c77bee37e3c4ae6338ff96c6ad0bf30
show more ...
|
| #
034db995 |
| 27-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
dm: serial: support always use uart debug mode
In this mode, uart debug is initialized depends on configuration from pre-loader or CONFIG_UART_DEBUG_.
The serial is not care about dts "stdout-path"
dm: serial: support always use uart debug mode
In this mode, uart debug is initialized depends on configuration from pre-loader or CONFIG_UART_DEBUG_.
The serial is not care about dts "stdout-path" and not register into console framework any more. It's nice to use pre-loader serial and make serial easy to configure.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If4c68229d76b6f1710a35e3ef9a2a91cb306fa9c
show more ...
|
| #
ab83a6fe |
| 05-Jul-2018 |
CanYang He <hcy@rock-chips.com> |
debug_uart: add a printdec() to print decimalism result
some value use decimalism to print is more readable for user, for example: frequency, capacity
Change-Id: I9fa2a68d30c7694a582167d2d8767e18e2
debug_uart: add a printdec() to print decimalism result
some value use decimalism to print is more readable for user, for example: frequency, capacity
Change-Id: I9fa2a68d30c7694a582167d2d8767e18e28a9e83 Signed-off-by: CanYang He <hcy@rock-chips.com>
show more ...
|
| #
a52cf086 |
| 22-Apr-2017 |
Lokesh Vutla <lokeshvutla@ti.com> |
serial: omap: Support debug UART
Add debug UART functions to permit omap specific ns16550 to provide an early debug UART. This is mostly in common with DEBUG_UART_NS16550 except for Mode definition
serial: omap: Support debug UART
Add debug UART functions to permit omap specific ns16550 to provide an early debug UART. This is mostly in common with DEBUG_UART_NS16550 except for Mode definition register which is required for selecting UART mode(16x auto-baud or 13x mode).
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
6bacc736 |
| 06-Apr-2017 |
tim.chick <tim.chick@mediatek.com> |
debug_uart: Try not to use stack in printch
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attach
debug_uart: Try not to use stack in printch
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details.
Content preview: Previous change to create _printch causes the stack to be used, breaking printch before stack is available. Inline _printch to prevent this happening. Signed-off-by: Tim Chick <tim.chick@mediatek.com> --- [...]
Content analysis details: (6.3 points, 5.0 required)
pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [188.29.165.105 listed in zen.spamhaus.org] 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL 1.6 RCVD_IN_BRBL_LASTEXT RBL: No description available. [188.29.165.105 listed in bb.barracudacentral.org] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS Previous change to create _printch causes the stack to be used, breaking printch before stack is available. Inline _printch to prevent this happening.
Signed-off-by: Tim Chick <tim.chick@mediatek.com>
show more ...
|
| #
88033d73 |
| 14-Mar-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
b391d743 |
| 08-Mar-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
debug_uart: output CR along with LF
The serial output from the debug UART carries on going far to the right in the console.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-b
debug_uart: output CR along with LF
The serial output from the debug UART carries on going far to the right in the console.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
a69fdc77 |
| 23-Oct-2015 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
858dbdf8 |
| 22-Oct-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-x86
|
| #
c7fefcb9 |
| 19-Oct-2015 |
Simon Glass <sjg@chromium.org> |
debug_uart: Add an option to announce the debug UART
It is useful to see a message from the debug UART early during boot so that you know things are working. Add an option to enable this. The messag
debug_uart: Add an option to announce the debug UART
It is useful to see a message from the debug UART early during boot so that you know things are working. Add an option to enable this. The message will be displayed as soon as debug_uart_init() is called.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| #
0e977bc1 |
| 19-Oct-2015 |
Simon Glass <sjg@chromium.org> |
debug_uart: Support board-specific UART initialisation
Some boards need to set things up before the debug UART can be used. On these boards a call to debug_uart_init() is insufficient. When this opt
debug_uart: Support board-specific UART initialisation
Some boards need to set things up before the debug UART can be used. On these boards a call to debug_uart_init() is insufficient. When this option is enabled, the function board_debug_uart_init() will be called when debug_uart_init() is called. You can put any code here that is needed to set up the UART ready for use, such as set pin multiplexing or enable clocks.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| #
97b05973 |
| 19-Oct-2015 |
Simon Glass <sjg@chromium.org> |
debug_uart: Adjust the declaration of debug_uart_init()
We want to be able to add other common code to this function. So change the driver's version to have an underscore before it, just like _debug
debug_uart: Adjust the declaration of debug_uart_init()
We want to be able to add other common code to this function. So change the driver's version to have an underscore before it, just like _debug_uart_putc(). Define debug_uart_init() to call this version.
Update all drivers to this new method.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| #
d0d73614 |
| 23-Jun-2015 |
Simon Glass <sjg@chromium.org> |
debug_uart: Remove use of asmlinkage
This does not actually help any current arch. For x86 it makes it harder to call (requires stack) and for ARM it has no effect. Drop it.
Signed-off-by: Simon Gl
debug_uart: Remove use of asmlinkage
This does not actually help any current arch. For x86 it makes it harder to call (requires stack) and for ARM it has no effect. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
b9cb6482 |
| 02-Mar-2015 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
e1cc4d31 |
| 24-Feb-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge remote-tracking branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
b4087b35 |
| 21-Feb-2015 |
Tom Rini <trini@ti.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
2f964aa7 |
| 27-Jan-2015 |
Simon Glass <sjg@chromium.org> |
serial: Support an early UART for debugging
This came up in a discussion on the mailing list here:
https://patchwork.ozlabs.org/patch/384613/
My concerns at the time were: - it doesn't need to be
serial: Support an early UART for debugging
This came up in a discussion on the mailing list here:
https://patchwork.ozlabs.org/patch/384613/
My concerns at the time were: - it doesn't need to be written in assembler - it doesn't need to be ARM-specific
This patch provides a possible alternative. It works by allowing any serial driver to export one init function and provide a putc() function. These can be used to output debug data before the real serial driver is available.
This implementation does not depend on driver model, and it is possible for it to operate without a stack on some architectures (e.g. PowerPC, ARM). It provides the same features as the ARM-specific debug.S but with more UART and architecture support.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|