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. >

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

2008-07-23 Thread Fundu
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 - This SF.Net email is sponsored by the Moblin Your Move Develo

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
set by make config files to be same as the text base address (TEXT_BASE) used when linking) - same as CFG_FLASH_BASE when booting from flash. > --- On Tue, 7/22/08, Fundu <[EMAIL PROTECTED]> wrote: > >> From: Fundu <[EMAIL PROTECTED]>

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.s

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

2008-07-22 Thread Fundu
i'm working on taishan ppc440gx. now here's what i noticed. snippet of u-boot.bin opened with a hex editor. fffb : 27051956 552d426f 6f742031 2e322e30 '..VU-Boot 1.2.0 fffc000f : 20284a75 6c203232 20323030 38202d20 (Jul 22 2008 - fffc001f : 31343a31 363a3037 2900 14:16:07)..