aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-05-09 18:10:35 +0000
committerLuka Perkov <luka@openwrt.org>2016-06-19 19:24:31 +0200
commite894664b490c35b3ca06568024de6a00c8c0de24 (patch)
tree5056455cc6e2353c35e4c450cbe04ced4a53c294 /package/firmware
parent5a5787d877400eb83809ea5dc9af5e9fccc5b986 (diff)
downloadmaster-187ad058-e894664b490c35b3ca06568024de6a00c8c0de24.tar.gz
master-187ad058-e894664b490c35b3ca06568024de6a00c8c0de24.tar.bz2
master-187ad058-e894664b490c35b3ca06568024de6a00c8c0de24.zip
mtd: add -c option for specifying amount of data to be used for checksum
So far fixtrx was calculating checksum over amount of data matching partition erase size. It was mostly a workaround of checksum problem after changing anything in initial TRX content (e.g. formatting JFFS2). Its main purpose was to make bootloader accept modified TRX. This didn't provide much protection of flash data against corruption. This new option lets caller request calculating checksum over a bigger amount of data. It may be used e.g. to include whole kernel data for checksum and hopefully make bootloader go info failsafe mode if something goes wrong. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49317 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firmware')
0 files changed, 0 insertions, 0 deletions