aparcar / openwrt

Staging tree of Paul Spooren
Other
9 stars 1 forks source link

FS#634 - Factory flashing fails because LEDE filename is too long (>= 64 chars) #635

Open aparcar opened 7 years ago

aparcar commented 7 years ago

bjonglez:

On a TP-Link TL-WR841N v11, flashing LEDE from the web interface of the stock firmware is not possible.

This is caused by a stupid check that refuses filename longer than 64 chars in the web interface. The check is implemented in javascript and returns a cryptic error message like "Please select a file to upload", as if no file was selected.

The current naming scheme is quite long:

$ echo 'lede-17.01.0-r3205-59508e3-ar71xx-generic-tl-wr841-v11-squashfs-factory-eu.bin' | wc -c 79

Shortening the name like the following would decrease the length below 64 chars, and leave some space for a custom suffix (e.g. using EXTRA_IMAGE_NAME in the Imagebuilder):

$ echo 'lede-17.01.0-ar71xx-tlwr841v11-squashfs-factory-eu.bin' | wc -c 55

aparcar commented 6 years ago

JamesT42:

Its openwrt-18.06.0-ar71xx-tiny-tl-wr841-v12-squashfs-factory-eu.bin now, so 65 characters. lol

aparcar commented 6 years ago

ThomasCr:

just rename :) The same happens on TP-Link Archer C7 factory images.

aparcar commented 5 years ago

robimarko:

Close this bug as this is a known limitation and a simple rename solves it