diff options
author | Oliver Fleischmann <ogf@bnv-bamberg.de> | 2017-07-20 21:02:33 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-07-27 09:13:27 +0200 |
commit | a92c64e8ae38f6a221823610c4a2f454c813c484 (patch) | |
tree | 6b92f5d5c9647678520236e11cdcda5e789687db /target/linux/ramips/base-files | |
parent | a3995a678551c699c9702ed28003c2ba868d2db1 (diff) | |
download | upstream-a92c64e8ae38f6a221823610c4a2f454c813c484.tar.gz upstream-a92c64e8ae38f6a221823610c4a2f454c813c484.tar.bz2 upstream-a92c64e8ae38f6a221823610c4a2f454c813c484.zip |
ramips: add support for Loewe WMDR-143N
The WMDR-143N is a small module originally used as a Wifi client
in some Loewe smart TV sets. It is sold cheaply at german surplus
shops. The module contains a RT3662 SOC.
Specifications:
- 500 MHz CPU Clock
- 1x 10/100Mbps Ethernet (pin header)
- 32 MB of RAM
- 8 MB of FLASH
- 2T3R 2.4/5 GHz (SOC internal)
- 3 Antennas on PCB
- UART pads on PCB (J3: 1 = +3.3V, 2 = RX, 3 = TX, 4 = GND), TX
and RX are 3,3V only! The square hole is pin 1
- Power supply pads on PCB (J6: 1 and 2 = +5V, 3 and 4 = GND)
The square hole is pin 1
The original firmware has two identical kernel/rootfs images and
two "Factory" calibration data blocks in flash. The LEDE image
leaves only the first "Factory" block in place and uses both
"Kernel" blocks and the redundant "Factory" block together to gain
enough space for the jffs2 partition.
Flash instructions:
You need UART and Ethernet connections to flash the board. Use
the LEDE "sysupgrade.bin" image with tftp.
Apply power to the board and in the first 5 seconds, hit 2 to
select TFTP upload. The bootloader asks for board- and server IP
addresses and filename.
Alternate method: With the vendor firmware running, assign an IP
address to the ethernet port, tftp the firmware image to
/tmp and write to mtd4 ("KernelA").
Signed-off-by: Oliver Fleischmann <ogf@bnv-bamberg.de>
[remove pinctrl node from dts, no pin is used as GPIO]
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
3 files changed, 7 insertions, 1 deletions
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 ee769b5a0f..cd9e08a3c2 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -230,6 +230,7 @@ ramips_setup_interfaces() na930|\ pbr-d1|\ wli-tx4-ag300n|\ + wmdr-143n|\ wmr-300|\ wn3000rpv3|\ wrh-300cr) @@ -345,7 +346,8 @@ ramips_setup_macs() case $board in a5-v11|\ - ht-tm02) + ht-tm02|\ + wmdr-143n) lan_mac=$(cat /sys/class/net/eth0/address) ;; all0239-3g|\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 685ba070da..0267c9df3f 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -598,6 +598,9 @@ ramips_board_detect() { *"WLR-6000") name="wlr-6000" ;; + *"WMDR-143N") + name="wmdr-143n" + ;; *"WMR-300") name="wmr-300" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index b087d993b7..14f5ec2cb3 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -170,6 +170,7 @@ platform_check_image() { wl-wn575a3|\ wli-tx4-ag300n|\ wlr-6000|\ + wmdr-143n|\ wmr-300|\ wn3000rpv3|\ wnce2001|\ |