aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-06-17 22:59:03 +0300
committerJohn Crispin <john@phrozen.org>2018-06-18 20:29:37 +0200
commitdcfe2a461e4b06de6e2b23d29afebbb3c775f647 (patch)
tree2ba3b053f047f1b37ca0fb7a5527a63cd8df3683 /package
parentee1dbffeed442b4968af48b2492ad41ac988dab8 (diff)
downloadupstream-dcfe2a461e4b06de6e2b23d29afebbb3c775f647.tar.gz
upstream-dcfe2a461e4b06de6e2b23d29afebbb3c775f647.tar.bz2
upstream-dcfe2a461e4b06de6e2b23d29afebbb3c775f647.zip
include/image-commands.mk: shorter version in Netgear factory header
Shorten the version string in Netgear factory image header in order to enable u-boot TFTP recovery flash mode to work again. Strip 'r7210-14cb05909a' into 'r7210' in the Netgear image header by removing the hash (anything after "-"). background: Some Netgear routers have recently been unable to flash Openwrt factory image with the TFTP recovery flash mode provided by Netgear u-boot. That is due to over-long Openwrt version string overflowing into the router type string in u-boot code. Modern git versions produce 10-digit short hashes for the Openwrt main repo, and that causes the version string to be too long in the image header, breaking the image ID verification by the TFTP flash routine. (Other option could be to force a shorter hash in scripts/getver.sh, but as the problem only concerns Netgear routers, let's patch just them.) More detailed explanations in FS#1583 Tested with WNDR3800 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions