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]

RE: Problem in installing redboot



On 07-Jun-2001 Suresh N wrote:
> Hi,
>     while building redboot for mbx board i am getting error in this
> command to get redboot.ppcbug
> 
> <cut>
> powerpc-eabi-objcopy -O srec
> /export/home1/nsuresh/ecos/redboot-build/install/bin/redboot.elf
> /export/home1/nsuresh/ecos/redboot-build/install/bin/redboot.srec
> powerpc-eabi-objcopy -O srec --change-address=0x02040000
> /export/home1/nsuresh/ecos/redboot-build/install/bin/redboot.elf
> /export/home1/nsuresh/ecos/redboot-build/install/bin/redboot.ppcbug
> 
> powerpc-eabi-objcopy: unrecognized option `--change-address=0x02040000'
> </cut>
> any idea why this change address is required ?

What version of powerpc-eabi-objcopy (where'd you get it) is this?

The option is used to move the code [relocate] so that RedBoot can
be programmed into the Flash by EPPCbug.  The Flash chips actually
change addresses based on a jumper, so the device that RedBoot will
actually be in is at 0xFE000000, but EPPCbug sees it at 0xFC000000.
The "change-address" option takes the image destined to load at
0xFE000000 and move it so that it will load at 0x00040000.


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