Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
toh:d-link:dir-300 [2019/11/23 05:42] – [Original Firmware flash layout] sefralgontoh:d-link:dir-300 [2019/11/23 05:46] – [Original Firmware flash layout] sefralgon
Line 51: Line 51:
 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 ''upgrade'' partition. Knowing this allows restoring original firmware from an alternative firmware, such as OpenWrt. A command such as ''tail -c +97 dir300a.bin > upgrade.bin'' allows to prepare file suitable for writing directly onto mtd partition. 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 ''upgrade'' partition. Knowing this allows restoring original firmware from an alternative firmware, such as OpenWrt. A command such as ''tail -c +97 dir300a.bin > upgrade.bin'' allows to prepare file suitable for writing directly onto mtd partition.
  
-The data on the end of upgrade partition is likely remaining from past OpenWrt install and not used for anything.+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 ====
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1