This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to make the command exec on the RedBoot to work?
- From: Gary Thomas <gary at mlbassoc dot com>
- To: David Vrabel <dvrabel at arcom dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 05 Jul 2004 08:10:38 -0600
- Subject: Re: [ECOS] how to make the command exec on the RedBoot to work?
- Organization: MLB Associates
- References: <E7959294907289.02791@webmail3.inner-21cn.com> <1089031939.3988.13.camel@hermes> <40E95EE6.2020509@arcom.com>
On Mon, 2004-07-05 at 08:00, David Vrabel wrote:
> >> thank you for your replay,my board is with AT91M40800(the architecture/target is ARM7TDMI).
> >
> > You'll have to write the 'exec' function for this platform as it does
> > not normally run Linux. Look for other examples in the hal/arm tree.
>
> Isn't RedBoot's exec command on ARM generic? (It's sitting in
> hal/arm/arch/current/src/redboot_linux_exec.c.) May just be a question
> of enabling it.
In order to enable it, one must define/override some macros which are
architecture variant (or even target) specific. e.g. the ARM7TDMI does
not have an MMU, but the default setup expects one, etc...
These are the sort of details that one needs to add before it can be
enabled and exactly why it's not just always turned on.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss