All my images are located on a NAND flash and I boot my device from it. The problem is that it takes a VERY long time for U-BOOT to copy the uImage file before executing it from the RAM.
When I configure the U-BOOT, there is a parameter to specify the image's size:
"nand_img_siz=0x500000\0"
and my goal here is to make this a dynamic parameter. This 0x500000 is the maximum size that the uImage file can reach.
So, is there a way to read the uImage file to check for its size? Where is this information located?
Thanks,
Davi