diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2019-03-10 01:28:28 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2019-03-11 22:00:26 +0100 |
commit | 9b6413982c4c7f9191d08995f1e9b67e38f259de (patch) | |
tree | ffeba0c46e3e405aaa7029dfe8dbafb99d505f98 /target/linux/ramips/base-files | |
parent | 6ac5144b13dd2c43f83deb715a9a2487f87d3c46 (diff) | |
download | upstream-9b6413982c4c7f9191d08995f1e9b67e38f259de.tar.gz upstream-9b6413982c4c7f9191d08995f1e9b67e38f259de.tar.bz2 upstream-9b6413982c4c7f9191d08995f1e9b67e38f259de.zip |
ramips: add support for ALFA Network Tube-E4G
ALFA Network Tube-E4G is an outdoor, dual-SIM LTE Cat. 4 CPE, based on
MediaTek MT7620A, equipped with Quectel EC25 miniPCIe modem.
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32 MB of flash (SPI NOR)
- 1x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 1x detachable antenna (modem main)
- 1x internal antenna (modem div)
- 1x GPS passive antenna (optional)
- 5x LED (all driven by GPIO)
- 1x button (reset)
- UART (4-pin, 2.54 mm pitch) header on PCB
Other:
Default SIM slot is selected at an early stage by U-Boot, based on
'default_sim' environment value: 1 or unset = SIM1 (mini), 2 = SIM2
(micro). U-Boot also resets the modem, using #PERST signal, before
starting kernel.
Flash instruction:
You can use the 'sysupgrade' image directly in vendor firmware which is
based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
-n -F ...' command). Alternatively, use web recovery mode in U-Boot:
1. Power the device with reset button pressed, the LAN LED will start
blinking slowly and after ~3 seconds, when it starts blinking faster,
you can release the button.
2. Setup static IP 192.168.1.2/24 on your PC.
3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index df5dd84d5a..3a761decb1 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -38,6 +38,10 @@ alfa-network,ac1200rm) alfa-network,awusfree1) set_wifi_led "$boardname:blue:wlan" ;; +alfa-network,tube-e4g) + ucidef_set_led_netdev "4g" "4g" "$boardname:green:4g" "wwan0" + ucidef_set_led_netdev "lan" "lan" "$boardname:blue:lan" "eth0" + ;; all0256n-4M|\ all0256n-8M) ucidef_set_rssimon "wlan0" "200000" "1" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 6657b7273d..5221838547 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -147,6 +147,7 @@ ramips_setup_interfaces() "0:lan" "1:lan" "2:lan" "4:wan" "6@eth0" ;; alfa-network,awusfree1|\ + alfa-network,tube-e4g|\ cs-qr10|\ d105|\ dlink,dap-1522-a1|\ |