e9627a7431b0a766ea3e2692688894f15e6e4342
[openwrt/openwrt.git] / target / linux / ramips / image / rt288x.mk
1 #
2 # RT288X Profiles
3 #
4
5 define Build/gemtek-header
6 if [ -f $@ ]; then \
7 mkheader_gemtek $@ $@.new $(1) && \
8 mv $@.new $@; \
9 fi
10 endef
11
12 define Device/ar670w
13 DTS := AR670W
14 BLOCKSIZE := 64k
15 DEVICE_TITLE := Airlink AR670W
16 IMAGE_SIZE := $(ralink_default_fw_size_4M)
17 KERNEL := $(KERNEL_DTB) | pad-to $$(BLOCKSIZE)
18 IMAGES += factory.bin
19 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
20 wrg-header wrgn16a_airlink_ar670w
21 endef
22 TARGET_DEVICES += ar670w
23
24 define Device/ar725w
25 DTS := AR725W
26 DEVICE_TITLE := Airlink AR725W
27 IMAGES += factory.bin
28 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size 3328k | \
29 gemtek-header ar725w
30 endef
31 TARGET_DEVICES += ar725w
32
33 define Device/dap-1522-a1
34 DTS := DAP-1522-A1
35 BLOCKSIZE := 64k
36 IMAGE_SIZE := 3801088
37 DEVICE_TITLE := D-Link DAP-1522 A1
38 DEVICE_PACKAGES := kmod-switch-rtl8366s
39 KERNEL := $(KERNEL_DTB)
40 IMAGES += factory.bin
41 IMAGE/factory.bin := \
42 append-kernel | pad-offset $$$$(BLOCKSIZE) 96 | \
43 append-rootfs | pad-rootfs -x 96 | \
44 wrg-header wapnd01_dlink_dap1522 | \
45 check-size $$$$(IMAGE_SIZE)
46 endef
47 TARGET_DEVICES += dap-1522-a1
48
49 define Device/f5d8235-v1
50 IMAGE_SIZE := 7744k
51 DEVICE_TITLE := Belkin F5D8235 V1
52 DEVICE_PACKAGES := kmod-switch-rtl8366s kmod-usb-core kmod-usb-ohci \
53 kmod-usb-ohci-pci kmod-usb2 kmod-usb2-pci kmod-usb-ledtrig-usbport
54 DEVICE_DTS := F5D8235_V1
55 KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
56 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
57 endef
58 TARGET_DEVICES += f5d8235-v1
59
60 define Device/rt-n15
61 DTS := RT-N15
62 BLOCKSIZE := 64k
63 IMAGE_SIZE := $(ralink_default_fw_size_4M)
64 DEVICE_TITLE := Asus RT-N15
65 DEVICE_PACKAGES := kmod-switch-rtl8366s
66 endef
67 TARGET_DEVICES += rt-n15
68
69 define Device/v11st-fe
70 DTS := V11STFE
71 BLOCKSIZE := 64k
72 IMAGE_SIZE := $(ralink_default_fw_size_4M)
73 DEVICE_TITLE := Ralink V11ST-FE
74 endef
75 TARGET_DEVICES += v11st-fe
76
77 define Device/wli-tx4-ag300n
78 DTS := WLI-TX4-AG300N
79 BLOCKSIZE := 64k
80 IMAGE_SIZE := $(ralink_default_fw_size_4M)
81 DEVICE_TITLE := Buffalo WLI-TX4-AG300N
82 DEVICE_PACKAGES := kmod-switch-ip17xx
83 endef
84 TARGET_DEVICES += wli-tx4-ag300n
85
86 define Device/wzr-agl300nh
87 DTS := WZR-AGL300NH
88 BLOCKSIZE := 64k
89 IMAGE_SIZE := $(ralink_default_fw_size_4M)
90 DEVICE_TITLE := Buffalo WZR-AGL300NH
91 DEVICE_PACKAGES := kmod-switch-rtl8366s
92 endef
93 TARGET_DEVICES += wzr-agl300nh