Microblaze libgloss and gdb simulator

Mike Frysinger vapier@gentoo.org
Fri Apr 23 16:40:03 GMT 2021

On 23 Apr 2021 11:17, Joel Sherrill wrote:
> On Fri, Apr 23, 2021 at 10:05 AM Mike Frysinger wrote:
> It is now a separate simulator for SPARC and RISC-V and does multicore.

i recently merged my simple riscv sim port :)

> > newlib/libgloss missing bsp code wouldn't be addressed by sim selection
> > though :).
> +1
> My old outbyte() method writes to a very specific address which appears
> to be a UART. But I see no reference to that in any gdb source of any
> vintage.I wonder if I added something locally to gdb to have a UART on
> the Microblaze and lost it over the years. Does this look like it would work
> now to you?
> https://github.com/heshamelmatary/rtems-microblaze/blob/master/c/src/lib/libbsp/microblaze/gdbmbsim/console/console-io.c#L47
> I started a port a LONG time ago and apparently remember things fuzzy. :(

i looked through the committed history of the sim (which only goes back to
2009 for microblaze) and couldn't find any relevant references to this addr.

let me see how hard it is to enable SIM_AC_OPTION_HARDWARE for microblaze.
then we could connect dv-pal's tty output to that addr and it'd just work.

More information about the Newlib mailing list