This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Add u-boot file size ,can not boot system!!

Hi  Everyone,

In uboot source tree, i modified the EMMC partition size and add a new partition like below:

..\board\omap4430sdp\mmc.c

static struct partition partitions[] = {
    { "-", 128 },
    { "xloader", 128 },
    { "bootloader", 1024 },      //My changed
    {"logo",4*1024},                //My added
    /* "misc" partition is required for recovery */
    { "misc", 128 },
    { "-", 384 },
    { "efs", 16384 },
    { "crypto", 16 },
    { "recovery", 8*1024 },
    { "boot", 8*1024 },
    { "system", 512*1024 },
    { "cache", 256*1024 },
    { "userdata", 0},
    { 0, 0 },
};

In logo partition ,i save some logo file, the max size is 4M. In uboot source , i will add some charging logo files, so i changed bootloader size to 1M.

After added display subsystem, i added 4pcs charging logo pictures and compiled into u-boot.bin, u-boot.bin file size is about 778100Bytes, after flash into EMMC devices,  i can not boot boot.img.

I removed two pictures , recompiled u-boot, the new u-boot.bin size is about 537256 Bytes, after flash into EMMC devices, can boot system.

How can i fix the problem??

Post Thanks~~~~