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
Next revisionBoth sides next revision
toh:sercomm:ad1018 [2021/08/14 12:12] – [Recovery] danitooltoh:sercomm:ad1018 [2021/08/15 19:57] – [OEM NAND flash layout] danitool
Line 61: Line 61:
   - Press the ''Update'' button and wait some minutes until the update process finish\\ {{:media:sercomm:ad1018:ad1018-oem_updating.png?500|}}\\ The router will restart.   - Press the ''Update'' button and wait some minutes until the update process finish\\ {{:media:sercomm:ad1018:ad1018-oem_updating.png?500|}}\\ The router will restart.
   - ssh to 192.168.1.1 and set a root password, or browse to ''%%http://192.168.1.1%%'' if LuCI is installed.   - ssh to 192.168.1.1 and set a root password, or browse to ''%%http://192.168.1.1%%'' if LuCI is installed.
- 
- 
-==== Installation via CFE web (http) server ==== 
- 
-The RESET button only works in this router for sending an unkown Sercomm image via an unknown transfer procedure.  
- 
-We will use the serial port TX-RX shortcircuit trick (or a serial TTL adapter) for entering into CFE's standard web interface recovery 
- 
-  - Set a **static IP** on your computer, use 192.168.1.35 (or any compatible), and connect the ethernet cable to the router. 
-  - Unplug the router's power cord 
-  - Shortcircuit TX and RX [[#Serial|serial pins]] (this will simulate keyboard buttons pressing on the serial port; ugly but it should work) 
-  - Plug the router's power cord and wait 3 or more seconds  
-  - Remove the TX-RX shortcircuit. 
-  - Browse to ''%%http://192.168.1.1%%'', you should see this screen:\\ {{:media:doc:cfe63xx_web-upgrade.png?500|}}  
-  - Send the new firmware and wait some minutes until the firmware upgrade finish. 
-  - ssh to 192.168.1.1 and set a root password, or browse to ''%%http://192.168.1.1%%'' if LuCI is installed. 
- 
-It's also possible to attach a [[docs:techref:hardware:port.serial|serial]] console (UART 3.3V TTL adapter required). Press any key at the console when starting up the router to break into CFE CLI. 
- 
- 
  
  
Line 108: Line 88:
  
 ===== Recovery ===== ===== Recovery =====
-The bootloader (CFE) comes with a proprietary Sercomm module for recovering purposes. If for some reason the router isn'unable to boot due to a faulty firmware, you can recover the router by putting it into Sercomm Upgrade mode. Follow these steps+The bootloader (CFE) comes with a proprietary Sercomm module for recovering purposes. If for some reason the router is unable to boot due to a faulty firmware, you can recover the router by putting it into Sercomm Upgrade mode. Follow these steps:
  
   - Power off the router   - Power off the router
Line 283: Line 263:
 ^ Index ^ Partition ^ Name        ^ filesystem ^ description                 ^ Block ^ Offset         ^ Size ^  Size (KiB)  ^ ^ Index ^ Partition ^ Name        ^ filesystem ^ description                 ^ Block ^ Offset         ^ Size ^  Size (KiB)  ^
 | 00    | mtd0      | cferom    | n/a        | rom bootloader              | 0      | ''0x0000000'' | 0x0020000 |  128 | | 00    | mtd0      | cferom    | n/a        | rom bootloader              | 0      | ''0x0000000'' | 0x0020000 |  128 |
-| 01    | mtd3      | mmap      | n/a        | partition table             | 1      | ''0x0020000'' | 0x00a0000 |  640 |+| 01    | mtd3      | partition-map | n/a    | partition table             | 1      | ''0x0020000'' | 0x00a0000 |  640 |
 | 02    | mtd1      | cferam1   | jffs2      | ram bootloader 1            | 5      | ''0x00c0000'' | 0x0140000 |  1280 | | 02    | mtd1      | cferam1   | jffs2      | ram bootloader 1            | 5      | ''0x00c0000'' | 0x0140000 |  1280 |
 | 03    | mtd2      | cferam2   | jffs2      | ram bootloader 2            | 16     | ''0x0200000'' | 0x0140000 |  1280 | | 03    | mtd2      | cferam2   | jffs2      | ram bootloader 2            | 16     | ''0x0200000'' | 0x0140000 |  1280 |
-| 04    | mtd4      | pcba-sn    | n/a        | serial number               | 26     | ''0x0340000'' | 0x00a0000 |  640 | +| 04    | mtd4      | PCBASN    | n/a        | serial number               | 26     | ''0x0340000'' | 0x00a0000 |  640 | 
-| 05    | mtd5      | protect_data   | jffs2 (rw) | csn, hw_id, pin_code, wlan_ssid, wlan_wpa2_key | 31 | ''0x03e0000'' | 0x0140000 |  1280 | +| 05    | mtd5      | protect   | jffs2 (rw) | csn, hw_id, pin_code, wlan_ssid, wlan_wpa2_key | 31 | ''0x03e0000'' | 0x0140000 |  1280 | 
-| 06    | mtd6      | kernel_fs1   | jffs2 (ro) | Linux root 1                | 41     | ''0x0520000'' | 0x1e00000 |  30720 | +| 06    | mtd6      | kernel_fs1   | jffs2 (ro) | Linux root 1             | 41     | ''0x0520000'' | 0x1e00000 |  30720 | 
-| 07    | mtd12     | lib_1  | jffs2 (ro) | Linux root libraries 1        | 281    | ''0x2320000'' | 0x1400000 |  20480 | +| 07    | mtd12     | lib_1  | jffs2 (ro) | Linux root libraries 1         | 281    | ''0x2320000'' | 0x1400000 |  20480 | 
-| 08    | mtd7      | kernel_fs2 | jffs2 (ro) | Linux root 2     | 441    | ''0x3720000'' | 0x1e00000 |  30720 | +| 08    | mtd7      | kernel_fs2 | jffs2 (ro) | Linux root 2               | 441    | ''0x3720000'' | 0x1e00000 |  30720 | 
-| 09    | mtd13     | lib_2  | jffs2 (ro) | Linux root libraries 2 | 681    | ''0x5520000'' | 0x1400000 |  20480 |+| 09    | mtd13     | lib_2  | jffs2 (ro) | Linux root libraries 2         | 681    | ''0x5520000'' | 0x1400000 |  20480 |
 | 10    | mtd8      | bootflag1 | n/a        | boot select                 | 841    | ''0x6920000'' | 0x0140000 |  1280 | | 10    | mtd8      | bootflag1 | n/a        | boot select                 | 841    | ''0x6920000'' | 0x0140000 |  1280 |
 | 11    | mtd9      | bootflag2 | n/a        | boot select                 | 851    | ''0x6a60000'' | 0x0140000 |  1280 | | 11    | mtd9      | bootflag2 | n/a        | boot select                 | 851    | ''0x6a60000'' | 0x0140000 |  1280 |
 | 12    | mtd10     | xml_cfg   | jffs2 (rw) | configuration               | 861    | ''0x6ba0000'' | 0x0280000 |  2560 | | 12    | mtd10     | xml_cfg   | jffs2 (rw) | configuration               | 861    | ''0x6ba0000'' | 0x0280000 |  2560 |
-| 13    | mtd11     app_dat   | jffs2 (rw) | logs                        | 881    | ''0x6e20000'' | 0x0280000 |  2560 |+| 13    | mtd11     app_data  | jffs2 (rw) | logs                        | 881    | ''0x6e20000'' | 0x0280000 |  2560 |
  
 <WRAP center round download 60%> <WRAP center round download 60%>
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1