2016-04-01 07:11:48 +00:00
|
|
|
#
|
|
|
|
# RT3662/RT3883 Profiles
|
|
|
|
#
|
|
|
|
|
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 | \
|
|
|
|
edimax-header -s CSYS -m RN54 -f 0x70000 -S 0x01100000 | pad-rootfs
|
|
|
|
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" | \
|
|
|
|
pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
|
|
|
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=wrgnd10_samsung_ss815" | \
|
|
|
|
check-size $$$$(IMAGE_SIZE)
|
|
|
|
DEVICE_TITLE := Samsung CY-SWR1100
|
|
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
|
|
|
|
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" | \
|
|
|
|
pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
|
|
|
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-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
|
|
|
|
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | umedia-header 0x026910
|
|
|
|
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
|
|
|
|
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | umedia-header 0x026920
|
|
|
|
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-04-01 07:11:48 +00:00
|
|
|
define BuildFirmware/RTN56U/squashfs
|
|
|
|
$(call BuildFirmware/Default8M/$(1),$(1),rt-n56u,RT-N56U)
|
|
|
|
-mkrtn56uimg -s $(call sysupname,$(1),rt-n56u)
|
|
|
|
-cp $(call sysupname,$(1),rt-n56u) $(call imgname,$(1),rt-n56u)-factory.bin
|
|
|
|
-mkrtn56uimg -f $(call imgname,$(1),rt-n56u)-factory.bin
|
|
|
|
endef
|
|
|
|
|
|
|
|
Image/Build/Profile/RTN56U=$(call BuildFirmware/RTN56U/$(1),$(1),rt-n56u,RT-N56U)
|
|
|
|
|
|
|
|
|
2016-08-02 17:48:17 +00:00
|
|
|
define LegacyDevice/RTN56U
|
2016-09-08 19:03:57 +00:00
|
|
|
BLOCKSIZE := 64k
|
2016-08-02 17:48:17 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N56U
|
|
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
|
|
|
|
endef
|
|
|
|
LEGACY_DEVICES += RTN56U
|