This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot linux exec for i386
- From: Ian Campbell <icampbell at arcom dot com>
- To: Afchine Madjlessi <afchine dot madjlessi at bull dot net>
- Cc: eCos Patches <ecos-patches at sources dot redhat dot com>
- Date: Tue, 28 Oct 2003 10:18:47 +0000
- Subject: Re: RedBoot linux exec for i386
- Organization: Arcom Controls Systems
- References: <004201c39d3a$fc08e050$6701a8c0@california>
On Tue, 2003-10-28 at 10:05, Afchine Madjlessi wrote:
> Hi,
> I applied the redboot linux exec for i386 patch. It applies cleanly,
> but when I run the make I get this error in the file redboot_linux_exec.c:
> CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS undeclared
>
> Could you explain me what I am missing?
The definition of CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS? :-)
It needs to be defined by the HAL. On my platforms I have (for example):
$ grep TRAMPOLINE packages/hal/i386/gizmo/current/cdl/hal_i386_gizmo.cdl
puts $::cdl_header "#define CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS 0x7C000"
It's just a small area where a bit of code can be copied to then run. I
imagine 0x7c000 is safe for most platforms.
Ian.
--
Ian Campbell, Senior Design Engineer
Arcom, Clifton Road, Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom Phone: +44 (0)1223 411 200
_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.
This message has been checked for all viruses by MessageLabs Virus Control Centre.