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

kuldeep nigam kuldeepnigam at gmail.com
Wed Mar 4 06:22:11 CET 2009


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.

Image size is 512 K
Actual image size is 207 K (approx.)
u-boot version is 1.3.2

Hexdump of u-boot.bin is as follows:

00337d0 0000 0200 0000 0100 f9ff a8d0 faff 78f8
00337e0 faff 90f8 faff acf8 0000 1000 0000 0100
00337f0 f9ff 68ce faff b4f8 faff d4f8 faff 04fa
0033800 0000 1000 0000 0100 f9ff 68ce faff 08fa
0033810 0000 0000 ffff ffff ffff ffff ffff ffff
0033820 ffff ffff ffff ffff ffff ffff ffff ffff
*
007fff0 ffff ffff ffff ffff ffff ffff f84b 0421
0080000



with regards,
kuldeep nigam


More information about the U-Boot mailing list