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.

loading kernel large sized uImage via u-boot

Other Parts Discussed in Thread: AM3517

we are using memmove to copy a big kernel image (approx. size 16M Bytes ).
our kernel image is bigger than the public linux image and we're trying to load the kernal from flash memory to RAM via u-boot code (memmove) and it fails(CPU exception) upon sizes above 15.7M Byte.
smaller sized images are working fine.
 
We're using the following methods:
static int bootm_load_os(image_info_t os, ulong *load_end, int boot_progress)
memmove_wd ((void *)load, (void *)image_start, image_len, CHUNKSZ);
memmove (to, from, len);
 
We have also tried to split the uImage to smaller chunks and load them. The smaller chunks passed okay till the point where the total sum of their size reached the almost 16M size.
 
we are using Linux-2.6.32.
 
Please refer to attached power up log with uImage of 16.1M Bytes.
Also attached uImages with different sizes (14M and 15M passed loading stage, 16M failed).
 
Please advise,
 
Regards,
Eran