Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| toh:option:gs3 [2016/10/29 15:08] – [3G card Tutorial] digital0 | toh:option:gs3 [2019/10/14 22:44] (current) – Tags section added tmomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Option Globesurfer III ====== | ||
| + | //20150402: What is the target? What is the name of the image? I don't find GlobeSurfer3 among Barrier Breaker images. | ||
| + | Also 12.09.1 was listed in Table of Hardware as version? That sounds wrong - was it supported for AA? Please clearify. /Zo0ok // | ||
| + | |||
| + | Globesurfer III is a wireless router with 3G modem and RJ11 port for analog phone by default. | ||
| + | |||
| + | It was replaced by Globesurfer III+ after some time. Main differences are faster 3G card (GTM661W) and removal of LCD, the rest is same. | ||
| + | |||
| + | GlobeSurfer III is not officially supported by OpenWRT. See [[https:// | ||
| + | |||
| + | ===== Supported Version ===== | ||
| + | |||
| + | ^ OpenWRT | ||
| + | | GlobeSurfer III | Tested stable | ||
| + | | GlobeSurfer 3+ | Tested stable | ||
| + | | Image III/ | ||
| + | ===== Specifications ===== | ||
| + | |||
| + | GlobeSurfer III specifications are more details on [[https:// | ||
| + | |||
| + | ^ ^ GlobeSurfer III ^ GlobeSurfer 3+ ^ | ||
| + | | **CPU: | ||
| + | | **Bootloader: | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size: | ||
| + | | **RAM: | ||
| + | | **Wireless: | ||
| + | | **Ethernet: | ||
| + | | **USB: | ||
| + | | **miniPCI-e**\\ //USB Only//\\ //SIM Card Slot// | GTM382 | ||
| + | | **Serial: | ||
| + | | **PSU: | ||
| + | | **Antenna: | ||
| + | | **Extra: | ||
| + | |||
| + | |||
| + | ===== Hardware ===== | ||
| + | Globesurfer III | ||
| + | |||
| + | http:// | ||
| + | |||
| + | Globesurfer III+ | ||
| + | |||
| + | http:// | ||
| + | |||
| + | SIM card slot: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | Connectors: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | Inside(GS3): | ||
| + | |||
| + | http:// | ||
| + | |||
| + | http:// | ||
| + | |||
| + | Router provides separate RX and TX antennas and it gives very good Wifi signal quality, transmit power can be set 24dBm (251mW) as highest, it has internal Wifi signal amplifier. | ||
| + | |||
| + | 3G performance is also very good thanks to two big antennas in upper corners. | ||
| + | |||
| + | ===== Serial port and JTAG ===== | ||
| + | |||
| + | The serial port and JTAG pads are on the pcb. Remove the 4 Torx 10 screws and lift the cover. | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | See the forum for more info : [[https:// | ||
| + | |||
| + | ===== Flash Layout ===== | ||
| + | |||
| + | Please read the article [[docs: | ||
| + | |||
| + | ^ | ||
| + | ^ Layer0 | ||
| + | ^ Layer1 | ||
| + | ^ mountpoint | ||
| + | ^ filesystem | ||
| + | ^ | ||
| + | ^ Layer0 | ||
| + | ^ Layer1 | ||
| + | ^ Layer2 | ||
| + | ^ Layer3 | ||
| + | ^ | ||
| + | ^ Layer0 | ||
| + | ^ Layer1 | ||
| + | ^ Layer2 | ||
| + | ^ <color magenta> | ||
| + | ^ filesystem | ||
| + | ^ Layer3 | ||
| + | ^ <color magenta> | ||
| + | ^ filesystem | ||
| + | |||
| + | ==== Factory Flash Layout ==== | ||
| + | |||
| + | The factory firmware is composed of multiple sections | ||
| + | * Section 00 : CFE Bootloader | ||
| + | * Section 01 : First bootable image | ||
| + | * Section 02 : Second bootable image ( recovery ) | ||
| + | * Section 03 | ||
| + | * Section 04 : OpenRG Configuration | ||
| + | * Section 05 : OpenRG Configuration | ||
| + | * Section 06 : OpenRG Factory Configuration | ||
| + | * Section 07 | ||
| + | * Section 08 : NVRAM | ||
| + | |||
| + | < | ||
| + | CFE> flash_layout | ||
| + | Flash layout: | ||
| + | |||
| + | Section 00 Type UNKNOWN | ||
| + | No more information. | ||
| + | |||
| + | Section 01 Type IMAGE Range 0x00040000-0x00840000 MaxSize 0x007FFF6C | ||
| + | Size 0x007D6000 Name ' | ||
| + | Checksum 0x3F5C2EEA Counter 0x00000113 Start Offset 0x00000000 | ||
| + | |||
| + | Section 02 Type IMAGE Range 0x00840000-0x01040000 MaxSize 0x007FFF6C | ||
| + | Size 0x007D6000 Name ' | ||
| + | Checksum 0x3F5903FC Counter 0x0000010E Start Offset 0x00000000 | ||
| + | |||
| + | Section 03 Type UNKNOWN | ||
| + | Size 0x0079AD4E Name ' | ||
| + | Checksum 0x3C97916A Counter 0x00000112 Start Offset 0x00000000 | ||
| + | |||
| + | Section 04 Type CONF Range 0x01FA0000-0x01FC0000 MaxSize 0x0001FF6C | ||
| + | Size 0x00004593 Name ' | ||
| + | Checksum 0x0022E78C Counter 0x00000139 Start Offset 0x00000000 | ||
| + | |||
| + | Section 05 Type CONF Range 0x01FC0000-0x01FE0000 MaxSize 0x0001FF6C | ||
| + | Size 0x00004590 Name ' | ||
| + | Checksum 0x00231B6A Counter 0x0000013B Start Offset 0x00000000 | ||
| + | |||
| + | Section 06 Type FACTORY | ||
| + | Size 0x00001152 Name ' | ||
| + | Checksum 0x00049B12 Counter 0x00000118 Start Offset 0x00000000 | ||
| + | |||
| + | Section 07 Type UNKNOWN | ||
| + | No more information. | ||
| + | |||
| + | Section 08 Type UNKNOWN | ||
| + | No more information. | ||
| + | |||
| + | Total 9 sections found. | ||
| + | *** command status = 0 | ||
| + | </ | ||
| + | |||
| + | ===== Openwrt installation procedure ===== | ||
| + | |||
| + | ==== Installing with OpenRG ==== | ||
| + | |||
| + | - Download the image [[toh: | ||
| + | - Set your PC's card to 192.168.1.2 and subnet 255.255.255.0, | ||
| + | - Start TFTP server | ||
| + | - Connect with telnet to 192.168.1.1 (with PuTTY) | ||
| + | - Flash the image with command < | ||
| + | - After uploading image, you should restart the router with simple command < | ||
| + | - After a few minutes it should boot with openwrt image | ||
| + | |||
| + | **Note**: This router have two boot sections (we flashed the first one), so if your router won't start openwrt at this point, you should flash openwrt image to second section with this command: | ||
| + | < | ||
| + | |||
| + | This image contains drivers for USB, WLAN, 3G card and everything works very stable. | ||
| + | |||
| + | Done | ||
| + | |||
| + | ==== Testing and Installing with CFE ==== | ||
| + | |||
| + | **Note : CFE bootloader is accessible via the serial pad.**\\ | ||
| + | //The serial configuration is 115200 with 8-bits data, no parity, 1-bit stop.// | ||
| + | |||
| + | The bootloader process can be interrupted with Ctrl+C combination. | ||
| + | |||
| + | === Initramfs === | ||
| + | The device can boot an initramfs image. This is a quick way to test the system before flashing.\\ | ||
| + | The procedure for booting a such image is described at [[docs: | ||
| + | |||
| + | ^ NETWORK | ||
| + | ^ Static Address | ||
| + | | < | ||
| + | |||
| + | === Flashing === | ||
| + | |||
| + | The flash layout of the device can be printed to the console : | ||
| + | < | ||
| + | |||
| + | **Note : Do not erase or flash the bootloader, i.e Section 00, unless you know what you are doing.** | ||
| + | |||
| + | Prior flashing, the flash can be saved via tftp. For saving, the flash start address is 0xbc000000. The following command saves the whole 32MiB of flash. | ||
| + | < | ||
| + | |||
| + | To flash an image onto the device. Section 01 has to be re-written with the new image. Section 02 may need to be erased if the image is too small. CFE may boot to the secondary OpenRG image on the device if present. | ||
| + | < | ||
| + | |||
| + | ===== 3G card Tutorial ===== | ||
| + | |||
| + | There is no need to install additional drivers for Option 3G card. | ||
| + | |||
| + | This card works as HSO device, so it's not yet configurable via LuCI, you must edit network file instead: | ||
| + | < | ||
| + | |||
| + | it should look like this: | ||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option ifname ' | ||
| + | option device '/ | ||
| + | option service ' | ||
| + | option apn ' | ||
| + | option pincode 'your pin' | ||
| + | </ | ||
| + | |||
| + | then assign new interface to firewall zone WAN | ||
| + | |||
| + | After pressing connect, wait about 30 secounds and you are good to go, log should look like this: | ||
| + | < | ||
| + | OpenWrt daemon.notice netifd: option (15351): SIM ready | ||
| + | OpenWrt daemon.notice netifd: option (15351): PIN set successfully | ||
| + | OpenWrt daemon.notice netifd: option (15351): ATZFeb 26 13:14:34 OpenWrt daemon.notice netifd: option (15351): OKCalling UMTS/GPRS^M | ||
| + | OpenWrt daemon.notice netifd: option (15351): AT+CGDCONT=1," | ||
| + | OpenWrt daemon.notice netifd: option (15351): OK | ||
| + | OpenWrt daemon.notice netifd: option (15351): AT_OPSYS=3, | ||
| + | OpenWrt daemon.notice netifd: option (15351): OK | ||
| + | OpenWrt daemon.notice netifd: option (15351): AT_OWANCALL=1, | ||
| + | OpenWrt daemon.notice netifd: option (15351): OK | ||
| + | OpenWrt daemon.notice netifd: option (15351): AT_OWANDATA=1 | ||
| + | OpenWrt daemon.notice netifd: option (15351): _OWANDATA: 1, 10.79.22.240, | ||
| + | OpenWrt daemon.notice netifd: Interface ' | ||
| + | </ | ||
| + | **Notes** | ||
| + | * be aware that modem must be unlocked to your operator | ||
| + | * if you swap the SIM card while router is on, you must restart it because the card hotplug doesn' | ||
| + | * usb_modeswitch will try to switch device but it fails, you can delete this file to prevent this: | ||
| + | < | ||
| + | |||
| + | ===== Firmware Image Structure ===== | ||
| + | |||
| + | The CFE bootloader will boot an image in a specific format. An OpenRG section needs to have a OpenRG Header. The OpenRG header is followed by a TRX header containing the bootable firmware. CFE checks the OpenRG checksum and the TRX CRC32. | ||
| + | |||
| + | The OpenRG header checksum is the sum of all bytes in header + data. The checksum is done with the OpenRG Checksum bytes being zero. The amount of data is set in length. The OpenRG checksum and length value are stored in Big-Endian. The TRX header part offsets are relative to the start of the TRX header. The TRX CRC32 and length value are stored in Little-Endian. | ||
| + | |||
| + | ^ ^ 00 ^ 01 ^ 02 ^ 03 ^ ^ | ||
| + | ^ 00 | **OpenRG Magic** (FEEDBABE) | ||
| + | ^ 04 | **OpenRG Length**\\ //Exclude Header// | ||
| + | ^ 08 | **OpenRG Checksum**\\ //Inlcude Header//\\ //Checksum Excluded // |||| | ||
| + | ^ 0C | **Counter**\\ //Not Used// | ||
| + | ^ 10 | **Start Offset**\\ //Not Used// | ||
| + | ^ 14 | **Name**\\ //128 Bytes// | ||
| + | ^ | ::: |||| ::: | | ||
| + | ^ 90 | ::: |||| ::: | | ||
| + | ^ 94 | **TRX Magic** (' | ||
| + | ^ 98 | **TRX Length**\\ //Include Header// | ||
| + | ^ 9C | **TRX CRC32** | ||
| + | ^ A0 | **TRX Flags** | ||
| + | ^ A4 | **TRX Part Off[0]** | ||
| + | ^ A8 | **TRX Part Off[1]** | ||
| + | ^ AC | **TRX Part Off[2]** | ||
| + | ^ B0 | **Data** | ||
| + | |||
| + | OpenRG image header hexdump | ||
| + | |||
| + | < | ||
| + | Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | ||
| + | 00040000 | ||
| + | 00040010 | ||
| + | 00040020 | ||
| + | 00040030 | ||
| + | * | ||
| + | 00040090 | ||
| + | 000400A0 | ||
| + | 000400B0 | ||
| + | </ | ||
| + | |||
| + | OpenWRT firmware image hexdump. | ||
| + | |||
| + | < | ||
| + | Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | ||
| + | 00000000 | ||
| + | 00000010 | ||
| + | 00000020 | ||
| + | 00000030 | ||
| + | * | ||
| + | 00000090 | ||
| + | 000000A0 | ||
| + | 000000B0 | ||
| + | </ | ||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||