This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Problem in installing redboot
- To: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Subject: RE: [ECOS] Problem in installing redboot
- From: Suresh N <nsuresh at cdotb dot ernet dot in>
- Date: Thu, 7 Jun 2001 16:11:39 +0500 (GMT+0500)
- cc: ecos-discuss at sources dot redhat dot com
hi
I am using objcopy version 2.9-ecosSWtools-990319.. downloaded from ecos
website...
bye
-----------------***************************************----------------
N.SURESH
Research Engineer,
Centre For Development of Telematics,
71/1,Sneha Complex,
Bangalore-560052
-----------------***************************************----------------
On Thu, 7 Jun 2001, Gary Thomas wrote:
>
> 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.
>