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