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:09] – [OEM firmware] 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 
- - Press the RESET button, don't release it yet! +  - Press the RESET button, don't release it yet! 
- - Power on the router +  - Power on the router 
- - Wait 8 seconds or more until the LEDs blink sequentially from left to right +  - Wait 8 seconds or more until the LEDs blink sequentially from left to right 
- - Release the RESET button +  - Release the RESET button 
- - Execute the sercomm-recovery utility as root in your OS-linux computer: <code bash>sercomm-recovery -v eth0 flash_burn.bin</code> If you have the serial console attached to the router, you'll se this output: <WRAP bootlog>+  - Execute the sercomm-recovery utility as root in your OS-linux computer: <code bash>sercomm-recovery -v eth0 flash_burn.bin</code> If you have the serial console attached to the router, you'll se this output: <WRAP bootlog>
 <nowiki>CFE version 1.0.38-114.185 for BCM96328 (32bit,SP,BE)                                                                              <nowiki>CFE version 1.0.38-114.185 for BCM96328 (32bit,SP,BE)                                                                             
 Build Date: 2013年 08月 21日 星期三 11:42:59 CST (root@localhost)                                                                  Build Date: 2013年 08月 21日 星期三 11:42:59 CST (root@localhost)                                                                 
Line 206: Line 186:
 Resetting board in 0 seconds...HELO        </nowiki> Resetting board in 0 seconds...HELO        </nowiki>
 </WRAP>\\ </WRAP>\\
-   +  <WRAP center round download 60%> 
-https://drive.google.com/uc?export=download&id=1ZdEOVFXbEn65BF2LZGt0p3qThjr-fxC7+Recovery image: [[https://drive.google.com/uc?export=download&id=1ZdEOVFXbEn65BF2LZGt0p3qThjr-fxC7|ad1018-recovery-flash_burn.zip]] 
 + 
 +Sercomm recovery utility: https://github.com/danitool/sercomm-recovery 
 +</WRAP> 
 + 
 ===== OEM firmware ===== ===== OEM firmware =====
  
Line 278: 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