[U-Boot-Users] Uboot image size reduction

Hi all,
I am trying to build a uboot image of size 90k.
My full image having all the functionality has a size of 169k. Till now i am able to reduce its size to 106k.
Things i did to reduce it to 106k are
-- disabled all the commands except (loadb,saveenv,setenv,help,printenv,protect) which are not used to load the kernel image. -- disabled the longhelp macro.
Is there any possibility to compress some parts of uboot and decompress into the memory when needed?
Also i am open to any suggestions which can help me to redue the image size close to 90k
Thanks in advance. Vijayakumar

In message 081d01c640e8$31405d90$e001a8c0@Vijayakumar you wrote:
I am trying to build a uboot image of size 90k.
90 k is a funny size. It does not match typical flash sector sizes. How did you come to such a size restriction?
Is there any possibility to compress some parts of uboot and decompress into the memory when needed?
No. if you think about the code needed to do that you will soon see that this does not fit into U-Boot's design principles (easily portable, provide success [and error!] messages as early as possible, etc.).
Also i am open to any suggestions which can help me to redue the image size close to 90k
Use latest compilers, i. e. GCC 4.x; they optimize much better than older versions.
Best regards,
Wolfgang Denk
participants (2)
-
Vijayakumar
-
Wolfgang Denk