Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:d-link:dir-300 [2018/08/30 13:35] – kofec | toh:d-link:dir-300 [2019/11/23 05:46] – [Original Firmware flash layout] sefralgon | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== D-Link DIR-300 Rev.A1 (Airlink AR335W/ | ====== D-Link DIR-300 Rev.A1 (Airlink AR335W/ | ||
| + | |||
| + | {{section> | ||
| + | |||
| |:!: Note: For D-Link DIR-300 Rev.B (other hardware (HW), please see **[[toh: | |:!: Note: For D-Link DIR-300 Rev.B (other hardware (HW), please see **[[toh: | ||
| Line 23: | Line 26: | ||
| ===== First Time Installation... ===== | ===== First Time Installation... ===== | ||
| + | |||
| + | Before you install, you might need to back up the original firmware. It can be done in multiple ways, including but not limited to using UART and/or Telnet. The most important partition is Board/ | ||
| + | |||
| + | ==== Original Firmware flash layout ==== | ||
| + | < | ||
| + | # cat /proc/mtd | ||
| + | dev: size erasesize name | ||
| + | mtd0: 00400000 00010000 " | ||
| + | mtd1: 001ce000 00010000 " | ||
| + | mtd2: 003b0000 00010000 " | ||
| + | mtd3: 00010000 00010000 " | ||
| + | mtd4: 00020000 00010000 " | ||
| + | mtd5: 00010000 00010000 " | ||
| + | mtd6: 00010000 00010000 " | ||
| + | mtd7: 00400000 00010000 " | ||
| + | </ | ||
| + | |||
| + | Partition sizes correspond to DIR-300 v1.05_a319 firmware. While upgrade partition has multiple sections, only '' | ||
| + | |||
| + | ^ Layer0 | ||
| + | ^ Layer1 | ||
| + | ^ Layer2 | ||
| + | |||
| + | When original firmware is flashed onto the router, first 96B are stripped, since it's a header of some kind. The rest of it is written directly to '' | ||
| + | |||
| + | The data on the end of upgrade partition is likely remaining from past installation of some alt firmware and not used for anything. | ||
| + | |||
| ==== Flash Layout ==== | ==== Flash Layout ==== | ||
| First let's have a quick view at the [[docs: | First let's have a quick view at the [[docs: | ||