[U-Boot-Users] u-boot.bin file is 640MBytes for SC520_CDP?
sreedhar payavala
spayavala at hotmail.com
Thu Jun 3 01:09:36 CEST 2004
Hi,
I am trying to build u-boot for sc520_cdp. After some mucking around I got a
good ( looks like a good) elf file. But, the .bin file is huge. 640Meg.
Does anyone know what the problem could be. Here is the dump
_____________________________________________________
make[1]: Leaving directory
`/home/linuxproject/dnetip/bootldr/u-boot-1.1.1/common'
UNDEF_SYM=`objdump -x lib_generic/libgeneric.a
board/sc520_cdp/libsc520_cdp.a cpu/i386/libi386.a lib_i386/libi386.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a net/libnet.a disk/libdisk.a rtc/librtc.a
dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a
post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
ld -Bstatic -T
/home/linuxproject/dnetip/bootldr/u-boot-1.1.1/board/sc520_cdp/u-boot.lds
-Ttext 0x387c0000 $UNDEF_SYM cpu/i386/start.o cpu/i386/start16.o
cpu/i386/reset.o \
--start-group lib_generic/libgeneric.a
board/sc520_cdp/libsc520_cdp.a cpu/i386/libi386.a lib_i386/libi386.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a net/libnet.a disk/libdisk.a rtc/librtc.a
dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a
post/libpost.a post/cpu/libcpu.a common/libcommon.a --no-warn-mismatch -L
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 -lgcc --end-group \
-Map u-boot.map -o u-boot
objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
ls -l gives
-rwxrwxr-x 1 sreedhar sreedhar 659764 May 28 18:22 u-boot
-rwxrwxr-x 1 sreedhar sreedhar 947911360 May 28 18:40 u-boot.bin
-rw-rw-r-- 1 sreedhar sreedhar 123172 May 28 00:03 u-boot.map
______________________
thanks
sreedhar
More information about the U-Boot
mailing list