[U-Boot] How to Remove the padding bits from u-boot.bin

Anatolij Gustschin agust at denx.de
Wed Mar 4 13:40:29 CET 2009


kuldeep nigam wrote:
> Hi All,
>         I am using MIP405T board and trying to reduce the size of u-boot.bin
> by disabling the drivers that i didn't need. But the image size is not
> changing because it is padding all 1's at the end of the image. Can anyone
> tell me how to remove these padding bits.

try to change CONFIG_SYS_FLASH_BASE and CONFIG_SYS_MONITOR_LEN in
the board config file:

#define CONFIG_SYS_FLASH_BASE	0xFFFC0000
#define CONFIG_SYS_MONITOR_LEN	(256 * 1024)

Best regards,
Anatolij


More information about the U-Boot mailing list