Hallo Piotr:
> The shortest way to achieve it is to build RedBoot.
> [...]
Thanks for your help.
The first thing I wanted to do is to see redboot's serial console. This
is the serial port I have configured in the or1ksim simulator:
section uart
enabled = 1
baseaddr = 0x90000000
irq = 2
16550 = 1
/* channel = "xterm:" */
channel = "tcp:10084"
end
I couldn't work out how to configure the serial port in redboot, can you
help? The magical "ecosconfig add" command would be ideal.
There seem to be 2 serial ports in the redboot configuration, one for
GDB and another one probably for the console. I guess the baud rate and
so on don't really matter when running in a simulator.
I didn't see the serial port's base address 0x90000000 anywhere in the
ecos.ecc file. The Ethernet controller's base address is normally
0x92000000, but I couldn't find that address either in the configuration
file.
I tried running redboot with both "channel=" settings above in or1ksim,
in order to interact with redboot's console, but I'm getting the same
kind of garbage one line at a time when I press ENTER:
$T0a40:00008778;01:00025d64;#f7
$T0a40:00008778;01:00025d64;#f7
$T0a40:00008778;01:00025d64;#f7
It seems clean enough, so something must be working alright. That
garbage could be the GDB protocol, or maybe it's the interactive
console, only I failed to configure something properly.
Thanks again,
rdiez
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc