D-Link DIR-2640 Version: A1

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Author Message
hheinreich
DD-WRT Novice


Joined: 28 Feb 2022
Posts: 4

PostPosted: Mon Feb 28, 2022 18:24    Post subject: D-Link DIR-2640 Version: A1 Reply with quote
The D-Link DIR-2640 version A1 is compatible according to
https://dd-wrt.com/router-detection/



Here's more specific information about the D-Link DIR-2640:

FCCID:
https://fcc.io/KA2/IR2640A1

Pictures External:
https://apps.fcc.gov/eas/GetApplicationAttachment.html?id=4511661

Pictures Internal:
https://apps.fcc.gov/eas/GetApplicationAttachment.html?id=4511662

CPU:   
MediaTek MT7621AT

CPU Cores:  
2

CPU MHz:   
880

Flash MB:   
128NAND

RAM MB:    
256

Ethernet Gbit ports:    
5

Switch:    
MediaTek MT7621AT

Network ports:
1x WAN, 4x LAN

WLAN Hardware:
MediaTek MT7615N

WLAN 2.4GHz: 
b/g/n

WLAN 5.0GHz: 
a/n/ac

USB ports:
1x 2.0, 1x 3.0

LED count: 
8

Button count: 
2

Please consider adding DD-WRT support for the D-Link DIR-2640.


Last edited by hheinreich on Mon Feb 28, 2022 19:23; edited 4 times in total
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Mon Feb 28, 2022 18:33    Post subject: Reply with quote
Hardware donation / fullflash dump, please. It's easier for the developer if he has a test device in his possession. Unless you have patches to submit to add support...

https://dd-wrt.com/donations/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
hheinreich
DD-WRT Novice


Joined: 28 Feb 2022
Posts: 4

PostPosted: Mon Feb 28, 2022 18:43    Post subject: Reply with quote
kernel-panic69 wrote:
....fullflash dump, please.


I edited my post and added flash dump as an attachment to the post.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Mon Feb 28, 2022 18:50    Post subject: Reply with quote
I've already contacted BrainSlayer via email. No reply yet, but he should reply in the forum at some point...
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7463
Location: Dresden, Germany

PostPosted: Tue Mar 01, 2022 8:14    Post subject: Reply with quote
sorry. had some private troubles. sometimes worlds collide in a unexpected way. anyway. please do a full flash dump. not just bootloader. everything you can get. usually you can do this from commandline of the dlink console using cat and some program you find in the box. i often missuse the vendors webserver to transfer files locally
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
hheinreich
DD-WRT Novice


Joined: 28 Feb 2022
Posts: 4

PostPosted: Fri Mar 04, 2022 1:45    Post subject: Reply with quote
BrainSlayer wrote:
usually you can do this from commandline of the dlink console


The default password is not working. Any suggestions on what to try?

dlinkrouter login: Admin
Password:
Login incorrect

dlinkrouter login: admin
Password:
Login incorrect


Also Uboot does not pause to allow me to change the boot options.

Code:

20:22:36.253> Image1 Stable Flag --> Stable
20:22:36.316> Image1 Try Counter --> 0
20:22:36.316>
20:22:36.316> Image1: OK Image2: OK
20:22:36.316>
20:22:36.316> =================================================
20:22:36.316>
20:22:36.316> Please choose the operation:
20:22:36.316>    1: Load system code to SDRAM via TFTP.
20:22:36.316>    2: Load system code then write to Flash via TFTP.
20:22:36.316>    3: Boot system code via Flash (default).
20:22:36.316>    4: Entr boot command line interface.
20:22:36.316>    6: System Enter UBoot to Update Img or Bin.
20:22:36.316>    7: Load Boot Loader code then write to Flash via Serial.
20:22:36.316>    9: Load Boot Loader code then write to Flash via TFTP.
20:22:36.316> default: 3
20:22:37.379>  0
20:22:37.379>   
20:22:37.379> 3: System Boot system code via Flash.
20:22:37.379> ## Booting image at bc180000 ...
20:22:37.379>    Image Name:   Linux Kernel Image
20:22:37.379>    Image Type:   MIPS Linux Kernel Image (lzma compressed)
20:22:37.379>    Data Size:    17599312 Bytes = 16.8 MB
20:22:37.379>    Load Address: 81001000
20:22:37.379>    Entry Point:  81622ae0
hheinreich
DD-WRT Novice


Joined: 28 Feb 2022
Posts: 4

PostPosted: Fri Mar 04, 2022 18:55    Post subject: Reply with quote
I was not able to login to the serial console so I went back to trying Uboot menu option 4 to create the dump. I had to send "4" every 1ms and that worked to override the default option.

Code:
Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   6: System Enter UBoot to Update Img or Bin.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
default: 3


You choosed 4

 0

   
4: System Enter Boot Command Line Interface.

U-Boot 1.1.3 (Jul 17 2019 - 16:41:57)

MT7621 # help nand

nand nand usage:
  nand id
  nand read <addr> <len>
  nand write <addr> <data...>
  nand page <number>
  nand erase <addr> <len>
  nand oob <number>
  nand dump
  nand init

MT7621 #


I should be able to read the whole flash.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum