This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
eCos for IOP321 running under simulator?
- From: Rick Richardson <rickr at mn dot rr dot com>
- To: eCos Mailing List <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 14 Oct 2002 12:45:12 -0500
- Subject: [ECOS] eCos for IOP321 running under simulator?
Hello all. Newbie eCos user here, playing around with the Intel iq80321
version of eCos.
I loaded up the Intel supplied versions of eCos and xscale toolchain
off the CDROM, marked "Redhat eCos for the Intel IOP321 processor",
marked with versions: ecos-1.5.13 and xscale-020306. Hosted on Linux.
Made an ecos build tree thusly:
$ mkdir ecos-work
$ cd ecos-work
$ ecosconfig new iq80321
$ ecosconfig tree
$ make
Then, I made a copy of the ecos examples, and changed the Makefile
thusly:
PKG_INSTALL_DIR = /home/rick/proj/ecos-work/install
XCC = xscale-elf-gcc
Did a make in the examples directory to build the "Hello World"
example. No problems so far.
Then, I fired up gdb with the simulator:
$ xscale-elf-gdb -nw hello
This GDB was configured as \
"--host=i686-pc-linux-gnulibc2.1 --target=xscale-elf"
(gdb) target sim
(gdb) load
Loading section .rom_vectors, size 0x40 vma 0x20000
Loading section .text, size 0xbd80 vma 0x20040
Loading section .rodata, size 0x3dc vma 0x2bdc0
Loading section .data, size 0x378 vma 0x2c19c
Start address 0x20040
Transfer rate: 403616 bits in <1 sec.
(gdb) run
I let it run for about 30 minutes on a 2Ghz P4. Hit ^C and "cont"
a few times and could see that it was executing.
But I never got the "Hello, World" message printed.
My question is: should this setup have worked? Or is it beyond
the ability of the xscale simulator to handle running eCos and an
application?
-Rick
--
Rick Richardson rickr@mn.rr.com http://home.mn.rr.com/richardsons/
Stock information at your fingertips: http://linuxtrade.0catch.com/
Important data should not be entrusted to Fisher, as it may eat it and make
loud belching noises. -- RH 7.1 beta release notes.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss