crc32 command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I want to verify the version downloaded by tftp before installing it.

I have the file on my workstation:

$ cksum /var/lib/tftpboot/uImage-pcm038 
2156276197 2317276 /var/lib/tftpboot/uImage-pcm038

Under my barebox, I then try to verify the file:

barebox:/ crc32
Usage: crc32 [OPTION] [AREA]
Calculate a crc32 checksum of a memory area
Options:
  -f <file>   Use file instead of memory
  -v <crc>    Verfify

barebox:/ crc32 -f uImage-pcm038 -v 2156276197 0+2317276
CRC32 for uImage-pcm038 0x00000000 ... 0x00235bdb ==> 0xd484eccb != 0x808629e5 ** ERROR **
barebox:/ crc32 -f uImage-pcm038                        
CRC32 for uImage-pcm038 0x00000000 ... 0x00235bdb ==> 0xd484eccb


I have barebox-2010.11.0


How can I use crc32 to verify the files I transfer?

Regards,

Ben

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux