Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:beeline:smartbox_giga [2022/08/21 14:32] – [Installation] csharper2005 | toh:beeline:smartbox_giga [2023/08/31 11:03] – [OpenWrt installation] csharper2005 | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| /*****/ | /*****/ | ||
| - | {{media: | + | {{media: |
| Line 28: | Line 28: | ||
| ===== Experimental firmware ===== | ===== Experimental firmware ===== | ||
| - | * Community builds - https:// | + | * [[https:// |
| Line 41: | Line 41: | ||
| - | ===== Backup | + | ===== Backup ===== |
| - | It's recommended to make a backup before you start: | + | It's recommended to make a mtd backup before you start: |
| - | * Set up a tftp server (e.g. tftpd64 for windows) | + | 1. [[: |
| - | * Connect to a router using SSH shell and run the following commands: | + | 2. Set up a tftp server (e.g. tftpd64 for windows) |
| + | |||
| + | 3. Connect to a router using SSH shell and run the following commands: | ||
| <code bash> | <code bash> | ||
| cd /tmp | cd /tmp | ||
| for i in 0 1 2 3 4 5 6 7 8 9 10 11; do nanddump -f mtd$i /dev/mtd$i; \ | for i in 0 1 2 3 4 5 6 7 8 9 10 11; do nanddump -f mtd$i /dev/mtd$i; \ | ||
| - | tftp -l mtd$i -p 192.168.1.2; md5sum mtd$i >> mtd.md5; rm mtd$i; done | + | tftp -l mtd$i -p 10.0.0.2; md5sum mtd$i >> mtd.md5; rm mtd$i; done |
| - | tftp -l mtd.md5 -p 192.168.1.2 | + | tftp -l mtd.md5 -p 10.0.0.2 |
| </ | </ | ||
| - | 192.168.1.2 - IP of the tftp server | + | 10.0.0.2 - IP of the tftp server |
| - | * Check backups in your tftp root folder. | + | 4. Check backups in your tftp root folder. |
| Line 83: | Line 85: | ||
| ---- | ---- | ||
| + | |||
| + | {{page> | ||
| -> [[docs: | -> [[docs: | ||
| + | ==== OpenWrt installation ==== | ||
| <WRAP round info 100%> | <WRAP round info 100%> | ||
| Line 92: | Line 97: | ||
| </ | </ | ||
| - | 1. Downgrade | + | 1. Install |
| - | 2. Give factory OpenWrt image a shorter name, e.g. 1001.img. Or just remove | + | 2. Remove |
| - | 3. Upload and update the firmware | + | 3. Install OpenWrt //factory image// |
| Remark: | Remark: | ||
| You might need make the 3rd step twice if your running firmware is booted from the Slot 1 (Sercomm0 bootflag). The stock firmware reverses the bootflag (Sercomm0 / Sercomm1) on each firmware update. | You might need make the 3rd step twice if your running firmware is booted from the Slot 1 (Sercomm0 bootflag). The stock firmware reverses the bootflag (Sercomm0 / Sercomm1) on each firmware update. | ||
| + | ==== OEM easy installation ==== | ||
| + | |||
| + | See [[: | ||
| + | |||
| + | ==== OEM installation using the TFTP method ==== | ||
| + | |||
| + | -> [[docs: | ||
| + | |||
| + | Not applicable | ||
| ===== Obtaining SSH access on the stock firmware ===== | ===== Obtaining SSH access on the stock firmware ===== | ||
| Line 111: | Line 125: | ||
| 4. Change IP of your client to 10.0.0.2/ | 4. Change IP of your client to 10.0.0.2/ | ||
| - | 5. Connect to the router using SSH shell (SuperUser:SNxxxxxxxxxx, where SNxxxxxxxxxx | + | 5. Connect to the router using SSH shell (SuperUser:SQxxxxxxxxxx, where SQxxxxxxxxxx |
| 6. Run in SSH shell: | 6. Run in SSH shell: | ||
| Line 118: | Line 132: | ||
| </ | </ | ||
| - | ==== Flash Layout ==== | + | ===== Flash Layout |
| ^ mtd ^ partition | ^ mtd ^ partition | ||
| Line 135: | Line 149: | ||
| - | ==== OEM easy installation ==== | ||
| - | See Installation section | ||
| - | ==== OEM installation using the TFTP method ==== | ||
| - | -> [[docs: | ||
| - | |||
| - | Not applicable | ||
| ===== Upgrading OpenWrt ===== | ===== Upgrading OpenWrt ===== | ||
| Line 185: | Line 193: | ||
| -> [[docs: | -> [[docs: | ||
| - | ==== 1. Sercomm | + | ==== sercomm-recovery utility ==== |
| 1. Compile [[https:// | 1. Compile [[https:// | ||
| <code bash> | <code bash> | ||
| Line 200: | Line 208: | ||
| 3. Wait until the router is flashed and rebooted. | 3. Wait until the router is flashed and rebooted. | ||
| - | [[https:// | + | [[https:// |
| Line 216: | Line 224: | ||
| </ | </ | ||
| - | ==== 2. TFTP method ==== | + | ==== tftp method ==== |
| 1. Run tftp server on IP 10.10.10.3/ | 1. Run tftp server on IP 10.10.10.3/ | ||
| Line 286: | Line 294: | ||
| // | // | ||
| - | {{media: | + | {{media: |
| //Back://\\ | //Back://\\ | ||
| - | {{media: | + | {{media: |
| //Backside label://\\ | //Backside label://\\ | ||
| - | {{media: | + | {{media: |
| ==== Opening the case ==== | ==== Opening the case ==== | ||
| Line 301: | Line 309: | ||
| //Main PCB://\\ | //Main PCB://\\ | ||
| - | {{media: | + | {{media: |
| - | {{media: | + | {{media: |
| - | {{media: | + | {{media: |
| ==== Serial ==== | ==== Serial ==== | ||
| Line 311: | Line 319: | ||
| How to connect to the Serial Port of this specific device:\\ | How to connect to the Serial Port of this specific device:\\ | ||
| - | {{media: | + | {{media: |
| ^ Serial connection parameters\\ for Beeline SmartBox GIGA | 57600, 8N1, 3.3V | | ^ Serial connection parameters\\ for Beeline SmartBox GIGA | 57600, 8N1, 3.3V | | ||
| Line 323: | Line 331: | ||
| ===== Bootloader mods ===== | ===== Bootloader mods ===== | ||
| - | ==== Breed bootloader ==== | + | |
| + | |||
| + | ==== Restoring the original U-boot | ||
| {{page> | {{page> | ||
| - | Original Breed for Xiaomi R3G can be used, but breedenter utility is required to enter the Breed. Breed web interface shouldn' | ||
| - | See //Notes -> Breed bootloader// section for links | + | **Input conditions: |
| + | * router with Breed bootloader | ||
| - | Breed settings for Beeline Smartbox GIGA: | + | **You will need:** |
| + | * PC or Virtual machine with Linux | ||
| + | * mtd partitions backup (**mtd0.bin** - //u-boot bootloader//, | ||
| + | * http server with mtd partitions backup (i.e. with IP 192.168.1.2) | ||
| + | * recovery image (see [[https:// | ||
| + | |||
| + | |||
| + | === U-Boot and stock firmware recovery steps === | ||
| + | |||
| + | **<color # | ||
| + | |||
| + | 1. Enter the Breed telnet shell (IP: 192.168.1.1) | ||
| + | |||
| + | 2. Download //dynamic partition map// backup from your http server and write it: | ||
| + | <code bash> | ||
| + | wget http:// | ||
| + | </ | ||
| + | <code bash> | ||
| + | flash erase 0x100000 0x200000 | ||
| + | </ | ||
| + | <code bash> | ||
| + | flash write 0x100000 0x80001000 0x100000 | ||
| + | </ | ||
| + | |||
| + | 2. Download //Factory// backup from your http server and write it: | ||
| + | <code bash> | ||
| + | wget http:// | ||
| + | </ | ||
| + | <code bash> | ||
| + | flash write 0x200000 0x80001000 0x100000 | ||
| + | </ | ||
| + | |||
| + | 3. Download //u-boot bootloader// | ||
| + | |||
| + | **<color # | ||
| + | |||
| + | <code bash> | ||
| + | wget http:// | ||
| + | </ | ||
| + | <code bash> | ||
| + | flash erase 0x0 0x100000 | ||
| + | </ | ||
| + | <code bash> | ||
| + | flash write 0x0 0x80001000 0x100000 | ||
| + | </ | ||
| + | |||
| + | 4. Check written data and reboot: | ||
| + | <code bash> | ||
| + | flash dump 0x0 | ||
| + | </ | ||
| + | <code bash> | ||
| + | flash dump 0x100000 | ||
| + | </ | ||
| + | <code bash> | ||
| + | flash dump 0x200000 | ||
| + | </ | ||
| - | ^ Setting | + | 5. Use [[https:// |
| - | | autoboot.command | + | |
| ===== Hardware mods ===== | ===== Hardware mods ===== | ||
| Line 348: | Line 412: | ||
| Rating 100-330 uF x 16V. | Rating 100-330 uF x 16V. | ||
| - | {{media: | + | {{media: |
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| Line 1636: | Line 1700: | ||
| * [[https:// | * [[https:// | ||
| - | === OpenWrt unofficial | + | === OpenWrt |
| * [[https:// | * [[https:// | ||
| - | |||
| - | === Breed bootloader === | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag> |