we have fw upgrade feature implemented. At times we see CRC check sum fails on the updated image.
Once we update the boot args to the correct image size issue gets resolved.
What is the way to update the bootargs to take the correct image size.
we do not want to give default bigger size, as it will unduly delay the boot process.
tftp boot calculates this dynamically based on the downloaded size. Is there a way we can direct uboot to read image header from partition and copies the required size and then calculate crc?