Hello
The shortest way to achieve it is to build RedBoot. RedBoot provides a
nice console with history. It works over UART and Ethernet. To build
RedBoot for ORPSoC (with ethmac driver):
ecosconfig new orpsoc redboot
ecosconfig add CYGPKG_IO_ETH_DRIVERS
#Here you can optionally adjust ecc file
ecosconfig tree
make
The elf binary is built here:
install/bin/redboot.elf
By default, RedBoot tries to get IP over DHCP. It is possible to
interrupt this and set IP manually. You can change this behavior by
editing the ecc file (either manually or via configtool). If you want to
adjust some other parameters, like baud rate, bus frequency,
hardware/software math etc., you also need to do it in the ecc file.
Please let me know if you have any other problems
Best regards
Piotr
W dniu 2012-06-04 21:10, R. Diez pisze:
Hi all:
I have added to the orbuild framework the necessary steps to download and build
eCos and test it under the or1ksim simulator with a very simple test case.
The next step would be to write more complicated tests and to check out the new
eCos ethernet driver too.
I would like to have some simple eCos-based demo app which provides a shell over a serial
port. I wish to run it under the simulator and be able to interactively type commands
like "ping" and maybe set the IP address and so on.
Is there such a simple demo app for eCos somewhere, and if not, how can I build
one with minimum effort? I have no experience whatsoever with eCos and I
wouldn't want to invest much time learning it at the moment. I tried with
google and I also looked at the eCos documentation, but I couldn't find an easy
shell demo app. I saw in the newsgroups some people asking for an interactive
shell a while back.
I had a quick look at the default ecos.ecc for the ORPSoC platform, it looks
like there are (or there can be) 2 serial ports, one for a GDB connection and
one for a diagnostics console. Can someone tell me the short 'ecosconfig' magic
in order to add a bidirectional serial port for the new interactive debug
console?
If eCos doesn't cut it, what other embedded OS would you recommend for OpenRISC
in order to interactively help test the ethernet connection?
Thanks,
rdiez
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc