OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Medium
  • Reported Version lede-17.01
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Alexander Couzens - 05.03.2017
Last edited by Adrian Schmutzler - 19.06.2020

FS#598 - 842nd doesnt flash successful with factory image using the tftp-recover over the bootloader

Device: 842nd v3.1
LEDE: 17.01

Go into recovery tftp mode by pressing first the WPS/Reset button and now connect the power.
The device enters tftp recovery to download via tftp from file (wr842nv3_tp_recovery.bin)

The device *seems* to accept the flash (sorry, no serial to confirm).
On boot, the device doesn’t show leds nor it accepts any packets on ipv6 on any port (ping ff02::1) or ping to

I guess this happens, because the oem flasher doesn’t flash all blocks of the factory image.

To recover from this state:
- flash via tftp recovery
- enter LEDE rescue/recovery
- ssh root@
- use sysupgrade image

- confirm this happens also with trunk
- use serial to get more debug

Closed by  Adrian Schmutzler
19.06.2020 11:21
Reason for closing:  Won't fix
Additional comments about closing:  

LEDE-17.01 has reached EOL (end of life). This bug has been closed automatically. If the problem persists with a newer version, please file an appropriate new bug report for that version.

Marcus Scharf commented on 25.06.2017 17:28

i can confirm this problem. My wr842 wont accept any flash over tftp

Leon George commented on 26.05.2019 10:02

Try this:


+define Device/tplink-16mlzma-fc0000
+  TPLINK_FLASHLAYOUT := 16Mlzma-fc0000
+  IMAGE_SIZE := 16128k

Of course, you need to change the wr842n target device:

 define Device/tl-wr842n-v3
-  $(Device/tplink-16mlzma)
+  $(Device/tplink-16mlzma-fc0000)

That might be enough.
Place the image in your tftp-server's directory as "wr842nv2_tp_recovery.bin", set your IP address to, hold the reset button while powering on the router, and wait.

If i recall correctly and for some reason i don't remember, we also added a boot section to the image using an official image.
We sliced a chunk from the beginning of the image and prepended it to the openwrt-file; somewhat like this:

dd if=official-firmware.bin of=wr842nv2_tp_recovery.bin bs=512 count=$part_size
cat openwrt-tl-wr842n-v2.bin >> wr842nv2_tp_recovery.bin

$part_size should be 256 - i might be wrong, though.
EDIT: 257

I wish i had documented that better..


Available keyboard shortcuts


Task Details

Task Editing