From: "Frank Ch. Eigler" <fche@redhat.com>
To: Mathieu Lacage <mathieu_lacage@realmagic.fr>
Cc: sid@sources.redhat.com
Subject: Re: running eCos under sid
Date: Fri, 23 Nov 2001 04:30:00 -0000 [thread overview]
Message-ID: <20011123073029.A9819@redhat.com> (raw)
Message-ID: <20011123043000.Krio86dpe__5aWvEeZZCK-Cj_TmU_gL4Qw2wGxnaIi0@z> (raw)
In-Reply-To: <1006507910.9301.40.camel@mathieu>
Hi -
On Fri, Nov 23, 2001 at 10:31:45AM +0100, Mathieu Lacage wrote:
: [...]
: Because I am trying to avoid launching my vmware/win2k/arm simulator, I
: decided to try to use sid to run a hello-world with eCos...
:
: I built an eCos kernel for the INTEGRATOR ARM development card. Then, I
: built a hello world with:
: arm-elf-gcc -I/infinite/ecos/ecos/test_install/include
: -L/infinite/ecos/ecos/test_install/lib -Ttarget.ld main.c -o main
:
: I got a 1.3 MB elf binary which I tried to run in sid (yesterday's CVS)
: with:
: arm-elf-sif main
: which gave:
: bash$ arm-elf-sid -EL main
: Fault (memory, 0x1a000004) pc=0x8048
: [...]
Right. This happens because the simulator was not asked to configure
itself for a model of the "Integrator" board. By default, it provides
a simple process model, with little in the way of simulated hardware
peripherals. The SID component (model) library includes parts for
several ARM flavour peripherals: they were built to model the old
ARM PID development board. To the extent that this "Integrator" board
is similar, you may make use of the components by "--board=pid7t" and
related options. Simulation for different boards involves assembling
models for all the required parts, and configuring sid to use them:
this can be a small or big job.
For a taste, try running
sid arm-pid-redboot-tksm.conf
(find named file under $prefix/share/sid; it explains its own origins)
then telnet to localhost:5000 (or connect gdb to localhost:5000; can
upload a RAM-startup eCos program). This configuration brings up
the PID board simulation, preloads an older RedBoot ROM image.
RedBoot shows a command line on uart1, which is connected to TCP
port 5000. A little tcl/tk gui also appears, so you can
monitor/interact-with the simulation as it's proceeding.
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7/kFlVZbdDOm/ZT0RAmYrAJ92yAK6SaaEf1nxGuAnC45xYb8qDgCfQEn+
VQOOxF/5VgRCspvzuqvVC/U=
=dcIy
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2001-11-23 4:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-13 14:00 Mathieu Lacage
2001-11-14 0:14 ` Frank Ch. Eigler [this message]
2001-11-14 3:43 ` Mathieu Lacage
2001-11-14 4:00 ` Frank Ch. Eigler
2001-11-23 5:02 ` Frank Ch. Eigler
2001-11-23 4:53 ` Mathieu Lacage
2001-11-23 4:30 ` Frank Ch. Eigler
2001-11-23 1:31 ` Mathieu Lacage
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011123073029.A9819@redhat.com \
--to=fche@redhat.com \
--cc=mathieu_lacage@realmagic.fr \
--cc=sid@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).