1
0

rt305x.mk 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. #
  2. # RT305X Profiles
  3. #
  4. define Build/dap-header
  5. $(STAGING_DIR_HOST)/bin/mkdapimg $(1) -i $@ -o $@.new
  6. mv $@.new $@
  7. endef
  8. define Build/hilink-header
  9. $(STAGING_DIR_HOST)/bin/mkhilinkfw -e -i $@ -o $@.new
  10. mv $@.new $@
  11. endef
  12. define Build/jcg-header
  13. $(STAGING_DIR_HOST)/bin/jcgimage -v $(1) -u $@ -o $@.new
  14. mv $@.new $@
  15. endef
  16. define Device/3g150b
  17. DTS := 3G150B
  18. BLOCKSIZE := 4k
  19. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  20. UIMAGE_NAME:= Linux Kernel Image
  21. DEVICE_TITLE := Tenda 3G150B
  22. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  23. endef
  24. TARGET_DEVICES += 3g150b
  25. define Device/3g300m
  26. DTS := 3G300M
  27. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  28. UIMAGE_NAME := 3G150M_SPI Kernel Image
  29. DEVICE_TITLE := Tenda 3G300M
  30. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  31. endef
  32. TARGET_DEVICES += 3g300m
  33. define Device/3g-6200n
  34. DTS := 3G-6200N
  35. IMAGE_SIZE := 3648k
  36. IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
  37. edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs | \
  38. append-metadata | check-size $$$$(IMAGE_SIZE)
  39. DEVICE_TITLE := Edimax 3g-6200n
  40. endef
  41. TARGET_DEVICES += 3g-6200n
  42. define Device/3g-6200nl
  43. DTS := 3G-6200NL
  44. IMAGE_SIZE := 3648k
  45. IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
  46. edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs | \
  47. append-metadata | check-size $$$$(IMAGE_SIZE)
  48. DEVICE_TITLE := Edimax 3g-6200nl
  49. endef
  50. TARGET_DEVICES += 3g-6200nl
  51. define Device/a5-v11
  52. DTS := A5-V11
  53. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  54. IMAGES += factory.bin
  55. IMAGE/factory.bin := \
  56. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B A5-V11 -F 4M
  57. DEVICE_TITLE := A5-V11
  58. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
  59. endef
  60. TARGET_DEVICES += a5-v11
  61. define Device/air3gii
  62. DTS := AIR3GII
  63. BLOCKSIZE := 64k
  64. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  65. DEVICE_TITLE := AirLive Air3GII
  66. endef
  67. TARGET_DEVICES += air3gii
  68. define Device/all0256n-4M
  69. DTS := ALL0256N-4M
  70. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  71. DEVICE_TITLE := Allnet ALL0256N (4MB)
  72. DEVICE_PACKAGES := rssileds
  73. endef
  74. TARGET_DEVICES += all0256n-4M
  75. define Device/all0256n-8M
  76. DTS := ALL0256N-8M
  77. DEVICE_TITLE := Allnet ALL0256N (8MB)
  78. DEVICE_PACKAGES := rssileds
  79. endef
  80. TARGET_DEVICES += all0256n-8M
  81. define Device/all5002
  82. DTS := ALL5002
  83. IMAGE_SIZE := 32448k
  84. DEVICE_TITLE := Allnet ALL5002
  85. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
  86. kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x
  87. endef
  88. TARGET_DEVICES += all5002
  89. define Device/all5003
  90. DTS := ALL5003
  91. IMAGE_SIZE := 32448k
  92. DEVICE_TITLE := Allnet ALL5003
  93. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
  94. kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x
  95. endef
  96. TARGET_DEVICES += all5003
  97. define Device/asl26555-8M
  98. DTS := ASL26555-8M
  99. IMAGE_SIZE := 7744k
  100. DEVICE_TITLE := Alpha ASL26555
  101. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  102. endef
  103. TARGET_DEVICES += asl26555-8M
  104. define Device/asl26555-16M
  105. DTS := ASL26555-16M
  106. IMAGE_SIZE := 15872k
  107. DEVICE_TITLE := Alpha ASL26555 16M
  108. DEVICE_PACKAGES :=
  109. endef
  110. TARGET_DEVICES += asl26555-16M
  111. define Device/atp-52b
  112. DTS := ATP-52B
  113. IMAGE_SIZE := 7808k
  114. DEVICE_TITLE := Argus ATP-52B
  115. endef
  116. TARGET_DEVICES += atp-52b
  117. define Device/awm002-evb-4M
  118. DTS := AWM002-EVB-4M
  119. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  120. DEVICE_TITLE := AsiaRF AWM002-EVB (4M)
  121. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
  122. kmod-i2c-core kmod-i2c-gpio
  123. endef
  124. TARGET_DEVICES += awm002-evb-4M
  125. define Device/awm002-evb-8M
  126. DTS := AWM002-EVB-8M
  127. DEVICE_TITLE := AsiaRF AWM002-EVB (8M)
  128. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
  129. kmod-i2c-core kmod-i2c-gpio
  130. endef
  131. TARGET_DEVICES += awm002-evb-8M
  132. define Device/awm003-evb
  133. DTS := AWM003-EVB
  134. DEVICE_TITLE := AsiaRF AWM003 EVB
  135. endef
  136. TARGET_DEVICES += awm003-evb
  137. define Device/awapn2403
  138. DTS := AWAPN2403
  139. BLOCKSIZE := 4k
  140. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  141. DEVICE_TITLE := AsiaRF AWAPN2403
  142. endef
  143. TARGET_DEVICES += awapn2403
  144. define Device/bc2
  145. DTS := BC2
  146. DEVICE_TITLE := NexAira BC2
  147. endef
  148. TARGET_DEVICES += bc2
  149. define Device/broadway
  150. DTS := BROADWAY
  151. IMAGE_SIZE := 7744k
  152. UIMAGE_NAME:= Broadway Kernel Image
  153. DEVICE_TITLE := Hauppauge Broadway
  154. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  155. endef
  156. TARGET_DEVICES += broadway
  157. define Device/carambola
  158. DTS := CARAMBOLA
  159. DEVICE_TITLE := 8devices Carambola
  160. DEVICE_PACKAGES :=
  161. endef
  162. TARGET_DEVICES += carambola
  163. define Device/d105
  164. DTS := D105
  165. BLOCKSIZE := 64k
  166. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  167. DEVICE_TITLE := Huawei D105
  168. endef
  169. TARGET_DEVICES += d105
  170. define Device/dap-1350
  171. DTS := DAP-1350
  172. IMAGES += factory.bin factory-NA.bin
  173. IMAGE_SIZE := 7488k
  174. IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  175. dap-header -s RT3052-AP-DAP1350WW-3
  176. IMAGE/factory-NA.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  177. dap-header -s RT3052-AP-DAP1350-3
  178. DEVICE_TITLE := D-Link DAP-1350
  179. endef
  180. TARGET_DEVICES += dap-1350
  181. define Device/dir-300-b1
  182. DTS := DIR-300-B1
  183. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  184. IMAGES += factory.bin
  185. IMAGE/factory.bin := \
  186. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | wrg-header wrgn23_dlwbr_dir300b
  187. DEVICE_TITLE := D-Link DIR-300 B1
  188. endef
  189. TARGET_DEVICES += dir-300-b1
  190. define Device/dir-300-b7
  191. DTS := DIR-300-B7
  192. BLOCKSIZE := 4k
  193. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  194. DEVICE_TITLE := D-Link DIR-300 B7
  195. endef
  196. TARGET_DEVICES += dir-300-b7
  197. define Device/dir-320-b1
  198. DTS := DIR-320-B1
  199. DEVICE_TITLE := D-Link DIR-320 B1
  200. endef
  201. TARGET_DEVICES += dir-320-b1
  202. define Device/dir-600-b1
  203. DTS := DIR-600-B1
  204. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  205. SUPPORTED_DEVICES := dir-600-b1 dir-600-b2
  206. IMAGES += factory.bin
  207. IMAGE/factory.bin := \
  208. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | wrg-header wrgn23_dlwbr_dir600b
  209. DEVICE_TITLE := D-Link DIR-600 B1/B2
  210. endef
  211. TARGET_DEVICES += dir-600-b1
  212. define Device/dir-610-a1
  213. DTS := DIR-610-A1
  214. BLOCKSIZE := 4k
  215. IMAGES += factory.bin
  216. KERNEL := $(KERNEL_DTB)
  217. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  218. IMAGE/sysupgrade.bin := \
  219. append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
  220. seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
  221. pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  222. IMAGE/factory.bin := \
  223. append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
  224. append-rootfs | pad-rootfs -x 64 | \
  225. seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
  226. seama-seal -m "signature=wrgn59_dlob.hans_dir610" | \
  227. check-size $$$$(IMAGE_SIZE)
  228. DEVICE_TITLE := D-Link DIR-610 A1
  229. DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer
  230. endef
  231. TARGET_DEVICES += dir-610-a1
  232. define Device/dir-615-d
  233. DTS := DIR-615-D
  234. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  235. IMAGES += factory.bin
  236. IMAGE/factory.bin := \
  237. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | wrg-header wrgn23_dlwbr_dir615d
  238. DEVICE_TITLE := D-Link DIR-615 D
  239. endef
  240. TARGET_DEVICES += dir-615-d
  241. define Device/dir-615-h1
  242. DTS := DIR-615-H1
  243. BLOCKSIZE := 4k
  244. IMAGES += factory.bin
  245. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  246. IMAGE/factory.bin := \
  247. $$(sysupgrade_bin) | senao-header -r 0x218 -p 0x30 -t 3
  248. DEVICE_TITLE := D-Link DIR-615 H1
  249. endef
  250. TARGET_DEVICES += dir-615-h1
  251. define Device/dir-620-a1
  252. DTS := DIR-620-A1
  253. DEVICE_TITLE := D-Link DIR-620 A1
  254. endef
  255. TARGET_DEVICES += dir-620-a1
  256. define Device/dir-620-d1
  257. DTS := DIR-620-D1
  258. DEVICE_TITLE := D-Link DIR-620 D1
  259. endef
  260. TARGET_DEVICES += dir-620-d1
  261. define Device/dwr-512-b
  262. DTS := DWR-512-B
  263. IMAGE_SIZE := 7700k
  264. DEVICE_TITLE := D-Link DWR-512 B
  265. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev \
  266. kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan comgt
  267. endef
  268. TARGET_DEVICES += dwr-512-b
  269. define Device/esr-9753
  270. DTS := ESR-9753
  271. BLOCKSIZE := 64k
  272. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  273. DEVICE_TITLE := EnGenius ESR-9753
  274. endef
  275. TARGET_DEVICES += esr-9753
  276. define Device/f5d8235-v2
  277. DTS := F5D8235_V2
  278. IMAGE_SIZE := 7744k
  279. DEVICE_TITLE := Belkin F5D8235 v2
  280. endef
  281. TARGET_DEVICES += f5d8235-v2
  282. define Device/f7c027
  283. DTS := F7C027
  284. IMAGE_SIZE := 7616k
  285. DEVICE_TITLE := Belkin F7C027
  286. DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-usb-ledtrig-usbport
  287. endef
  288. TARGET_DEVICES += f7c027
  289. define Device/fonera20n
  290. DTS := FONERA20N
  291. IMAGES += factory.bin
  292. IMAGE/factory.bin := $$(sysupgrade_bin) | \
  293. edimax-header -s RSDK -m NL1T -f 0x50000 -S 0xc0000
  294. DEVICE_TITLE := Fonera 2.0N
  295. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  296. endef
  297. TARGET_DEVICES += fonera20n
  298. define Device/freestation5
  299. DTS := FREESTATION5
  300. DEVICE_TITLE := ARC Wireless FreeStation
  301. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb
  302. endef
  303. TARGET_DEVICES += freestation5
  304. define Device/hg255d
  305. DTS := HG255D
  306. IMAGE_SIZE := $(ralink_default_fw_size_16M)
  307. DEVICE_TITLE := HuaWei HG255D
  308. endef
  309. TARGET_DEVICES += hg255d
  310. define Device/hlk-rm04
  311. DTS := HLKRM04
  312. IMAGES += factory.bin
  313. IMAGE/factory.bin := \
  314. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | hilink-header
  315. DEVICE_TITLE := Hi-Link HLK-RM04
  316. endef
  317. TARGET_DEVICES += hlk-rm04
  318. define Device/ht-tm02
  319. DTS := HT-TM02
  320. DEVICE_TITLE := HooToo HT-TM02
  321. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport
  322. endef
  323. TARGET_DEVICES += ht-tm02
  324. define Device/hw550-3g
  325. DTS := HW550-3G
  326. DEVICE_TITLE := Aztech HW550-3G
  327. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  328. endef
  329. TARGET_DEVICES += hw550-3g
  330. define Device/ip2202
  331. DTS := IP2202
  332. DEVICE_TITLE := Poray IP2202
  333. endef
  334. TARGET_DEVICES += ip2202
  335. define Device/jhr-n805r
  336. DTS := JHR-N805R
  337. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  338. IMAGES += factory.bin
  339. IMAGE/factory.bin := \
  340. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 29.24
  341. DEVICE_TITLE := JCG JHR-N805R
  342. endef
  343. TARGET_DEVICES += jhr-n805r
  344. define Device/jhr-n825r
  345. DTS := JHR-N825R
  346. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  347. IMAGES += factory.bin
  348. IMAGE/factory.bin := \
  349. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 23.24
  350. DEVICE_TITLE := JCG JHR-N825R
  351. endef
  352. TARGET_DEVICES += jhr-n825r
  353. define Device/jhr-n926r
  354. DTS := JHR-N926R
  355. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  356. IMAGES += factory.bin
  357. IMAGE/factory.bin := \
  358. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 25.24
  359. DEVICE_TITLE := JCG JHR-N926R
  360. endef
  361. TARGET_DEVICES += jhr-n926r
  362. define Device/m2m
  363. DTS := M2M
  364. UIMAGE_NAME:= Linux Kernel Image
  365. DEVICE_TITLE := Intenso Memory 2 Move
  366. DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer \
  367. kmod-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \
  368. kmod-fs-ext4 kmod-fs-vfat block-mount
  369. endef
  370. TARGET_DEVICES += m2m
  371. define Device/m3
  372. DTS := M3
  373. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  374. IMAGES += factory.bin
  375. IMAGE/factory.bin := \
  376. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M3 -F 4M
  377. DEVICE_TITLE := Poray M3
  378. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev \
  379. kmod-ledtrig-timer
  380. endef
  381. TARGET_DEVICES += m3
  382. define Device/m4-4M
  383. DTS := M4-4M
  384. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  385. IMAGES += factory.bin
  386. IMAGE/factory.bin := \
  387. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M4 -F 4M
  388. DEVICE_TITLE := Poray M4 (4MB)
  389. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev \
  390. kmod-ledtrig-timer
  391. endef
  392. TARGET_DEVICES += m4-4M
  393. define Device/m4-8M
  394. DTS := M4-8M
  395. IMAGES += factory.bin
  396. IMAGE/factory.bin := \
  397. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M4 -F 8M
  398. DEVICE_TITLE := Poray M4 (8MB)
  399. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
  400. endef
  401. TARGET_DEVICES += m4-8M
  402. define Device/miniembplug
  403. DTS := MINIEMBPLUG
  404. DEVICE_TITLE := Omnima MiniEMBPlug
  405. endef
  406. TARGET_DEVICES += miniembplug
  407. define Device/miniembwifi
  408. DTS := MINIEMBWIFI
  409. DEVICE_TITLE := Omnima MiniEMBWiFi
  410. endef
  411. TARGET_DEVICES += miniembwifi
  412. define Device/mofi3500-3gn
  413. DTS := MOFI3500-3GN
  414. DEVICE_TITLE := MoFi Network MOFI3500-3GN
  415. endef
  416. TARGET_DEVICES += mofi3500-3gn
  417. define Device/mpr-a1
  418. DTS := MPRA1
  419. BLOCKSIZE := 4k
  420. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  421. UIMAGE_NAME:= Linux Kernel Image
  422. DEVICE_TITLE := HAME MPR-A1
  423. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev
  424. endef
  425. TARGET_DEVICES += mpr-a1
  426. define Device/mpr-a2
  427. DTS := MPRA2
  428. UIMAGE_NAME:= Linux Kernel Image
  429. DEVICE_TITLE := HAME MPR-A2
  430. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev
  431. endef
  432. TARGET_DEVICES += mpr-a2
  433. define Device/mr-102n
  434. DTS := MR-102N
  435. DEVICE_TITLE := AXIMCom MR-102N
  436. endef
  437. TARGET_DEVICES += mr-102n
  438. define Device/mzk-dp150n
  439. DTS := MZK-DP150N
  440. BLOCKSIZE := 64k
  441. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  442. DEVICE_TITLE := Planex MZK-DP150N
  443. DEVICE_PACKAGES := kmod-spi-dev
  444. endef
  445. TARGET_DEVICES += mzk-dp150n
  446. define Device/mzk-w300nh2
  447. DTS := MZK-W300NH2
  448. IMAGE_SIZE := 3648k
  449. IMAGES += factory.bin
  450. IMAGE/factory.bin := $$(sysupgrade_bin) | \
  451. edimax-header -s CSYS -m RN52 -f 0x50000 -S 0xc0000
  452. DEVICE_TITLE := Planex MZK-W300NH2
  453. endef
  454. TARGET_DEVICES += mzk-w300nh2
  455. define Device/mzk-wdpr
  456. DTS := MZK-WDPR
  457. DEVICE_TITLE := Planex MZK-WDPR
  458. endef
  459. TARGET_DEVICES += mzk-wdpr
  460. define Device/nbg-419n
  461. DTS := NBG-419N
  462. BLOCKSIZE := 64k
  463. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  464. DEVICE_TITLE := ZyXEL NBG-419N
  465. endef
  466. TARGET_DEVICES += nbg-419n
  467. define Device/nbg-419n2
  468. DTS := NBG-419N2
  469. IMAGE_SIZE := $(ralink_default_fw_size_8M)
  470. DEVICE_TITLE := ZyXEL NBG-419N2
  471. endef
  472. TARGET_DEVICES += nbg-419n2
  473. define Device/ncs601w
  474. DTS := NCS601W
  475. DEVICE_TITLE := Wansview NCS601W
  476. DEVICE_PACKAGES := kmod-video-core kmod-video-uvc \
  477. kmod-usb-core kmod-usb-ohci
  478. endef
  479. TARGET_DEVICES += ncs601w
  480. define Device/nixcore-x1-8M
  481. DTS := NIXCORE-8M
  482. IMAGE_SIZE := 7872k
  483. DEVICE_TITLE := NixcoreX1 (8M)
  484. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev
  485. endef
  486. TARGET_DEVICES += nixcore-x1-8M
  487. define Device/nixcore-x1-16M
  488. DTS := NIXCORE-16M
  489. IMAGE_SIZE := 16064k
  490. DEVICE_TITLE := NixcoreX1 (16M)
  491. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev
  492. endef
  493. TARGET_DEVICES += nixcore-x1-16M
  494. define Device/nw718
  495. DTS := NW718
  496. IMAGE_SIZE := 3712k
  497. UIMAGE_NAME:= ARA1B4NCRNW718;1
  498. DEVICE_TITLE := Netcore NW718
  499. endef
  500. TARGET_DEVICES += nw718
  501. define Device/psr-680w
  502. DTS := PSR-680W
  503. BLOCKSIZE := 64k
  504. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  505. DEVICE_TITLE := Petatel PSR-680W Wireless 3G Router
  506. endef
  507. TARGET_DEVICES += psr-680w
  508. define Device/pwh2004
  509. DTS := PWH2004
  510. DEVICE_TITLE := Prolink PWH2004
  511. DEVICE_PACKAGES :=
  512. endef
  513. TARGET_DEVICES += pwh2004
  514. define Device/px-4885-4M
  515. DTS := PX-4885-4M
  516. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  517. DEVICE_TITLE := 7Links PX-4885 (4M)
  518. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \
  519. kmod-usb-ledtrig-usbport kmod-leds-gpio
  520. endef
  521. TARGET_DEVICES += px-4885-4M
  522. define Device/px-4885-8M
  523. DTS := PX-4885-8M
  524. DEVICE_TITLE := 7Links PX-4885 (8M)
  525. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \
  526. kmod-usb-ledtrig-usbport kmod-leds-gpio
  527. endef
  528. TARGET_DEVICES += px-4885-8M
  529. define Device/rt5350f-olinuxino
  530. DTS := RT5350F-OLINUXINO
  531. DEVICE_TITLE := RT5350F-OLinuXino
  532. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
  533. kmod-i2c-core kmod-i2c-ralink \
  534. kmod-spi-dev
  535. endef
  536. TARGET_DEVICES += rt5350f-olinuxino
  537. define Device/rt5350f-olinuxino-evb
  538. DTS := RT5350F-OLINUXINO-EVB
  539. DEVICE_TITLE := RT5350F-OLinuXino-EVB
  540. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
  541. kmod-i2c-core kmod-i2c-ralink \
  542. kmod-spi-dev
  543. endef
  544. TARGET_DEVICES += rt5350f-olinuxino-evb
  545. define Device/rt-g32-b1
  546. DTS := RT-G32-B1
  547. BLOCKSIZE := 4k
  548. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  549. DEVICE_TITLE := Asus RT-G32 B1
  550. endef
  551. TARGET_DEVICES += rt-g32-b1
  552. define Device/rt-n10-plus
  553. DTS := RT-N10-PLUS
  554. BLOCKSIZE := 64k
  555. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  556. DEVICE_TITLE := Asus RT-N10+
  557. endef
  558. TARGET_DEVICES += rt-n10-plus
  559. define Device/rt-n13u
  560. DTS := RT-N13U
  561. DEVICE_TITLE := Asus RT-N13U
  562. DEVICE_PACKAGES := kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-dwc2
  563. endef
  564. TARGET_DEVICES += rt-n13u
  565. define Device/rut5xx
  566. DTS := RUT5XX
  567. DEVICE_TITLE := Teltonika RUT5XX
  568. DEVICE_PACKAGES := om-watchdog
  569. endef
  570. TARGET_DEVICES += rut5xx
  571. define Device/sl-r7205
  572. DTS := SL-R7205
  573. BLOCKSIZE := 64k
  574. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  575. DEVICE_TITLE := Skyline SL-R7205 Wireless 3G Router
  576. endef
  577. TARGET_DEVICES += sl-r7205
  578. define Device/tew-714tru
  579. DTS := TEW-714TRU
  580. DEVICE_TITLE := TRENDnet TEW-714TRU
  581. endef
  582. TARGET_DEVICES += tew-714tru
  583. define Device/ur-326n4g
  584. DTS := UR-326N4G
  585. BLOCKSIZE := 64k
  586. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  587. DEVICE_TITLE := UPVEL UR-326N4G
  588. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  589. endef
  590. TARGET_DEVICES += ur-326n4g
  591. define Device/ur-336un
  592. DTS := UR-336UN
  593. DEVICE_TITLE := UPVEL UR-336UN
  594. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  595. endef
  596. TARGET_DEVICES += ur-336un
  597. define Device/v22rw-2x2
  598. DTS := V22RW-2X2
  599. BLOCKSIZE := 64k
  600. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  601. DEVICE_TITLE := Ralink AP-RT3052-V22RW-2X2
  602. endef
  603. TARGET_DEVICES += v22rw-2x2
  604. define Device/vocore-8M
  605. DTS := VOCORE-8M
  606. IMAGE_SIZE := 7872k
  607. DEVICE_TITLE := VoCore (8M)
  608. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
  609. kmod-i2c-core kmod-i2c-ralink \
  610. kmod-spi-dev
  611. endef
  612. TARGET_DEVICES += vocore-8M
  613. define Device/vocore-16M
  614. DTS := VOCORE-16M
  615. IMAGE_SIZE := 16064k
  616. DEVICE_TITLE := VoCore (16M)
  617. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
  618. kmod-i2c-core kmod-i2c-ralink \
  619. kmod-spi-dev
  620. endef
  621. TARGET_DEVICES += vocore-16M
  622. define Device/w150m
  623. DTS := W150M
  624. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  625. UIMAGE_NAME:= W150M Kernel Image
  626. DEVICE_TITLE := Tenda W150M
  627. endef
  628. TARGET_DEVICES += w150m
  629. define Device/w306r-v20
  630. DTS := W306R_V20
  631. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  632. UIMAGE_NAME:= linkn Kernel Image
  633. DEVICE_TITLE := Tenda W306R V2.0
  634. endef
  635. TARGET_DEVICES += w306r-v20
  636. define Device/w502u
  637. DTS := W502U
  638. DEVICE_TITLE := ALFA Networks W502U
  639. endef
  640. TARGET_DEVICES += w502u
  641. define Device/wcr-150gn
  642. DTS := WCR150GN
  643. BLOCKSIZE := 64k
  644. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  645. DEVICE_TITLE := Sparklan WCR-150GN
  646. endef
  647. TARGET_DEVICES += wcr-150gn
  648. define Device/wizard8800
  649. DTS := WIZARD8800
  650. UIMAGE_NAME:= Linux Kernel Image
  651. DEVICE_TITLE := EasyAcc WIZARD 8800
  652. endef
  653. TARGET_DEVICES += wizard8800
  654. define Device/wizfi630a
  655. DTS := WIZFI630A
  656. IMAGE_SIZE := $(ralink_default_fw_size_16M)
  657. DEVICE_TITLE := WIZnet WizFi630A
  658. endef
  659. TARGET_DEVICES += wizfi630a
  660. define Device/wl-330n
  661. DTS := WL-330N
  662. BLOCKSIZE := 4k
  663. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  664. DEVICE_TITLE := Asus WL-330N
  665. endef
  666. TARGET_DEVICES += wl-330n
  667. define Device/wl-330n3g
  668. DTS := WL-330N3G
  669. BLOCKSIZE := 4k
  670. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  671. DEVICE_TITLE := Asus WL-330N3G
  672. DEVICE_PACKAGES :=
  673. endef
  674. TARGET_DEVICES += wl-330n3g
  675. define Device/wl-351
  676. DTS := WL-351
  677. BLOCKSIZE := 64k
  678. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  679. DEVICE_TITLE := Sitecom WL-351 v1
  680. DEVICE_PACKAGES := kmod-switch-rtl8366rb kmod-swconfig swconfig
  681. endef
  682. TARGET_DEVICES += wl-351
  683. define Device/wnce2001
  684. DTS := WNCE2001
  685. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  686. IMAGES += factory.bin factory-NA.bin
  687. IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  688. dap-header -s RT3052-AP-WNCE2001-3 -r WW -v 1.0.0.99
  689. IMAGE/factory-NA.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  690. dap-header -s RT3052-AP-WNCE2001-3 -r NA -v 1.0.0.99
  691. DEVICE_TITLE := Netgear WNCE2001
  692. endef
  693. TARGET_DEVICES += wnce2001
  694. define Device/wr512-3gn-4M
  695. DTS := WR512-3GN-4M
  696. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  697. DEVICE_TITLE := WR512-3GN (4M)
  698. endef
  699. TARGET_DEVICES += wr512-3gn-4M
  700. define Device/wr512-3gn-8M
  701. DTS := WR512-3GN-8M
  702. DEVICE_TITLE := WR512-3GN (8M)
  703. endef
  704. TARGET_DEVICES += wr512-3gn-8M
  705. define Device/wr6202
  706. DTS := WR6202
  707. DEVICE_TITLE := AWB WR6202
  708. endef
  709. TARGET_DEVICES += wr6202
  710. define Device/wt1520-4M
  711. DTS := WT1520-4M
  712. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  713. IMAGES += factory.bin
  714. IMAGE/factory.bin := \
  715. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 4M
  716. DEVICE_TITLE := Nexx WT1520 (4MB)
  717. endef
  718. TARGET_DEVICES += wt1520-4M
  719. define Device/wt1520-8M
  720. DTS := WT1520-8M
  721. IMAGES += factory.bin
  722. IMAGE/factory.bin := \
  723. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 8M
  724. DEVICE_TITLE := Nexx WT1520 (8MB)
  725. endef
  726. TARGET_DEVICES += wt1520-8M
  727. define Device/x5
  728. DTS := X5
  729. IMAGES += factory.bin
  730. IMAGE/factory.bin := \
  731. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B X5 -F 8M
  732. DEVICE_TITLE := Poray X5/X6
  733. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
  734. endef
  735. TARGET_DEVICES += x5
  736. define Device/x8
  737. DTS := X8
  738. IMAGES += factory.bin
  739. IMAGE/factory.bin := \
  740. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B X8 -F 8M
  741. DEVICE_TITLE := Poray X8
  742. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
  743. endef
  744. TARGET_DEVICES += x8
  745. define Device/xdxrn502j
  746. DTS := XDXRN502J
  747. BLOCKSIZE := 64k
  748. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  749. DEVICE_TITLE := XDX RN502J
  750. endef
  751. TARGET_DEVICES += xdxrn502j