tools/firmware-utils: Allow changing the CRC32 poly value in mkbrnimg
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Jun 2015 13:58:48 +0000 (13:58 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Jun 2015 13:58:48 +0000 (13:58 +0000)
commit8d8e6cc813bfcad099f83c19945b83588c351fb1
tree03087561901b8501e9912758fb5ca1b484325d27
parent6041ec768332f8413e1714338be8439027f35bdf
tools/firmware-utils: Allow changing the CRC32 poly value in mkbrnimg

VGV7519 is currently the only device with brnboot support. It seems to
be happy with 0x2083b8ed as CRC32 poly. However, VGV7510KW22 fails to
validate the checksum - it requires 0x04c11db7 instead.

I have built an brnboot image manually on the command line, once with
the old code and then with the new code but passing the old CRC32
poly value. Both resulted in a brnboot image with the same sha1sum.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45881 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/firmware-utils/src/mkbrnimg.c