[U-Boot-Users] MCF5271 Port.

Adarsh Babu adarshrbpin at yahoo.co.in
Tue Jan 30 05:44:53 CET 2007


Zachary P. Landau <kapheine <at> gmail.com> writes:

> 
> On 1/29/07, Wolfgang Denk <wd <at> denx.de> wrote:
> > In message <371814.45747.qm <at> web8321.mail.in.yahoo.com> you wrote:
> > > I am new to U-Boot. I downloaded u-boot-1.1.6 and plan
> > > to use the same on the MCF5271 EVB. My host system has
> > > Red Hat 6.
> >
> > Sounds as if you have a favour for old code. Be aware  that  problems
> > may be lurking in that corner.
> >
> > > m68k-elf-gcc: hello_world.o: No such file or directory
> > > m68k-elf-gcc: unrecognized option `-MQ'
> > > m68k-elf-gcc: stubs.o: No such file or directory
> > > m68k-elf-gcc: unrecognized option `-MQ'
> > ...
> > Seems your toolchain is not working. Try another one.
> 
> As Wolfgang says, old toolchains will do this.  When trying to compile a 
recent
> checkout using the 20010318 Snapgear toolchain, I got the same error.  When I
> upgraded to the 20060615 release, it worked.
> 
> Also note that someone recently had a different problem with compiling the 
5271
> port using the 20060615 toolchain.  Here's a link to his post and someone's
> reply on how to fix it:
> 
> 
http://comments.gmane.org/gmane.comp.hardware.motorola.microcontrollers.coldfir
e/7212.
> I haven't looked at the issue yet.  If you (or anyone) gets a chance, it'd be
> helpful to know what the issue is and if this is a real fix or just a
> workaround.
> 


Hi Zachary,

I have with me  m68k-elf-tools-20030314 tool chain. I have one more thing to 
report. I tried building twice after I posted the message and each time I got 
different errors.
the first time:
make[1]: Leaving directory `/U-Boot/u-boot-1.1.6/fs/jffs2'
make -C fs/reiserfs/
make[1]: Entering directory `/U-Boot/u-boot-1.1.6/fs/reiserfs'
m68k-elf-gcc: reiserfs.o: No such file or directory
m68k-elf-gcc: unrecognized option `-MQ'
m68k-elf-gcc: dev.o: No such file or directory
m68k-elf-gcc: unrecognized option `-MQ'
m68k-elf-gcc: mode_string.o: No such file or directory
m68k-elf-gcc: unrecognized option `-MQ'
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/U-Boot/u-boot-1.1.6/fs/reiserfs'
make: *** [fs/reiserfs/libreiserfs.a] Error 2

the second time:
make[1]: Leaving directory `/U-Boot/u-boot-1.1.6/fs/reiserfs'
make -C fs/ext2/
make[1]: Entering directory `/U-Boot/u-boot-1.1.6/fs/ext2'
m68k-elf-gcc: ext2fs.o: No such file or directory
m68k-elf-gcc: unrecognized option `-MQ'
m68k-elf-gcc: dev.o: No such file or directory
m68k-elf-gcc: unrecognized option `-MQ'
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/U-Boot/u-boot-1.1.6/fs/ext2'
make: *** [fs/ext2/libext2fs.a] Error 2


Anyways i will try it out with 20060615. Thanks.

Regards,
Adarsh.









More information about the U-Boot mailing list