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 images difference


On Tue, 2005-01-11 at 19:07 +0300, Nickolay wrote:
> >>That's true!
> >>But maybe anyone know how load redboot via vxworks bootloader?
> >>Can i use redboot.bin for this purpose, or redboot.bin is for upgrade 
> >>redboot from redboot the self?
> >>
> >>    
> >>
> >
> >redboot.bin is just a raw binary image. It needs to get programmed
> >to the start of flash. I'm not sure about the vxworks bootloader
> >capabilities.
> >
> >--Mark
> >
> >
> >
> >  
> >
> OK. I downloaded precompiled redboot.elf version for IXDP425 from 
> here(http://ecos.sourceware.org/ecos/boards/redbootbins/ixdp425/),
> and build version from the source(get from CVS). After that i make 
> objdump --private-headers for both, precompiled and builded version of
> redboot.elf, and detect defference in virtual address offset.
> 
> Precompiled(downloaded) version:
> LOAD off    0x00008000 vaddr 0x00020000 paddr 0x00020000 align 2**15
>          filesz 0x00026f9c memsz 0x0003603c flags rwx
> 
> Builded version:
> LOAD off    0x00008000 vaddr 0x00080000 paddr 0x00080000 align 2**15
>          filesz 0x0002600c memsz 0x00034420 flags rwx
> 
> What version is more correctly for IXDP425 board?

I suspect they are both correct. It looks like the precompiled
elf was for a RAM based RedBoot and the built one is ROM (flash)
based.

--Mark



-- 
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]