From: Robert Schwebel Date: Thu, 11 Sep 2003 18:51:39 +0200 Subject: [U-Boot-Users] need help regarding u-boot for csb226 In-Reply-To: <200309111133.RAA14546@WS0005.indiatimes.com> References: <200309111133.RAA14546@WS0005.indiatimes.com> Message-ID: <20030911165139.GR8367@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Sep 11, 2003 at 05:17:23PM +0530, renjithgopal wrote: > arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0xa1fe0000 -I/uboot/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=strongarm1100 -Wall -Wstrict-prototypes -c -o crc32.o crc32.c > as: unrecognized option `-marmv4' Hmm, here the compile run sets "-march=armv4", not "-marmv4". Did you tweak your makefiles somehow? > but when i asked some of my friends they told it should work fine with > out any problem.. Same here: robert at himalia:~/local/u-boot-0.4.6> make csb226_config [...] robert at himalia:~/local/u-boot-0.4.6> make [...] make[1]: Leaving directory `/usr/local/home/robert/u-boot-0.4.6/examples' UNDEF_SYM=`arm-linux-objdump -x board/csb226/libcsb226.a cpu/pxa/libpxa.a lib_arm/libarm.a fs/jffs2/libjffs2.a fs/fdos/libfdos.a fs/fat/libfat.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a post/libpost.a post/cpu/libcpu.a common/libcommon.a lib_generic/libgeneric.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ arm-linux-ld -Bstatic -T /home/robert/local/u-boot-0.4.6/board/csb226/u-boot.lds -Ttext 0xa1fe0000 $UNDEF_SYM cpu/pxa/start.o \ --start-group board/csb226/libcsb226.a cpu/pxa/libpxa.a lib_arm/libarm.a fs/jffs2/libjffs2.a fs/fdos/libfdos.a fs/fat/libfat.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a post/libpost.a post/cpu/libcpu.a common/libcommon.a lib_generic/libgeneric.a --end-group \ -Map u-boot.map -o u-boot arm-linux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec arm-linux-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hornemannstra?e 12, 31137 Hildesheim, Germany Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4