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:wifire:s1500_nbn [2023/04/04 15:41] – [OpenWrt installation] csharper2005toh:wifire:s1500_nbn [2023/10/16 19:48] – [Installation] csharper2005
Line 2: Line 2:
 /* This template is intended to be used via https://openwrt.org/meta/create_new_device_page . */ /* This template is intended to be used via https://openwrt.org/meta/create_new_device_page . */
  
-{{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} 
  
 OEM/ODM name: Sercomm S1500 BUC OEM/ODM name: Sercomm S1500 BUC
 The WiFire S1500.NBN is a CPE wireless router based on the MT7621 platform.  The WiFire S1500.NBN is a CPE wireless router based on the MT7621 platform. 
  
-//Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.//+/* //Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.// */
  
 /*****/ /*****/
Line 16: Line 15:
  
  
-===== OpenWrt support ===== +===== Supported Versions ===== 
-<color orange>**Work in progress.**</color>+
 ---- datatable ---- ---- datatable ----
 cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid
Line 23: Line 22:
 align   : c,c,c,c,c,c,c align   : c,c,c,c,c,c,c
 filter  : Brand=WiFire filter  : Brand=WiFire
-filter  : Model=S1500 NBN+filter  : Model=S1500.NBN
 ---- ----
  
-OpenWrt forum thread: https://forum.openwrt.org/t/adding-support-for-sercomm-s1500-clones-beeline-smartbox-pro-wifire-s1500-nbn/ * 
- 
- 
-/*** if info available: uncomment and fill in 
-===== Supporting activities ===== 
-//Describe if there are any ongoing activities that might lead to OpenWrt support.// 
- 
- 
-***/ 
  
 ===== Experimental firmware ===== ===== Experimental firmware =====
Line 42: Line 32:
  
  
-===== Hardware highlights ===== +===== Hardware Highlights ===== 
-CPU                        ^ Ram      ^ Flash (NAND)   ^ Network     WLAN   ^ USB      ^ Serial   ^ JTag   ^ +---- datatable ---- 
-| MediaTek MT7621AT (880 MHz, 2 cores)    128 MiB  |  128 MiB  |  4x 10/100/1000  |  acbgn    1x 2.0  |   Yes    |   Yes    | +cols    : Model, Versions, CPU, CPU MHz, CPU Cores_numcores, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ 
 +header  : Model, Version,SoC,CPU MHz,CPU Cores,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB 
 +align   : c,c,c,c,c,c,c,c,c,c,c,c,
 +filter  : Brand=WiFire 
 +filter  : Model=S1500.NBN 
 +----
  
 /*** if info available: uncomment and fill in /*** if info available: uncomment and fill in
Line 56: Line 50:
 ***/ ***/
  
-==== OpenWrt installation ====+===== Installation =====
  
-1. Remove all dots from the OpenWrt //factory image// file name (community builds - [[:toh:wifire:s1500_nbn#experimental_firmware]]) 
  
-2. Upload and update the firmware via the original web interface. 2 scenarios are possible: +/* stable release */ 
-   Stock firmware was booted from Slot1 (Sercomm1 bootflag) before the installation you're lucky. OpenWrt will be ready to use after the reboot. +---- datatable ---- 
-   Stock firmware was booted from Slot0 (Sercomm0 bootflagbefore the installation - you'll get the bootloop. Use sercomm-recovery utility (see [[:toh:wifire:s1500_nbn#debricking]] section for the details) for recovery and then start from the p.1 again.+cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url 
 +headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock 
 +align   : c,c,c 
 +filter  : Brand=WiFire 
 +filter  : Model=S1500.NBN 
 +---- 
 + 
 + 
 +-> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] 
 + 
 +===== OpenWrt installation ===== 
 + 
 +  - Remove all dots from the factory image filename (except the dot before file extension) 
 +  - Upload and update the firmware via the original web interface 
 +  - Two options are possible after the reboot
 +    OpenWrt that's OK, the mission accomplished 
 +    * Stock firmware - install Stock firmware (to switch booflag from Sercomm0 to Sercomm1) and then OpenWrt factory image. 
 + 
 + 
 +===== Return to Stock ===== 
 +1. Change the bootflag to Sercomm1 in OpenWrt CLI and then reboot: 
 +<code bash> 
 +printf 1 | dd bs=1 seek=7 count=1 of=/dev/mtdblock2 
 +</code>
  
 +2. Optional: Update with any version of stock firmware if you want to overwrite OpenWrt in Slot 0 completely.
  
 ===== Debricking ===== ===== Debricking =====
Line 88: Line 105:
 [[https://mega.nz/folder/tlIm1JLK#bBRJXq-DVkzJBOR2dC1K5w|Download ready recovery images]] for Sercomm devices. [[https://mega.nz/folder/tlIm1JLK#bBRJXq-DVkzJBOR2dC1K5w|Download ready recovery images]] for Sercomm devices.
  
 +It's also possible to create a recovery image containing OpenWrt. 
  
 === How to make own recovery images === === How to make own recovery images ===
  
-Contcat all mtd backup into one file: +You can use mtd0 ("ALL") backup as a recovery image
-<code bash> +
-cat mtd0 mtd1 mtd2 mtd3 mtd4 mtd5 mtd6 mtd7 mtd8 mtd9 mtd10 > full.bin +
-</code>+
  
  
Line 146: Line 161:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
-^ Architecture     | RAMIPS                             | + 
-^ Vendor           | Sercomm                            | +---- datatemplatelist dttpllist ---- 
-^ Bootloader       | U-Boot SerComm/[[wp>MediaTek]]            | +template: meta:template_datatemplatelist 
-^ System-On-Chip   | MediaTek MT7621AT                  | +cols    : Brand, Model, Versions, Device Type, Availability, Supported Since Commit_git, Supported since Rel, Supported current Rel, Unsupported, Bootloader, CPU, Target, CPU MHzFlash MBs, RAM MB, Switch, Ethernet 100M ports_, Ethernet Gbit ports_, Comments network ports_, Modem, VLAN, WLAN 2.4GHzWLAN 5.0GHzWLAN HardwaresWLAN Comments_, Detachable Antennas_, USB ports_, SATA ports_, Comments USB SATA ports_, Serial, JTAG, LED count, Button count, Power supply, Device Techdata_pageid, Forum topic URL_url, wikidevi URL_url, OEM Device Homepage URL_url, Firmware OEM Stock URL_url, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Comments_ 
-CPU/Speed        | 880 MHz                            | +filter  : Brand=WiFire 
-Flash-Chip       | NAND (ESMT F59L1G81MA)             | +filter  : Model=S1500.NBN 
-^ Flash size       | 128 MiB                            | +----
-RAM              | 128 MiB (Nanya NT5CC64M16GP)       | +
-^ Wireless / 2.4 GHz  | MT7602EN, b/g/nMIMO 2x2       | +
-^ Wireless / GHz | MT7612ENa/n/acMIMO 2x2         | +
-^ Ethernet         | 10/100/1000 Mbit/s w/ vlan support | +
-^ Switch           | MediaTek MT7530 (via SoC MT7621AT) | +
-^ Buttons          | 2 button (RESETWPS)              | +
-USB              | 1x 2.0                             | +
-^ UART           | [[#Serial|Yes]] (Not soldered on the board) | +
-^ mPCIe            | via J2 on PCB (Not soldered on the board) | +
-^ JTAG             | [[#JTAG|Yes]] via J3 on PCB (Not soldered on the board) |+
  
 ---- datatemplatelist dttpllist ---- ---- datatemplatelist dttpllist ----
Line 265: Line 270:
 ^5g |*:10 |LAN +2| ^5g |*:10 |LAN +2|
  
 +
 +
 +===== Bootloader mods =====
 +
 +==== Restoring the original U-boot bootloader and stock firmware  ====
 +
 +{{page>meta:infobox:dangerous&noheader&nofooter&noeditbtn}}
 +
 +**Input conditions:** 
 +  * router with Breed bootloader installed
 +
 +**You will need:**
 +  * PC or Virtual machine with Linux
 +  * mtd partitions backup (**uboot.bin** - //u-boot bootloader//, **factory.bin** - //Factory//)
 +  * http server with mtd partitions backup (i.e. with IP 192.168.1.2)
 +  * recovery image (see [[:toh:wifire:s1500_nbn#sercomm-recovery_utility]]) 
 +
 +
 +=== U-Boot and stock firmware recovery steps ===
 +
 +**<color #ed1c24>After executing each command, carefully read its output before executing the next one.</color>**
 +
 +1. Enter the Breed telnet shell (IP: 192.168.1.1)
 +
 +2. Download //Factory// backup from your http server and write it:
 +<code bash>
 +wget http://192.168.1.2/factory.bin
 +</code>
 +<code bash>
 +flash erase 0x100000 0x100000
 +</code>
 +<code bash>
 +flash write 0x100000 0x80001000 0x100000
 +</code>
 +
 +3. Download //u-boot bootloader// backup from your http server and write it:
 +
 +**<color #ed1c24>The most dangerous part of the instruction. Be extremely careful.</color>**
 +
 +<code bash>
 +wget http://192.168.1.2/uboot.bin
 +</code>
 +<code bash>
 +flash erase 0x0 0x100000
 +</code>
 +<code bash>
 +flash write 0x0 0x80001000 0x100000
 +</code>
 +
 +4. Check written data and reboot:
 +<code bash>
 +flash dump 0x0
 +</code>
 +<code bash>
 +flash dump 0x100000
 +</code>
 +
 +5. Use [[:toh:wifire:s1500_nbn#sercomm-recovery_utility]] utility for stock firmware recovery
  
  
 ===== Bootlogs ===== ===== Bootlogs =====
 +
 ==== OEM bootlog ==== ==== OEM bootlog ====
 <WRAP bootlog> <WRAP bootlog>
Line 2104: Line 2168:
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>EXAMPLETAG unsupported}} 
 {{tagpage>U-boot}} {{tagpage>U-boot}}
 {{tagpage>2core}} {{tagpage>2core}}
Line 2127: Line 2190:
 {{tagpage>12v_powered}} {{tagpage>12v_powered}}
 {{tagpage>Dual_firmware}} {{tagpage>Dual_firmware}}
-{{tagpage>WIP}} 
  • Last modified: 2024/09/05 19:03
  • by csharper2005