This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redboot over VxWorks


> >eCos image are position dependant. It has to be loaded at the address
> >it expects to be loaded. You can then execute it by jumping to the
> >first instruction. 
> >
> >Take a look at the .ldi file in the hal includes/pkgconf for your
> >target.
> >
> >       Andrew
> > 
> >
> /opt/ecos/build/install/include/pkgconf/mlt_arm_xscale_ixdp425_ram.ldi
> ----------------------------------------------------------
> MEMORY
> {
>    ram : ORIGIN = 0, LENGTH = 0x10000000
> }
> ----------------------------------------------------------
> I must download redboot.bin at 0x00000000 ? :-/

That just tells the linker where there is RAM. The image will be
somewhere within it. If you continue in this file you will see


SECTIONS
{
    SECTIONS_BEGIN
    SECTION_fixed_vectors (ram, 0x20, LMA_EQ_VMA)
    SECTION_rom_vectors (ram, 0x80000, LMA_EQ_VMA)
    SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)

The image is linked to be loaded at 0x80000. 

        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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]