[FS#3641] New D-Link bootloader (for DIR-2660 and possibly others) requires different header for images

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Feb 25 06:14:08 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Bas Rieter (basrieter) 

Attached to Project - OpenWrt/LEDE Project
Summary - New D-Link bootloader (for DIR-2660 and possibly others) requires different header for images
Task Type - Bug Report
Category - Other
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - It seems that some D-Link devices require additional header values in order to flash it via the recovery and to upgrade existing installs. The older versions of the DIR-2660 A1 could be flashed with the current OpenWrt snapshot. 

The latest batch of DIR-2660 devices, and possibly others, come with a new bootloader that requires some additional header fields to be set. Manually changing the headers of the factory and upgrade files, allows them to flash succesfully;

you can edit one your self if you like
add "DIR-2660" text at address 0x40 hex
add "V1.00000" text at address 0x80 hex
add "A1" text at address 0x90 hex
change bytes 0x04 to 0x07 to 00
create crc32 for bytes 0x0 to 0x9F
place result in bytes 0x04 to 0x07

This is discussed in https://forum.openwrt.org/t/d-link-dir-2660-a2/89507/11 and https://forum.openwrt.org/t/dir-2660-dir-1935-dir-882-how-to-safely-install-openwrt/88697/10.


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3641

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list