
In message c656a4d20708081053m25be710aycc275644f52162f5@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