Re: [U-Boot-Users] u-boot.bin size

2008-07-23 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > dd if=u-boot.bin of=u-boot.bin2 bs=512k conv=sync Just a waste of CPU cycles, disk storage, download time, etc. > > Il giorno mer, 23/07/2008 alle 11.35 -0700, Fundu ha scritto: > > My u-boot.bin is 256k. > > Is there a way i could make it fit into 512

Re: [U-Boot-Users] u-boot.bin size

2008-07-23 Thread Luigi 'Comio' Mantellini
dd if=u-boot.bin of=u-boot.bin2 bs=512k conv=sync Il giorno mer, 23/07/2008 alle 11.35 -0700, Fundu ha scritto: > My u-boot.bin is 256k. > Is there a way i could make it fit into 512k b'coz sector size is 512k. > The CFG_MONITOR_LEN doesn't seem to have any effect. > > TIA > > > > > -

Re: [U-Boot-Users] u-boot.bin

2008-07-23 Thread Jerry Van Baren
Fundu wrote: >> Please bottom post. > will do. > >> Run "${CROSS_COMPILE}strip -s u-boot >> -o=u-boot.strip" and you will see >> that u-boot.strip is approximately the same size as >> u-boot.bin. NOTE: I >> would *NOT* recommend stripping the ELF file unless you >> have a real need to do so. >

Re: [U-Boot-Users] u-boot.bin

2008-07-23 Thread Fundu
> Please bottom post. will do. > Run "${CROSS_COMPILE}strip -s u-boot > -o=u-boot.strip" and you will see > that u-boot.strip is approximately the same size as > u-boot.bin. NOTE: I > would *NOT* recommend stripping the ELF file unless you > have a real need to do so. that make it much clear th

Re: [U-Boot-Users] u-boot.bin

2008-07-23 Thread Jerry Van Baren
Fundu wrote: > Thanks gvb! > that definitely makes sense. > > i see the u-boot.elf file is a lot bigger than the u-boot.bin. why is that ? Hi Fundu, Please bottom post. Run "${CROSS_COMPILE}objdump -h u-boot" and you will see that there are lots of non-loaded segments (symbols, etc.) in there

Re: [U-Boot-Users] u-boot.bin

2008-07-23 Thread Fundu
Thanks gvb! that definitely makes sense. i see the u-boot.elf file is a lot bigger than the u-boot.bin. why is that ? TIA ! --- On Wed, 7/23/08, Jerry Van Baren <[EMAIL PROTECTED]> wrote: > From: Jerry Van Baren <[EMAIL PROTECTED]> > Subject: Re: [U-Boot-Users] u-boo

Re: [U-Boot-Users] u-boot.bin

2008-07-23 Thread Jerry Van Baren
Fundu wrote: > ok, looks like 0x27051956 is uboot magic number (from start.S) > why is the CFG_MONITOR_BASE points to the magic number ? Because that is the definition. From the file README: - CFG_MONITOR_BASE: Physical start address of boot monitor code (set by

Re: [U-Boot-Users] u-boot.bin

2008-07-22 Thread Fundu
ok, looks like 0x27051956 is uboot magic number (from start.S) why is the CFG_MONITOR_BASE points to the magic number ? --- On Tue, 7/22/08, Fundu <[EMAIL PROTECTED]> wrote: > From: Fundu <[EMAIL PROTECTED]> > Subject: [U-Boot-Users] u-boot.bin > To: u-boot-users@lists.sourceforge.net > Date: T