Skip to contentSkip to conversation

u-boot.bin size below 50K

U-Boot-Users Houda 4 participants 5 messages Jul 21, 2005

lore
Share & tools
lore

Houda

author
#0 lore raw

Hi,
I would like to know if it is at all possible to reduce the size of the u-boot to 50K or less? I've tried removing all the non-standard commands without going anywhere close to 50k! Is there a way to reduce it to very basic form? thanks,
Hoda

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

I would like to know if it is at all possible to reduce the size of the u-boot to 50K or less? I've tried removing all the non-standard commands without going anywhere close to 50k! Is there a way to reduce it to very basic form?

No.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What can it profit a man to gain the whole world and to come  to  his
property with a gastric ulcer, a blown prostate, and bifocals?
                                     -- John Steinbeck, _Cannery Row_
#4 lore raw
In reply to Houda
Quoted 6 lines · Houda

Hi,
I would like to know if it is at all possible to reduce the size of the u-boot to 50K or less? I've tried removing all the non-standard commands without going anywhere close to 50k! Is there a way to reduce it to very basic form? thanks,
Hoda

Theoretically, yes.

Would it still be u-boot? The changes likely would be so large that the result would not be recognizable as u-boot.

Has anyone done it? I am not aware of anyone doing it. The question has been asked before but no patches posted saying "u-boot in 50K" so I suspect not.

You have the source and a challenge, if you care to accept it ;-)

gvb

#2 lore raw

[U-Boot-Users] compile 1.1.2 - at91rm9200

In reply to Wolfgang Denk

As you can know, we can apply a patch for booting u-boot 1.0.0 from Atmel SPI dataflash. Since I know that a new u-boot version is available (1.1.3), I would like to boot again u-boot from SPI dataflash. Do I have to apply a patch? (where can I find it?)

Regards

Christian

#3 lore raw

[U-Boot-Users] compile 1.1.2 - at91rm9200

Quoted 4 lines · In message <017801c58e24$66b964c0$6b01a8c0@cc> you wrote:

As you can know, we can apply a patch for booting u-boot 1.0.0 from Atmel SPI dataflash. Since I know that a new u-boot version is available (1.1.3), I would like to boot again u-boot from SPI dataflash. Do I have to apply a patch? (where can I find it?)

No patch is needed, just configure it as needed; see the CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT config options.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Ernest asks Frank how long he has been working for the company.
        "Ever since they threatened to fire me."