U-Boot CRC calculation wrong when updating files on Connect ME 9210

When I update partitions from U-Boot on Digi Connect ME 9210, e.g.:

CME9210# update linux
TFTP from server xxx; our IP address is xxx
Filename 'uImage-cme9210js'.
Load address: 0x200000
Loading: #################################################################
         #################################################################
         #################################################################
         ######################
done
Bytes transferred = 1110496 (10f1e0 hex)
Calculated checksum = 0x2144df1c
..

and I check the checksum later, a different checkum is displayed:
CME9210# crc32 50050000 10f1e0
CRC32 for 50050000 ... 5015f1df ==> 60c9b1e0

The second checksum is the correct one! To get the correct checksum displayed already during update, please make sure you are using U-Boot 1.1.6 DUB-RevG or higher.

Last updated: Oct 14, 2024

Filed Under

Embedded

Recently Viewed

No recently viewed articles

Did you find this article helpful?