[U-Boot-Users] crc check on the u-boot image(bin-file)

Hello all u-boot users I have a question about if anyone know if there is any way to generate an CRC check on the u-boot image itself. So you can check that your flash image is intact before you start uClinux. uClinux itself is in a header that is CRC supported.
Thanks in advance.
Best regards Anders Öhlander

In message 02f101c3f4d4$5c37a2e0$9804a8c0@ONTIME62 you wrote:
I have a question about if anyone know if there is any way to generate an CRC check on the u-boot image itself.
Of course there is such a way. You just have to implement it :-)
But this obviously depends on your system coniguration - for example, if your environment is "embedded", you cannot simply checksum the U-Boot image in flash since a simple "saveenv" will change it. SO your code will be pretty configuration dependent, and it will take a bit of thinking to implement this right.
------=_NextPart_000_02EE_01C3F4DC.BD73EF20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
AAAARGGGGGHHHHHHH!!!! Please do NOT post HTML!!!
Wolfgang Denk
participants (2)
-
Anders Öhlander
-
Wolfgang Denk