This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Problem in installing redboot
- To: Suresh N <nsuresh at cdotb dot ernet dot in>
- Subject: RE: [ECOS] Problem in installing redboot
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Thu, 07 Jun 2001 04:36:04 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
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.