[U-Boot] (imp) uboot image size

Hi All,
I changed the TEXT_BASE address to something different. I see that the image size of the uboot is changed so much.
Image size became to 28MB. I dotn know how to make it to 384k.
Earliar text base was at address fffa0000 now i changed to fe400000
let me know what else i should change so that it will hve image size as 384k
-Sagar

Le 13/07/2010 20:38, Sagar Heroorkar a écrit :
Hi All,
I changed the TEXT_BASE address to something different. I see that the image size of the uboot is changed so much.
Image size became to 28MB. I dotn know how to make it to 384k.
Earliar text base was at address fffa0000 now i changed to fe400000
let me know what else i should change so that it will hve image size as 384k
-Sagar
Hi Sagar,
What board are you building for? Maybe you changed TEXT_BASE in the board's config.mk but not in the linker file.
Amicalement,

Dear Sagar Heroorkar,
In message AANLkTinFFEtcEcool9xW-E3dthx3PXy-VLoL3hcU46x3@mail.gmail.com you wrote:
I changed the TEXT_BASE address to something different. I see that the image size of the uboot is changed so much.
It seems you did not really understand what your change is doing, so maybe you explain why you made this change in the first place?
What did you try to acchive?
let me know what else i should change so that it will hve image size as 384k
Undo your changes to TEXT_BASE.
Best regards,
Wolfgang Denk

I am trying to relocate the uboot code to different address in the norflash.
-Sagar
On Wed, Jul 14, 2010 at 2:10 AM, Wolfgang Denk wd@denx.de wrote:
Dear Sagar Heroorkar,
In message AANLkTinFFEtcEcool9xW-E3dthx3PXy-VLoL3hcU46x3@mail.gmail.com you wrote:
I changed the TEXT_BASE address to something different. I see that the
image
size of the uboot is changed so much.
It seems you did not really understand what your change is doing, so maybe you explain why you made this change in the first place?
What did you try to acchive?
let me know what else i should change so that it will hve image size as
384k
Undo your changes to TEXT_BASE.
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@denx.de Living on Earth may be expensive, but it includes an annual free trip around the Sun.

Dear Sagar Heroorkar,
please mind the Netiquette - do not top post, do not full quote.
In message AANLkTilh2L9qoOfMfto4Ho5XKvmKKN0u1o_iSKZPOX7x@mail.gmail.com you wrote:
I am trying to relocate the uboot code to different address in the norflash.
You definitely do NOT want to do that - mind that "relocate" is a well-defined term that does not mean what you seem to think it means (or you don't care).
It seems you did not really understand what your change is doing, so maybe you explain why you made this change in the first place?
What did you try to acchive?
You did not answer my question.
Why are you trying to move the TEXT_BASE?
Eventually your processor (which you do not care to mention) has it's reset entry point at the end of the physical addess space, so this will always be included in theimage - the further you move TEXT_BASE down, the bigger your image will be.
Best regards,
Wolfgang Denk

Le 14/07/2010 22:29, Wolfgang Denk a écrit :
Eventually your processor (which you do not care to mention) has it's reset entry point at the end of the physical addess space, so this will always be included in theimage - the further you move TEXT_BASE down, the bigger your image will be.
Uhm... At least for edminiv2 (and I assume, for other orion5x-based boards as well) changing TEXT_BASE in the board's config.mk does not change the size of the u-boot image; it just changes the RAM address at which it shall relocate and run.
Amicalement,

Dear Albert ARIBAUD,
In message 4C3E20A3.1020600@free.fr you wrote:
Eventually your processor (which you do not care to mention) has it's reset entry point at the end of the physical addess space, so this will always be included in theimage - the further you move TEXT_BASE down, the bigger your image will be.
Uhm... At least for edminiv2 (and I assume, for other orion5x-based boards as well) changing TEXT_BASE in the board's config.mk does not change the size of the u-boot image; it just changes the RAM address at which it shall relocate and run.
I think I am aware of this :-)
Actually this is the very reason why I am pretty sure that the OP is on a PPC box with the reset vector at 0xFFFFFFFC being part of the image.
Best regards,
Wolfgang Denk
participants (3)
-
Albert ARIBAUD
-
Sagar Heroorkar
-
Wolfgang Denk