This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ELF redboot with COFF linux image
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Raghunath BK <raghu_bk at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 29 Jul 2003 17:32:46 +0200
- Subject: Re: [ECOS] ELF redboot with COFF linux image
- References: <BAY1-F8949X3YPAyvvq0000b5ba@hotmail.com>
On Tue, Jul 29, 2003 at 03:25:28PM +0000, Raghunath BK wrote:
> Hi All,
>
> I'm in a situation where I have redboot image which is in elf format for
> our custom board (PXA255 based) and the linux kernel+apps in coff format. I
> don't think an ELF application can start an application which is in COFF
> format.
So you are using Redboot as a bootloader for a coff based linux kernel
and apps?
That should not be a problem. The linux kernel image you place into
FLASH is not coff. Its been turned into a binary with objcopy. Redboot
should not care, its just a collection of bytes it needs to copy from
flash into RAM and then jump into. Once the kernel is running redboot
is no longer involved and the linux kernel it knows how to handle coff
applications.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss