generic.mk 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. include ./common-buffalo.mk
  2. include ./common-netgear.mk
  3. DEVICE_VARS += ADDPATTERN_ID ADDPATTERN_VERSION
  4. DEVICE_VARS += SEAMA_SIGNATURE SEAMA_MTDBLOCK
  5. DEVICE_VARS += KERNEL_INITRAMFS_PREFIX
  6. define Build/cybertan-trx
  7. @echo -n '' > $@-empty.bin
  8. -$(STAGING_DIR_HOST)/bin/trx -o $@.new \
  9. -f $(IMAGE_KERNEL) -F $@-empty.bin \
  10. -x 32 -a 0x10000 -x -32 -f $@
  11. -mv "$@.new" "$@"
  12. -rm $@-empty.bin
  13. endef
  14. define Build/addpattern
  15. -$(STAGING_DIR_HOST)/bin/addpattern -B $(ADDPATTERN_ID) \
  16. -v v$(ADDPATTERN_VERSION) -i $@ -o $@.new
  17. -mv "$@.new" "$@"
  18. endef
  19. define Build/add-elecom-factory-initramfs
  20. $(eval edimax_model=$(word 1,$(1)))
  21. $(eval product=$(word 2,$(1)))
  22. $(STAGING_DIR_HOST)/bin/mkedimaximg \
  23. -b -s CSYS -m $(edimax_model) \
  24. -f 0x70000 -S 0x01100000 \
  25. -i $@ -o $@.factory
  26. ( \
  27. echo -n -e "ELECOM\x00\x00$(product)" | dd bs=40 count=1 conv=sync; \
  28. echo -n "0.00" | dd bs=16 count=1 conv=sync; \
  29. dd if=$@.factory; \
  30. ) > $@.factory.new
  31. if [ "$$(stat -c%s $@.factory.new)" -le $$(($(subst k,* 1024,$(subst m, * 1024k,$(IMAGE_SIZE))))) ]; then \
  32. mv $@.factory.new $(BIN_DIR)/$(KERNEL_INITRAMFS_PREFIX)-factory.bin; \
  33. else \
  34. echo "WARNING: initramfs kernel image too big, cannot generate factory image" >&2; \
  35. fi
  36. endef
  37. define Build/nec-enc
  38. $(STAGING_DIR_HOST)/bin/nec-enc \
  39. -i $@ -o $@.new -k $(1)
  40. mv $@.new $@
  41. endef
  42. define Build/nec-fw
  43. ( stat -c%s $@ | tr -d "\n" | dd bs=16 count=1 conv=sync; ) >> $@
  44. ( \
  45. echo -n -e "$(1)" | dd bs=16 count=1 conv=sync; \
  46. echo -n "0.0.00" | dd bs=16 count=1 conv=sync; \
  47. dd if=$@; \
  48. ) > $@.new
  49. mv $@.new $@
  50. endef
  51. define Device/seama
  52. KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma
  53. KERNEL_INITRAMFS := $$(KERNEL) | seama
  54. IMAGES += factory.bin
  55. SEAMA_MTDBLOCK := 1
  56. # 64 bytes offset:
  57. # - 28 bytes seama_header
  58. # - 36 bytes of META data (4-bytes aligned)
  59. IMAGE/default := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs
  60. IMAGE/sysupgrade.bin := \
  61. $$(IMAGE/default) | seama | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  62. IMAGE/factory.bin := \
  63. $$(IMAGE/default) | pad-rootfs -x 64 | seama | seama-seal | check-size $$$$(IMAGE_SIZE)
  64. SEAMA_SIGNATURE :=
  65. endef
  66. define Device/8dev_carambola2
  67. ATH_SOC := ar9331
  68. DEVICE_TITLE := 8devices Carambola2
  69. DEVICE_PACKAGES := kmod-usb2 kmod-usb-chipidea2
  70. IMAGE_SIZE := 16000k
  71. SUPPORTED_DEVICES += carambola2
  72. endef
  73. TARGET_DEVICES += 8dev_carambola2
  74. define Device/aruba_ap-105
  75. ATH_SOC := ar7161
  76. DEVICE_TITLE := Aruba AP-105
  77. IMAGE_SIZE := 16000k
  78. DEVICE_PACKAGES := kmod-i2c-core kmod-i2c-gpio kmod-tpm-i2c-atmel
  79. endef
  80. TARGET_DEVICES += aruba_ap-105
  81. define Device/avm_fritz300e
  82. ATH_SOC := ar7242
  83. DEVICE_TITLE := AVM FRITZ!WLAN Repeater 300E
  84. KERNEL := kernel-bin | append-dtb | lzma | eva-image
  85. KERNEL_INITRAMFS := $$(KERNEL)
  86. IMAGE_SIZE := 15232k
  87. IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
  88. append-squashfs-fakeroot-be | pad-to 256 | \
  89. append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  90. DEVICE_PACKAGES := fritz-tffs rssileds -swconfig
  91. endef
  92. TARGET_DEVICES += avm_fritz300e
  93. define Device/avm_fritz4020
  94. ATH_SOC := qca9561
  95. DEVICE_TITLE := AVM FRITZ!Box 4020
  96. IMAGE_SIZE := 15232k
  97. KERNEL := kernel-bin | append-dtb | lzma | eva-image
  98. KERNEL_INITRAMFS := $$(KERNEL)
  99. IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
  100. append-squashfs-fakeroot-be | pad-to 256 | \
  101. append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  102. DEVICE_PACKAGES := fritz-tffs
  103. SUPPORTED_DEVICES += fritz4020
  104. endef
  105. TARGET_DEVICES += avm_fritz4020
  106. define Device/buffalo_bhr-4grv
  107. ATH_SOC := ar7242
  108. DEVICE_TITLE := Buffalo BHR-4GRV
  109. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  110. IMAGE_SIZE := 32256k
  111. IMAGES += factory.bin tftp.bin
  112. IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
  113. IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc BHR-4GRV 1.99 | buffalo-tag BHR-4GRV 3
  114. IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
  115. SUPPORTED_DEVICES += wzr-hp-g450h
  116. endef
  117. TARGET_DEVICES += buffalo_bhr-4grv
  118. define Device/buffalo_bhr-4grv2
  119. ATH_SOC := qca9557
  120. DEVICE_TITLE := Buffalo BHR-4GRV2
  121. IMAGE_SIZE := 16000k
  122. endef
  123. TARGET_DEVICES += buffalo_bhr-4grv2
  124. define Device/buffalo_wzr-hp-ag300h
  125. ATH_SOC := ar7161
  126. DEVICE_TITLE := Buffalo WZR-HP-AG300H
  127. IMAGE_SIZE := 32256k
  128. IMAGES += factory.bin tftp.bin
  129. IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
  130. IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-AG300H 1.99 | buffalo-tag WZR-HP-AG300H 3
  131. IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
  132. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
  133. SUPPORTED_DEVICES += wzr-hp-ag300h
  134. endef
  135. TARGET_DEVICES += buffalo_wzr-hp-ag300h
  136. define Device/buffalo_wzr-hp-g302h-a1a0
  137. ATH_SOC := ar7242
  138. DEVICE_TITLE := Buffalo WZR-HP-G302H A1A0
  139. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  140. IMAGE_SIZE := 32128k
  141. IMAGES += factory.bin tftp.bin
  142. IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
  143. IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-G302H 1.99 | buffalo-tag WZR-HP-G302H 4
  144. IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
  145. SUPPORTED_DEVICES += wzr-hp-g300nh2
  146. endef
  147. TARGET_DEVICES += buffalo_wzr-hp-g302h-a1a0
  148. define Device/buffalo_wzr-hp-g450h
  149. ATH_SOC := ar7242
  150. DEVICE_TITLE := Buffalo WZR-HP-G450H/WZR-450HP
  151. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  152. IMAGE_SIZE := 32256k
  153. IMAGES += factory.bin tftp.bin
  154. IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
  155. IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-G450H 1.99 | buffalo-tag WZR-HP-G450H 3
  156. IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
  157. SUPPORTED_DEVICES += wzr-hp-g450h
  158. endef
  159. TARGET_DEVICES += buffalo_wzr-hp-g450h
  160. define Device/comfast_cf-e110n-v2
  161. ATH_SOC := qca9533
  162. DEVICE_TITLE := COMFAST CF-E110N v2
  163. DEVICE_PACKAGES := rssileds kmod-leds-gpio -swconfig -uboot-envtools
  164. IMAGE_SIZE := 16192k
  165. endef
  166. TARGET_DEVICES += comfast_cf-e110n-v2
  167. define Device/comfast_cf-e120a-v3
  168. ATH_SOC := ar9344
  169. DEVICE_TITLE := COMFAST CF-E120A v3
  170. DEVICE_PACKAGES := rssileds kmod-leds-gpio -uboot-envtools
  171. IMAGE_SIZE := 8000k
  172. endef
  173. TARGET_DEVICES += comfast_cf-e120a-v3
  174. define Device/comfast_cf-e5
  175. ATH_SOC := qca9531
  176. DEVICE_TITLE := COMFAST CF-E5/E7
  177. DEVICE_PACKAGES := rssileds kmod-leds-gpio kmod-usb-core kmod-usb2 kmod-usb-net \
  178. kmod-usb-net-qmi-wwan -swconfig -uboot-envtools
  179. IMAGE_SIZE := 16192k
  180. endef
  181. TARGET_DEVICES += comfast_cf-e5
  182. define Device/dlink_dir-825-b1
  183. ATH_SOC := ar7161
  184. DEVICE_TITLE := D-LINK DIR-825 B1
  185. IMAGE_SIZE := 6208k
  186. IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  187. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
  188. SUPPORTED_DEVICES += dir-825-b1
  189. endef
  190. TARGET_DEVICES += dlink_dir-825-b1
  191. define Device/dlink_dir-825-c1
  192. ATH_SOC := ar9344
  193. DEVICE_TITLE := D-LINK DIR-825 C1
  194. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
  195. SUPPORTED_DEVICES += dir-825-c1
  196. IMAGE_SIZE := 15936k
  197. IMAGES := factory.bin sysupgrade.bin
  198. IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs
  199. IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
  200. append-string 00DB120AR9344-RT-101214-00 | check-size $$$$(IMAGE_SIZE)
  201. IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
  202. endef
  203. TARGET_DEVICES += dlink_dir-825-c1
  204. define Device/dlink_dir-835-a1
  205. ATH_SOC := ar9344
  206. DEVICE_TITLE := D-LINK DIR-835 A1
  207. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-leds-reset kmod-owl-loader
  208. SUPPORTED_DEVICES += dir-835-a1
  209. IMAGE_SIZE := 15936k
  210. IMAGES := factory.bin sysupgrade.bin
  211. IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs
  212. IMAGE/factory.bin := $$(IMAGE/default) | pad-offset $$$$(IMAGE_SIZE) 26 | \
  213. append-string 00DB120AR9344-RT-101214-00 | check-size $$$$(IMAGE_SIZE)
  214. IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
  215. endef
  216. TARGET_DEVICES += dlink_dir-835-a1
  217. define Device/elecom_wrc-300ghbk2-i
  218. ATH_SOC := qca9563
  219. DEVICE_TITLE := ELECOM WRC-300GHBK2-I
  220. IMAGE_SIZE := 7616k
  221. KERNEL_INITRAMFS := $$(KERNEL) | pad-to 2 | \
  222. add-elecom-factory-initramfs RN51 WRC-300GHBK2-I
  223. endef
  224. TARGET_DEVICES += elecom_wrc-300ghbk2-i
  225. define Device/embeddedwireless_dorin
  226. ATH_SOC := ar9331
  227. DEVICE_TITLE := Embedded Wireless Dorin
  228. DEVICE_PACKAGES := kmod-usb-chipidea2
  229. IMAGE_SIZE := 16000k
  230. endef
  231. TARGET_DEVICES += embeddedwireless_dorin
  232. define Device/etactica_eg200
  233. ATH_SOC := ar9331
  234. DEVICE_TITLE := eTactica EG200
  235. DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
  236. kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
  237. SUPPORTED_DEVICES += rme-eg200
  238. endef
  239. TARGET_DEVICES += etactica_eg200
  240. define Device/glinet_gl-ar150
  241. ATH_SOC := ar9330
  242. DEVICE_TITLE := GL.iNet GL-AR150
  243. DEVICE_PACKAGES := kmod-usb-chipidea2
  244. IMAGE_SIZE := 16000k
  245. SUPPORTED_DEVICES += gl-ar150
  246. endef
  247. TARGET_DEVICES += glinet_gl-ar150
  248. define Device/glinet_gl-ar300m-common-nor
  249. ATH_SOC := qca9531
  250. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  251. IMAGE_SIZE := 16000k
  252. SUPPORTED_DEVICES += gl-ar300m tpe-r1200
  253. endef
  254. define Device/glinet_gl-ar300m-lite
  255. $(Device/glinet_gl-ar300m-common-nor)
  256. DEVICE_TITLE := GL.iNet GL-AR300M-Lite
  257. endef
  258. TARGET_DEVICES += glinet_gl-ar300m-lite
  259. define Device/glinet_gl-ar300m-nor
  260. $(Device/glinet_gl-ar300m-common-nor)
  261. DEVICE_TITLE := GL.iNet GL-AR300M
  262. endef
  263. TARGET_DEVICES += glinet_gl-ar300m-nor
  264. define Device/glinet_gl-ar750s
  265. ATH_SOC := qca9563
  266. DEVICE_TITLE := GL.iNet GL-AR750S
  267. DEVICE_PACKAGES := kmod-usb2 block-mount
  268. IMAGE_SIZE := 16000k
  269. SUPPORTED_DEVICES += gl-ar750s
  270. endef
  271. TARGET_DEVICES += glinet_gl-ar750s
  272. define Device/glinet_gl-x750
  273. ATH_SOC := qca9531
  274. DEVICE_TITLE := GL.iNet GL-X750
  275. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  276. IMAGE_SIZE := 16000k
  277. endef
  278. TARGET_DEVICES += glinet_gl-x750
  279. define Device/iodata_etg3-r
  280. ATH_SOC := ar9342
  281. DEVICE_TITLE := I-O DATA ETG3-R
  282. IMAGE_SIZE := 7680k
  283. DEVICE_PACKAGES := -iwinfo -kmod-ath9k -wpad-basic
  284. endef
  285. TARGET_DEVICES += iodata_etg3-r
  286. define Device/iodata_wn-ag300dgr
  287. ATH_SOC := ar1022
  288. DEVICE_TITLE := I-O DATA WN-AG300DGR
  289. IMAGE_SIZE := 15424k
  290. IMAGES += factory.bin
  291. IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
  292. append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
  293. senao-header -r 0x30a -p 0x47 -t 2
  294. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  295. endef
  296. TARGET_DEVICES += iodata_wn-ag300dgr
  297. define Device/jjplus_ja76pf2
  298. ATH_SOC := ar7161
  299. DEVICE_TITLE := jjPlus JA76PF2
  300. DEVICE_PACKAGES += -kmod-ath9k -swconfig -wpad-mini -uboot-envtools fconfig
  301. IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | combined-image | check-size $$$$(IMAGE_SIZE)
  302. # IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | sysupgrade-tar rootfs=$$$$@ | append-metadata
  303. KERNEL := kernel-bin | append-dtb | lzma | pad-to $$(BLOCKSIZE)
  304. KERNEL_INITRAMFS := kernel-bin | append-dtb
  305. IMAGE_SIZE := 16000k
  306. endef
  307. TARGET_DEVICES += jjplus_ja76pf2
  308. define Device/librerouter_librerouter-v1
  309. ATH_SOC := qca9558
  310. DEVICE_TITLE := LibreRouter v1
  311. IMAGE_SIZE := 7936k
  312. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  313. endef
  314. TARGET_DEVICES += librerouter_librerouter-v1
  315. define Device/ocedo_raccoon
  316. ATH_SOC := ar9344
  317. DEVICE_TITLE := OCEDO Raccoon
  318. IMAGE_SIZE := 7424k
  319. IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  320. endef
  321. TARGET_DEVICES += ocedo_raccoon
  322. define Device/pcs_cap324
  323. ATH_SOC := ar9344
  324. DEVICE_TITLE := PowerCloud Systems CAP324
  325. IMAGE_SIZE := 16000k
  326. SUPPORTED_DEVICES += cap324
  327. endef
  328. TARGET_DEVICES += pcs_cap324
  329. define Device/pcs_cr3000
  330. ATH_SOC := ar9341
  331. DEVICE_TITLE := PowerCloud Systems CR3000
  332. IMAGE_SIZE := 7808k
  333. SUPPORTED_DEVICES += cr3000
  334. endef
  335. TARGET_DEVICES += pcs_cr3000
  336. define Device/pcs_cr5000
  337. ATH_SOC := ar9344
  338. DEVICE_TITLE := PowerCloud Systems CR5000
  339. DEVICE_PACKAGES := kmod-usb2 kmod-usb-core
  340. IMAGE_SIZE := 7808k
  341. SUPPORTED_DEVICES += cr5000
  342. endef
  343. TARGET_DEVICES += pcs_cr5000
  344. define Device/netgear_wndr3x00
  345. ATH_SOC := ar7161
  346. IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
  347. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
  348. $(Device/netgear_ath79)
  349. endef
  350. define Device/netgear_wndr3700
  351. $(Device/netgear_wndr3x00)
  352. DEVICE_TITLE := NETGEAR WNDR3700
  353. NETGEAR_KERNEL_MAGIC := 0x33373030
  354. NETGEAR_BOARD_ID := WNDR3700
  355. IMAGE_SIZE := 7680k
  356. IMAGES += factory-NA.img
  357. IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | check-size $$$$(IMAGE_SIZE)
  358. SUPPORTED_DEVICES += wndr3700
  359. endef
  360. TARGET_DEVICES += netgear_wndr3700
  361. define Device/netgear_wndr3700v2
  362. $(Device/netgear_wndr3x00)
  363. DEVICE_TITLE := NETGEAR WNDR3700v2
  364. NETGEAR_KERNEL_MAGIC := 0x33373031
  365. NETGEAR_BOARD_ID := WNDR3700v2
  366. NETGEAR_HW_ID := 29763654+16+64
  367. IMAGE_SIZE := 15872k
  368. SUPPORTED_DEVICES += wndr3700
  369. endef
  370. TARGET_DEVICES += netgear_wndr3700v2
  371. define Device/pisen_wmm003n
  372. $(Device/tplink-8mlzma)
  373. ATH_SOC := ar9331
  374. DEVICE_TITLE := Pisen WMM003N (Cloud Easy Power)
  375. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-chipidea2
  376. TPLINK_HWID := 0x07030101
  377. endef
  378. TARGET_DEVICES += pisen_wmm003n
  379. define Device/netgear_wndr3800
  380. $(Device/netgear_wndr3x00)
  381. DEVICE_TITLE := NETGEAR WNDR3800
  382. NETGEAR_KERNEL_MAGIC := 0x33373031
  383. NETGEAR_BOARD_ID := WNDR3800
  384. NETGEAR_HW_ID := 29763654+16+128
  385. IMAGE_SIZE := 15872k
  386. SUPPORTED_DEVICES += wndr3700
  387. endef
  388. TARGET_DEVICES += netgear_wndr3800
  389. define Device/rosinson_wr818
  390. ATH_SOC := qca9563
  391. DEVICE_TITLE := ROSINSON WR818
  392. IMAGE_SIZE := 15872k
  393. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
  394. endef
  395. TARGET_DEVICES += rosinson_wr818
  396. define Device/thinkpenguin_tpe-r1100
  397. ATH_SOC := ar9330
  398. DEVICE_TITLE := ThinkPenguin TPE-R1100
  399. DEVICE_PACKAGES := kmod-usb-chipidea2
  400. IMAGE_SIZE := 16000k
  401. SUPPORTED_DEVICES += tpe-r1100
  402. endef
  403. TARGET_DEVICES += thinkpenguin_tpe-r1100
  404. define Device/thinkpenguin_tpe-r1200-nor
  405. $(Device/glinet_gl-ar300m-common-nor)
  406. DEVICE_TITLE := ThinkPenguin TPE-R1200
  407. endef
  408. TARGET_DEVICES += thinkpenguin_tpe-r1200-nor
  409. define Device/thinkpenguin_tpe-r1300
  410. $(Device/glinet_gl-ar300m-common-nor)
  411. DEVICE_TITLE := ThinkPenguin TPE-R1300
  412. endef
  413. TARGET_DEVICES += thinkpenguin_tpe-r1300
  414. define Device/wd_mynet-n750
  415. $(Device/seama)
  416. ATH_SOC := ar9344
  417. DEVICE_TITLE := Western Digital My Net N750
  418. IMAGE_SIZE := 15872k
  419. DEVICE_PACKAGES := kmod-usb-core kmod-usb2
  420. SEAMA_SIGNATURE := wrgnd13_wd_av
  421. SUPPORTED_DEVICES += mynet-n750
  422. endef
  423. TARGET_DEVICES += wd_mynet-n750
  424. define Device/wd_mynet-wifi-rangeextender
  425. ATH_SOC := ar9344
  426. DEVICE_TITLE := Western Digital My Net Wi-Fi Range Extender
  427. DEVICE_PACKAGES := rssileds nvram -swconfig
  428. IMAGE_SIZE := 7808k
  429. ADDPATTERN_ID := mynet-rext
  430. ADDPATTERN_VERSION := 1.00.01
  431. IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | cybertan-trx | \
  432. addpattern | append-metadata
  433. SUPPORTED_DEVICES += mynet-rext
  434. endef
  435. TARGET_DEVICES += wd_mynet-wifi-rangeextender
  436. define Device/winchannel_wb2000
  437. ATH_SOC := ar9344
  438. DEVICE_TITLE := Winchannel WB2000
  439. IMAGE_SIZE := 15872k
  440. DEVICE_PACKAGES := kmod-i2c-core kmod-i2c-gpio kmod-rtc-ds1307 kmod-usb2 kmod-usb-ledtrig-usbport
  441. endef
  442. TARGET_DEVICES += winchannel_wb2000
  443. define Device/xiaomi_mi-router-4q
  444. ATH_SOC := qca9561
  445. DEVICE_TITLE := Xiaomi Mi Router 4Q
  446. IMAGE_SIZE := 14336k
  447. endef
  448. TARGET_DEVICES += xiaomi_mi-router-4q
  449. define Device/zbtlink_zbt-wd323
  450. ATH_SOC := ar9344
  451. DEVICE_TITLE := ZBT WD323
  452. IMAGE_SIZE := 16000k
  453. DEVICE_PACKAGES := kmod-usb2 kmod-i2c-core kmod-i2c-gpio kmod-rtc-pcf8563 \
  454. kmod-usb-serial kmod-usb-serial-cp210x uqmi
  455. endef
  456. TARGET_DEVICES += zbtlink_zbt-wd323