ath79: Port PowerCloud Systems CAP324 support
[openwrt/openwrt.git] / target / linux / ath79 / image / generic.mk
1 include ./common-netgear.mk
2
3 define Device/avm_fritz300e
4 ATH_SOC := ar7242
5 DEVICE_TITLE := AVM FRITZ!WLAN Repeater 300E
6 KERNEL := kernel-bin | append-dtb | lzma | eva-image
7 KERNEL_INITRAMFS := $$(KERNEL)
8 IMAGE_SIZE := 15232k
9 IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
10 append-squashfs-fakeroot-be | pad-to 256 | \
11 append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
12 DEVICE_PACKAGES := fritz-tffs rssileds -swconfig
13 endef
14 TARGET_DEVICES += avm_fritz300e
15
16 define Device/embeddedwireless_dorin
17 ATH_SOC := ar9331
18 DEVICE_TITLE := Embedded Wireless Dorin
19 DEVICE_PACKAGES := kmod-usb-chipidea2
20 IMAGE_SIZE := 16000k
21 SUPPORTED_DEVICES += ew-dorin
22 endef
23 TARGET_DEVICES += embeddedwireless_dorin
24
25 define Device/etactica-eg200
26 ATH_SOC := ar9331
27 DEVICE_TITLE := eTactica EG200
28 DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
29 kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
30 SUPPORTED_DEVICES += etactica,eg200 rme-eg200
31 endef
32 TARGET_DEVICES += etactica-eg200
33
34 define Device/glinet_ar150
35 ATH_SOC := ar9330
36 DEVICE_TITLE := GL.iNet GL-AR150
37 DEVICE_PACKAGES := kmod-usb-chipidea2
38 IMAGE_SIZE := 16000k
39 SUPPORTED_DEVICES += gl-ar150
40 endef
41 TARGET_DEVICES += glinet_ar150
42
43 define Device/glinet_ar300m_nor
44 ATH_SOC := qca9533
45 DEVICE_TITLE := GL.iNet GL-AR300M
46 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
47 IMAGE_SIZE := 16000k
48 SUPPORTED_DEVICES += gl-ar300m
49 endef
50 TARGET_DEVICES += glinet_ar300m_nor
51
52 define Device/ocedo_raccoon
53 ATH_SOC := ar9344
54 DEVICE_TITLE := OCEDO Raccoon
55 IMAGE_SIZE := 7424k
56 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
57 endef
58 TARGET_DEVICES += ocedo_raccoon
59
60 define Device/openmesh_om5p-ac-v2
61 ATH_SOC := qca9558
62 DEVICE_TITLE := OpenMesh OM5P-AC v2
63 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x om-watchdog
64 IMAGE_SIZE := 7808k
65 SUPPORTED_DEVICES += om5p-acv2
66 endef
67 TARGET_DEVICES += openmesh_om5p-ac-v2
68
69 define Device/pcs_cap324
70 ATH_SOC := ar9344
71 DEVICE_TITLE := PowerCloud Systems CAP324
72 IMAGE_SIZE := 16000k
73 IMAGES := sysupgrade.bin
74 SUPPORTED_DEVICES += cap324
75 endef
76 TARGET_DEVICES += pcs_cap324
77
78 define Device/pcs_cr5000
79 ATH_SOC := ar9344
80 DEVICE_TITLE := PowerCloud Systems CR5000
81 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-core
82 IMAGE_SIZE := 7808k
83 IMAGES := sysupgrade.bin
84 SUPPORTED_DEVICES += cr5000
85 endef
86 TARGET_DEVICES += pcs_cr5000
87
88 define Device/netgear_wndr3800
89 ATH_SOC := ar7161
90 DEVICE_TITLE := NETGEAR WNDR3800
91 NETGEAR_KERNEL_MAGIC := 0x33373031
92 KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
93 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
94 NETGEAR_BOARD_ID := WNDR3800
95 NETGEAR_HW_ID := 29763654+16+128
96 IMAGE_SIZE := 15872k
97 IMAGES := sysupgrade.bin factory.img
98 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
99 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
100 IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE)
101 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset
102 SUPPORTED_DEVICES += wndr3800
103 endef
104 TARGET_DEVICES += netgear_wndr3800
105
106 define Device/buffalo_wzr-hp-g450h
107 ATH_SOC := ar7242
108 DEVICE_TITLE := Buffalo WZR-HP-G450H
109 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
110 IMAGE_SIZE := 32256k
111 SUPPORTED_DEVICES += wzr-hp-g450h
112 endef
113 TARGET_DEVICES += buffalo_wzr-hp-g450h
114
115 define Device/phicomm-k2t
116 ATH_SOC := qca9563
117 DEVICE_TITLE := Phicomm K2T
118 KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
119 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
120 IMAGE_SIZE := 15744k
121 IMAGES := sysupgrade.bin
122 IMAGE/default := append-kernel | append-rootfs | pad-rootfs
123 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
124 DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k ath10k-firmware-qca9888
125 SUPPORTED_DEVICES += phicomm,k2t
126 endef
127 TARGET_DEVICES += phicomm-k2t