Messages in this thread | | | Date | Mon, 8 Apr 2024 08:48:14 +0200 | Subject | Re: [PATCH v2 2/9] MIPS: debug: Implement low-level debugging functions | From | Philippe Mathieu-Daudé <> |
| |
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>
| |