diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2014-05-12 10:43:36 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-06-01 19:18:00 +0200 |
commit | bd694244db7bc9699548ca276f992aa5ce9bbac0 (patch) | |
tree | 40c8f258de00111bb83f67599b24952a81bb5a92 /doc/README.MPC866 | |
parent | 90b51c33f362926e17d4c07dcef1ce822abaa89f (diff) | |
download | u-boot-imx-bd694244db7bc9699548ca276f992aa5ce9bbac0.zip u-boot-imx-bd694244db7bc9699548ca276f992aa5ce9bbac0.tar.gz u-boot-imx-bd694244db7bc9699548ca276f992aa5ce9bbac0.tar.bz2 |
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>
Diffstat (limited to 'doc/README.MPC866')
0 files changed, 0 insertions, 0 deletions