[U-Boot] [PATCH] Fix: if using crc32 command watchdog timed out

Jens Scharsig js_at_ng at scharsoft.de
Sun Jul 17 08:25:33 CEST 2011


Hello,
Am 2011-07-16 11:53, schrieb Albert ARIBAUD:
> Hi Jens,
> 
> Le 05/07/2011 09:26, Jens Scharsig a écrit :
> 
>> * Fix: if using crc32 command watchdog timed out
>>
>>
>> Signed-off-by: Jens Scharsig<esw at bus-elektronik.de>
>> ---
> 
> Nitpick: in addition to describing which issue the patch fixes, can you 
> describe how it fixes it?

If your board is using a watchdog and you try to calculate/check a CRC2
with crc32 command, the watchdog timed out on large data blocks.
The commands around uboot-images also uses crc32, but don't time out.
The difference between:

CRC32 command calls the the crc32 function and the"image" commands
crc32_wd (i think _wd stands for watchdog). So this patch changes the
the function call from crc32 to crc_32 to support watchdog reset in  the
same way as "image" commands.

Best regards

Jens


More information about the U-Boot mailing list