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#3641 - New D-Link bootloader (for DIR-2660 and possibly others) requires different header for images #8678

Open
openwrt-bot opened this issue Feb 25, 2021 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

basrieter:

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.

@gabbas1
Copy link

gabbas1 commented Aug 19, 2022

Hi,

just received my new Dir 2660 and it is Rev. A2, too.
Are there any new changes since February?

@JustCryen
Copy link

Hi, as far as I can can see, these headers have been already applied to the current (23.05.2) firmware but my DIR-2660 still doesn't want to flash openwrt (I had to use the curl method and in the message supposedly is: "We are completely uploaded and fine")
But it boots up to the default d-link gui and none of the default passwords work to log in (I've tried my previous one as well)
Any suggestions?

Btw, the sticker on the bottom said HW: A2 but the official web interface showed HW: A1

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

3 participants