[ECOS] Problem in installing redboot

Gary Thomas gthomas@cambridge.redhat.com
Thu Jun 7 03:36:00 GMT 2001


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.



More information about the Ecos-discuss mailing list