D-Link DIR-615-D3: eeprom dump is defect
|Reported by:||whatever||Owned by:||developers|
|Priority:||normal||Milestone:||Barrier Breaker 14.07|
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.
- wifi not working
- wrong mac-address on wifi
- wifi-led shows wrong status
- dd if=/dev/mtd1 of=/lib/firmware/RT305X.eeprom bs=1 skip=16384 count=272
- delete /etc/config/wireless
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