[U-Boot-Users] ppc4xx u-boot image size toooooo bigggggggggg
Wolfgang Denk
wd at denx.de
Wed Aug 8 20:12:41 CEST 2007
In message <c656a4d20708081053m25be710aycc275644f52162f5 at mail.gmail.com> you wrote:
>
> I am working on PPC4xx processor. I am using u-boot-1.1.4 version. I
> am building the u-boot image with the following options. But size of
> my u-boot.srec size 3.1M and u-boot.bin size 1.0M.
This may be normal, depending on your configuration...
> Can any one help me out why the size of the image is toooooo
> bigggggggg.......plzzzzzzzz...
Fix your code?
> make[1]: Leaving directory `/home/sumanth/u-boot-1.1.4/post/cpu'
> powerpc-405-linux-gnu-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -fPIC
> -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__
> -DTEXT_BASE=0xFFF00000 -I/home/sumanth/u-boot-1.1.4/include
^^^^^^^^^^^^^^^^^^^^^^^^
Your code starts at 0xFFF00000, and the 4xx have the reset entry
point at 0xFFFFFFFC, i. e. at the end of the 32 bit ddress space.
Guess how much 0xFFFFFFFC - 0xFFF00000 + 4 gives? 1.0 MiB? Right.
You asked for it, so you got it.
No error. All exactly as you requested.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
God made machine language; all the rest is the work of man.
More information about the U-Boot
mailing list