abece505d7e7efdf05a785cab8974391b02c5e74
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / image / rt3883.mk
1 #
2 # RT3662/RT3883 Profiles
3 #
4
5 define Device/br-6475nd
6 DTS := BR-6475ND
7 BLOCKSIZE := 64k
8 IMAGE_SIZE := 7744k
9 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
10 edimax-header -s CSYS -m RN54 -f 0x70000 -S 0x01100000 | pad-rootfs | \
11 append-metadata | check-size $$$$(IMAGE_SIZE)
12 DEVICE_TITLE := Edimax BR-6475nD
13 DEVICE_PACKAGES := swconfig
14 endef
15 TARGET_DEVICES += br-6475nd
16
17 define Device/cy-swr1100
18 DTS := CY-SWR1100
19 BLOCKSIZE := 64k
20 KERNEL := $(KERNEL_DTB)
21 IMAGES += factory.bin
22 IMAGE/sysupgrade.bin := \
23 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
24 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
25 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
26 IMAGE/factory.bin := \
27 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
28 append-rootfs | pad-rootfs -x 64 | \
29 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
30 seama-seal -m "signature=wrgnd10_samsung_ss815" | \
31 check-size $$$$(IMAGE_SIZE)
32 DEVICE_TITLE := Samsung CY-SWR1100
33 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
34 endef
35 TARGET_DEVICES += cy-swr1100
36
37
38 define Device/dir-645
39 DTS := DIR-645
40 BLOCKSIZE := 4k
41 KERNEL := $(KERNEL_DTB)
42 IMAGES += factory.bin
43 IMAGE/sysupgrade.bin := \
44 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
45 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
46 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
47 IMAGE/factory.bin := \
48 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
49 append-rootfs | pad-rootfs -x 64 | \
50 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
51 seama-seal -m "signature=wrgn39_dlob.hans_dir645" | \
52 check-size $$$$(IMAGE_SIZE)
53 DEVICE_TITLE := D-Link DIR-645
54 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
55 endef
56 TARGET_DEVICES += dir-645
57
58
59 define Device/hpm
60 DTS := HPM
61 BLOCKSIZE := 64k
62 IMAGE_SIZE := 16064k
63 DEVICE_TITLE := Omnima HPM
64 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
65 endef
66 TARGET_DEVICES += hpm
67
68
69 define Device/tew-691gr
70 DTS := TEW-691GR
71 BLOCKSIZE := 64k
72 IMAGES += factory.bin
73 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
74 umedia-header 0x026910
75 DEVICE_TITLE := TRENDnet TEW-691GR
76 DEVICE_PACKAGES := swconfig
77 endef
78 TARGET_DEVICES += tew-691gr
79
80
81 define Device/tew-692gr
82 DTS := TEW-692GR
83 BLOCKSIZE := 64k
84 IMAGES += factory.bin
85 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
86 umedia-header 0x026920
87 DEVICE_TITLE := TRENDnet TEW-692GR
88 DEVICE_PACKAGES := swconfig
89 endef
90 TARGET_DEVICES += tew-692gr
91
92
93 define Device/wlr-6000
94 DTS := WLR-6000
95 BLOCKSIZE := 4k
96 IMAGE_SIZE := 7244k
97 IMAGES += factory.dlf
98 IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
99 senao-header -r 0x0202 -p 0x41 -t 2
100 DEVICE_TITLE := Sitecom WLR-6000
101 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig
102 endef
103 TARGET_DEVICES += wlr-6000