summaryrefslogtreecommitdiff
path: root/tools/mkimage/src/image.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-07-05 13:38:19 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-07-05 13:38:19 +0000
commit7d81c1b6ccb39833ab3ff5f2f890bc03e22c9d84 (patch)
treed0077ceeac58e85654fa3afd0a3cbd41feee2fdb /tools/mkimage/src/image.h
parent34d362d1a7c6c28b7a2d7c364972ef14091b29b9 (diff)
downloadmtk-20170518-7d81c1b6ccb39833ab3ff5f2f890bc03e22c9d84.zip
mtk-20170518-7d81c1b6ccb39833ab3ff5f2f890bc03e22c9d84.tar.gz
mtk-20170518-7d81c1b6ccb39833ab3ff5f2f890bc03e22c9d84.tar.bz2
If the *.img file is larger than 0x1e8000 loading it with flash -s 0x100000 -d 0xffe08000 -l <length>
on the bootloader prompt will destroy the bootloader and brick the device. The attached patch tries to implement a size check and renames the image into *.img.too_big. It applies to svn r11401. Signed-off-by: Joerg Albert <jal2@gmx.de> SVN-Revision: 11662
Diffstat (limited to 'tools/mkimage/src/image.h')
0 files changed, 0 insertions, 0 deletions