Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Mar 17, 2017 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Mar 17, 2017

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

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Aug 7, 2018

JamesT42:

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

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Aug 21, 2018

ThomasCr:

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

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Sep 19, 2018

robimarko:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant