DENX . DULG . HowCanIReduceTheImageSize

14.2.11. How Can I Reduce The Image Size?

I am trying to reduce the size of the u-boot.bin file so that it fits into 256 KB. I disabled all the drivers that I didn't need but the binary size is still 512KB, it seems to be a hard number coded in somewhere. Where can the image size be altered from?

Some processors have a fixed reset vector address at 0xFFFFFFFC, so the U-Boot image has to include that address, i. e. it covers the full range from the start address to the end of the 32 bit address space. In such a case, the start address must be changed - check the setting of TEXT_BASE in your board/<name>/ file.

----- Revision r1.1 - 13 Dec 2008 - 20:04 - WolfgangDenk
Copyright © 2002-2020 by DENX Software Engineering