Home
last modified time | relevance | path

Searched hist:bd694244db7bc9699548ca276f992aa5ce9bbac0 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/dfu/
H A Ddfu.cbd694244db7bc9699548ca276f992aa5ce9bbac0 Mon May 12 08:43:36 UTC 2014 Lukasz Majewski <l.majewski@samsung.com> dfu: Introduction of the "dfu_hash_algo" env variable for checksum method setting

Up till now the CRC32 of received data was calculated unconditionally.
The standard crc32 implementation causes long delay when large images
were uploaded.

The "dfu_hash_algo" environment variable gives the opportunity to
disable on demand the hash (crc32) calculation.
It can be done without the need to recompile the u-boot binary.

By default the crc32 is calculated, which means that legacy behavior
has been preserved.

Tests results:
400 MiB ums.img file
With crc32 calculation: 65 sec [avg 6.29 MB/s]
Without crc32 calculation: 25 sec [avg 16.17 MB/s]

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>