lkml.org 
[lkml]   [2024]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 2/9] MIPS: debug: Implement low-level debugging functions
From
On 26/3/24 21:35, Jiaxun Yang wrote:
> Currently we have three sets of early debugging functions
> for MIPS: zboot putc/puts, cps-vec-ns16550, and prom_putc.
>
> This is a attempt to bring them all to one by providing
> a interface similar to arm's debug_ll, which is very portable
> and allows you to support new platforms easily.
>
> Two examples of output interfaces are provided, including
> 8250 uart and MIPS UHI semihosting, which already covered
> most of the platforms.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> arch/mips/Kconfig.debug | 80 +++++++++++++++++++++++++
> arch/mips/include/debug/8250.S | 60 +++++++++++++++++++
> arch/mips/include/debug/uhi.S | 48 +++++++++++++++
> arch/mips/kernel/Makefile | 2 +
> arch/mips/kernel/debug.S | 130 +++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 320 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>


\
 
 \ /
  Last update: 2024-05-27 16:28    [W:0.278 / U:1.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site