2016-04-01 07:11:48 +00:00
|
|
|
#
|
|
|
|
# RT3662/RT3883 Profiles
|
|
|
|
#
|
2016-11-21 07:46:48 +00:00
|
|
|
define Build/mkrtn56uimg
|
|
|
|
$(STAGING_DIR_HOST)/bin/mkrtn56uimg $(1) $@
|
|
|
|
endef
|
2016-04-01 07:11:48 +00:00
|
|
|
|
2016-10-02 19:00:22 +00:00
|
|
|
define Device/br-6475nd
|
|
|
|
DTS := BR-6475ND
|
|
|
|
BLOCKSIZE := 64k
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
2016-11-26 09:43:34 +00:00
|
|
|
edimax-header -s CSYS -m RN54 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
|
|
|
append-metadata | check-size $$$$(IMAGE_SIZE)
|
2016-10-02 19:00:22 +00:00
|
|
|
DEVICE_TITLE := Edimax BR-6475nD
|
|
|
|
DEVICE_PACKAGES := swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += br-6475nd
|
|
|
|
|
2016-09-03 08:18:31 +00:00
|
|
|
define Device/cy-swr1100
|
|
|
|
DTS := CY-SWR1100
|
|
|
|
BLOCKSIZE := 64k
|
|
|
|
KERNEL := $(KERNEL_DTB)
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/sysupgrade.bin := \
|
|
|
|
append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
|
|
|
|
seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
|
2016-11-17 12:02:26 +00:00
|
|
|
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
2016-09-03 08:18:31 +00:00
|
|
|
IMAGE/factory.bin := \
|
|
|
|
append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
|
|
|
|
append-rootfs | pad-rootfs -x 64 | \
|
|
|
|
seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
|
2016-11-20 20:28:38 +00:00
|
|
|
seama-seal -m "signature=wrgnd10_samsung_ss815" | \
|
2016-09-03 08:18:31 +00:00
|
|
|
check-size $$$$(IMAGE_SIZE)
|
|
|
|
DEVICE_TITLE := Samsung CY-SWR1100
|
2019-11-15 06:47:51 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
|
2019-11-13 14:23:17 +00:00
|
|
|
kmod-usb-ledtrig-usbport swconfig
|
2016-09-03 08:18:31 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += cy-swr1100
|
|
|
|
|
|
|
|
|
|
|
|
define Device/dir-645
|
|
|
|
DTS := DIR-645
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
KERNEL := $(KERNEL_DTB)
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/sysupgrade.bin := \
|
|
|
|
append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
|
|
|
|
seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
|
2016-11-17 12:02:26 +00:00
|
|
|
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
2016-09-03 08:18:31 +00:00
|
|
|
IMAGE/factory.bin := \
|
|
|
|
append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
|
|
|
|
append-rootfs | pad-rootfs -x 64 | \
|
|
|
|
seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
|
|
|
|
seama-seal -m "signature=wrgn39_dlob.hans_dir645" | \
|
|
|
|
check-size $$$$(IMAGE_SIZE)
|
|
|
|
DEVICE_TITLE := D-Link DIR-645
|
|
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dir-645
|
|
|
|
|
|
|
|
|
|
|
|
define Device/hpm
|
|
|
|
DTS := HPM
|
|
|
|
BLOCKSIZE := 64k
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_TITLE := Omnima HPM
|
|
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += hpm
|
|
|
|
|
|
|
|
|
2016-11-21 07:46:48 +00:00
|
|
|
define Device/rt-n56u
|
|
|
|
DTS := RT-N56U
|
|
|
|
BLOCKSIZE := 64k
|
|
|
|
IMAGE/sysupgrade.bin += | mkrtn56uimg -s
|
|
|
|
DEVICE_TITLE := Asus RT-N56U
|
|
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += rt-n56u
|
|
|
|
|
|
|
|
|
2016-09-09 05:12:37 +00:00
|
|
|
define Device/tew-691gr
|
2016-08-19 23:18:51 +00:00
|
|
|
DTS := TEW-691GR
|
2016-09-08 19:03:57 +00:00
|
|
|
BLOCKSIZE := 64k
|
2016-08-19 23:18:51 +00:00
|
|
|
IMAGES += factory.bin
|
2016-11-26 09:43:34 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
|
|
|
|
umedia-header 0x026910
|
2016-08-19 23:18:51 +00:00
|
|
|
DEVICE_TITLE := TRENDnet TEW-691GR
|
|
|
|
DEVICE_PACKAGES := swconfig
|
|
|
|
endef
|
2016-09-09 05:12:37 +00:00
|
|
|
TARGET_DEVICES += tew-691gr
|
2016-08-19 23:18:51 +00:00
|
|
|
|
|
|
|
|
2016-09-09 05:12:37 +00:00
|
|
|
define Device/tew-692gr
|
2016-08-19 23:18:51 +00:00
|
|
|
DTS := TEW-692GR
|
2016-09-08 19:03:57 +00:00
|
|
|
BLOCKSIZE := 64k
|
2016-08-19 23:18:51 +00:00
|
|
|
IMAGES += factory.bin
|
2016-11-26 09:43:34 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
|
|
|
|
umedia-header 0x026920
|
2016-08-19 23:18:51 +00:00
|
|
|
DEVICE_TITLE := TRENDnet TEW-692GR
|
|
|
|
DEVICE_PACKAGES := swconfig
|
|
|
|
endef
|
2016-09-09 05:12:37 +00:00
|
|
|
TARGET_DEVICES += tew-692gr
|
2016-08-19 23:18:51 +00:00
|
|
|
|
|
|
|
|
2016-08-14 21:30:44 +00:00
|
|
|
define Device/wlr-6000
|
|
|
|
DTS := WLR-6000
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
IMAGE_SIZE := 7244k
|
|
|
|
IMAGES += factory.dlf
|
2016-11-26 09:43:34 +00:00
|
|
|
IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
|
|
|
|
senao-header -r 0x0202 -p 0x41 -t 2
|
2016-08-14 21:30:44 +00:00
|
|
|
DEVICE_TITLE := Sitecom WLR-6000
|
|
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wlr-6000
|
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>
2017-07-20 19:02:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
define Device/wmdr-143n
|
|
|
|
DTS := WMDR-143N
|
|
|
|
BLOCKSIZE := 64k
|
|
|
|
DEVICE_TITLE := Loewe WMDR-143N
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wmdr-143n
|