Modify

Opened 4 years ago

Last modified 2 years ago

#12636 new defect

D-Link DIR-615-D3: eeprom dump is defect

Reported by: whatever Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

On first boot of openwrt on my D-Link DIR-615-D3 the file /lib/firmware/RT305X.eeprom is created by reading 272 bytes from /dev/mtd2 at offset 0.
At least on my hardware this is the wrong partition and offset.

Result:

  • wifi not working
  • wrong mac-address on wifi
  • wifi-led shows wrong status

Dirty fix:

  1. dd if=/dev/mtd1 of=/lib/firmware/RT305X.eeprom bs=1 skip=16384 count=272
  2. delete /etc/config/wireless
  3. reboot

A proper fix should of course dump the right eeprom in the first place.
Maybe /dev/mtd1 at 0x4000 works for all dir-615-d models while the current /dev/mtd2 @ 0x0 only works for some? Otherwise the dump script should check the first bytes of several locations and only dump if it "looks" right (starts with 0x52 0x30).

Corresponding topic in the forum: https://forum.openwrt.org/viewtopic.php?id=19281&p=8

Attachments (1)

dir-615-d_eeprom_fix.diff (471 bytes) - added by whatever 4 years ago.
patch for attitude_adjustment r34778

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by whatever

patch for attitude_adjustment r34778

comment:1 Changed 4 years ago by whatever

Patch was confirmed to be working on D3/D4 by "-=niki=-" and "7f_orz" in the forum!

It would be great to have this patch (and #12653) applied to Attitude Adjustment before final release. The changes are minimal and proven to be a huge improvement for dir-615-d owners, there shouldn't be any risk for regressions.

comment:2 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.