Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:howto:restore_art_partition [2015/04/17 01:15] – [How to restore ART partition] bazzdocs:guide-user:installation:restore_art_partition [2020/03/29 19:27] (current) – Add kmod-mtd-rw info jalakas
Line 1: Line 1:
 ====== How to restore ART partition ====== ====== How to restore ART partition ======
 +
 +<WRAP center round tip 60%>
 +Backing up your ART data is a wise precaution as it is irreplaceable.
 +</WRAP>
 +
 +
 +<WRAP center round alert 60%>
 +**This procedure does not apply to copying ART data from a current router to another!**
 +
 +Current routers' ART data are usually specific to the instance of the router and contain calibration data.
 +
 +While your router may seem to work, it is quite possible that it is operating poorly, potentially out-of-spec.
 +
 +Out-of-spec operation is often illegal, and can cause interference to other wireless devices, yours and your neighbors.
 +</WRAP>
 +
 +<WRAP center round important 60%>
 +Note also that the tooling specified is inappropriate for NAND-based routers and may cause further damage, if used.
 +</WRAP>
 +
 +
  
 **Whole procedure was tested on Netgear WNDAP360 and BUFFALO WZR-HP-AG300H** **Whole procedure was tested on Netgear WNDAP360 and BUFFALO WZR-HP-AG300H**
Line 7: Line 28:
 While playing on my router I managed to break my ART partition. While playing on my router I managed to break my ART partition.
  
-If this is wiped corrupted ath radios will not come up anymore.+If the ART partition is wiped or corruptedath radios will not come up anymore.
  
-ART partition contains calibration data so if you didn't make a backup of your own than your radios might not perform as well as before (I still think it's better to have radios performing not 100% than not performing at all :) ).+ART partition contains calibration data so if you didn't make a backup of your own then your radios might not perform as well as before (I still think it's better to have radios performing not 100% than not performing at all :) ).
  
 ===== Prerequisite ===== ===== Prerequisite =====
  
-Well, ideal situation is when you have backed up your ART partition, this is easy to do in openWRT and at least some stock firmwares which you can access via console and are linux based.+Well, ideal situation is when you have backed up your ART partition, this is easy to do in OpenWrt and at least some stock firmwares which you can access via console and are linux based.
 On device find art partition: On device find art partition:
 <code> <code>
Line 55: Line 76:
 ===== Flashing ART partition back ===== ===== Flashing ART partition back =====
  
-This can be flashed from OS level (if partition is NOT readonly - if it is you can re-define this in openwrt source and re-compile kernelor via uboot.+This can be flashed from OS level (if partition is NOT readonly). 
 + 
 +If it is readonly you can
 +  * get or build package **kmod-mtd-rw** and enable mtd writing temporarly with command "insmod mtd-rw.ko i_want_a_brick=1" 
 +  * or re-define this in OpenWrt source and re-compile kernel 
 +  * or via uboot.
  
-==== Flashing via OpenWRT ====+==== Flashing via OpenWrt ====
  
 This is simple enough, you need to place your art partition dump into /tmp, and then: This is simple enough, you need to place your art partition dump into /tmp, and then:
Line 66: Line 92:
 Above command will perform reboot after flashing, this is needed. Above command will perform reboot after flashing, this is needed.
  
-If on the other hand your partition is read-only and you have no console you have to make it RW my changing it's definition in images/Makefile than recompile and put new image on your device.+If on the other hand your partition is read-only and you have no console you have to make it RW my changing it's definition in images/Makefile than recompile and put new image on your device. Also you can use kernel module to write ART without recompiling, see **kmod-mtd-rw**.
 After you fixed your art partition I **HIGHLY** advice to put a proper image back (with art partition as read-only)  After you fixed your art partition I **HIGHLY** advice to put a proper image back (with art partition as read-only) 
  
  • Last modified: 2020/03/29 19:27
  • by jalakas