On Mon, Jun 04, 2012 at 08:10:18PM +0100, R. Diez wrote: > 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? >
An alternative option would be to use u-boot. In git://openrisc.net/stefan/u-boot there is a generic board called openrisc-generic, which has ethernet support and is meant to be run under or1ksim. git clone git://openrisc.net/stefan/u-boot cd u-boot make openrisc-generic or1ksim -f board/openrisc/openrisc-generic/or1ksim.cfg Stefan _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
