From: Andrew Lunn <andrew@lunn.ch>
To: xiaolu zhao <deerxiaolu@gmail.com>
Cc: ecos-discuss <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] how to check my modifications to the kernel without a board?
Date: Thu, 14 Jun 2007 16:16:00 -0000 [thread overview]
Message-ID: <20070614154512.GB1594@lunn.ch> (raw)
In-Reply-To: <b48951870706140814q149453fdj9869bed4d208d4e1@mail.gmail.com>
On Thu, Jun 14, 2007 at 05:14:18PM +0200, xiaolu zhao wrote:
> Hi, I met a big problem, would you like to give me some advices?
>
> I did some modifications to the ecos Kernel code(like in sched.cxx,
> thread.hxx etc.). But I have no a real hardware board. So I want to
> use VMware as a virtual machine to see the results.Is it possible?
Should be, but i have never done it myself. However, i would actually
recommend using the synthetic target on Linux.
> I tried the redbbot on the Vmware and the "hello.c" example works. But
> after I modified the kernel code and rebuild the ecos using the
> configtool, it did not give any compilation complaints. I know it is
> impossible, there should be a lot of errors in the code. Does Redbbot
> have nothing to do with the ecos kernel files?
Redboot does not use the kernel.
> If the redboot has nothing to do with the kernels, how can I check my
> modificaiton to the kernel files with VMare?
I would suggest you use the kernel test cases. These are good tests to
see if your changes have broken anything.
Try doing:
ecosconfig new pc_rltk8139
edit ecos.ecc and change CYG_HAL_STARTUP to floppy
ecosconfig tree
make -s tests
Once you have fixed all the compiler error you can run the test cases
in install/tests/kernel/current.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2007-06-14 15:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-14 15:48 [ECOS] how to check my modifications to the kernel without a board xiaolu zhao
2007-06-14 16:16 ` Andrew Lunn [this message]
2007-06-14 22:02 ` [ECOS] how to check my modifications to the kernel without a board? xiaolu zhao
2007-06-14 23:11 ` Andrew Lunn
2007-06-27 1:52 ` xiaolu zhao
2007-06-27 9:48 ` xiaolu zhao
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=20070614154512.GB1594@lunn.ch \
--to=andrew@lunn.ch \
--cc=deerxiaolu@gmail.com \
--cc=ecos-discuss@ecos.sourceware.org \
/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).