1
0

rt305x.mk 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  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. DEVICE_TITLE := D-Link DWR-512 B
  264. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev \
  265. kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan comgt
  266. endef
  267. TARGET_DEVICES += dwr-512-b
  268. define Device/esr-9753
  269. DTS := ESR-9753
  270. BLOCKSIZE := 64k
  271. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  272. DEVICE_TITLE := EnGenius ESR-9753
  273. endef
  274. TARGET_DEVICES += esr-9753
  275. define Device/f5d8235-v2
  276. DTS := F5D8235_V2
  277. IMAGE_SIZE := 7744k
  278. DEVICE_TITLE := Belkin F5D8235 v2
  279. endef
  280. TARGET_DEVICES += f5d8235-v2
  281. define Device/f7c027
  282. DTS := F7C027
  283. IMAGE_SIZE := 7616k
  284. DEVICE_TITLE := Belkin F7C027
  285. DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-usb-ledtrig-usbport
  286. endef
  287. TARGET_DEVICES += f7c027
  288. define Device/fonera20n
  289. DTS := FONERA20N
  290. IMAGES += factory.bin
  291. IMAGE/factory.bin := $$(sysupgrade_bin) | \
  292. edimax-header -s RSDK -m NL1T -f 0x50000 -S 0xc0000
  293. DEVICE_TITLE := Fonera 2.0N
  294. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  295. endef
  296. TARGET_DEVICES += fonera20n
  297. define Device/freestation5
  298. DTS := FREESTATION5
  299. DEVICE_TITLE := ARC Wireless FreeStation
  300. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb
  301. endef
  302. TARGET_DEVICES += freestation5
  303. define Device/hlk-rm04
  304. DTS := HLKRM04
  305. IMAGES += factory.bin
  306. IMAGE/factory.bin := \
  307. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | hilink-header
  308. DEVICE_TITLE := Hi-Link HLK-RM04
  309. endef
  310. TARGET_DEVICES += hlk-rm04
  311. define Device/ht-tm02
  312. DTS := HT-TM02
  313. DEVICE_TITLE := HooToo HT-TM02
  314. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport
  315. endef
  316. TARGET_DEVICES += ht-tm02
  317. define Device/hw550-3g
  318. DTS := HW550-3G
  319. DEVICE_TITLE := Aztech HW550-3G
  320. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  321. endef
  322. TARGET_DEVICES += hw550-3g
  323. define Device/ip2202
  324. DTS := IP2202
  325. DEVICE_TITLE := Poray IP2202
  326. endef
  327. TARGET_DEVICES += ip2202
  328. define Device/jhr-n805r
  329. DTS := JHR-N805R
  330. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  331. IMAGES += factory.bin
  332. IMAGE/factory.bin := \
  333. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 29.24
  334. DEVICE_TITLE := JCG JHR-N805R
  335. endef
  336. TARGET_DEVICES += jhr-n805r
  337. define Device/jhr-n825r
  338. DTS := JHR-N825R
  339. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  340. IMAGES += factory.bin
  341. IMAGE/factory.bin := \
  342. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 23.24
  343. DEVICE_TITLE := JCG JHR-N825R
  344. endef
  345. TARGET_DEVICES += jhr-n825r
  346. define Device/jhr-n926r
  347. DTS := JHR-N926R
  348. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  349. IMAGES += factory.bin
  350. IMAGE/factory.bin := \
  351. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 25.24
  352. DEVICE_TITLE := JCG JHR-N926R
  353. endef
  354. TARGET_DEVICES += jhr-n926r
  355. define Device/m2m
  356. DTS := M2M
  357. UIMAGE_NAME:= Linux Kernel Image
  358. DEVICE_TITLE := Intenso Memory 2 Move
  359. DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer \
  360. kmod-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \
  361. kmod-fs-ext4 kmod-fs-vfat block-mount
  362. endef
  363. TARGET_DEVICES += m2m
  364. define Device/m3
  365. DTS := M3
  366. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  367. IMAGES += factory.bin
  368. IMAGE/factory.bin := \
  369. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M3 -F 4M
  370. DEVICE_TITLE := Poray M3
  371. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev \
  372. kmod-ledtrig-timer
  373. endef
  374. TARGET_DEVICES += m3
  375. define Device/m4-4M
  376. DTS := M4-4M
  377. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  378. IMAGES += factory.bin
  379. IMAGE/factory.bin := \
  380. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M4 -F 4M
  381. DEVICE_TITLE := Poray M4 (4MB)
  382. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev \
  383. kmod-ledtrig-timer
  384. endef
  385. TARGET_DEVICES += m4-4M
  386. define Device/m4-8M
  387. DTS := M4-8M
  388. IMAGES += factory.bin
  389. IMAGE/factory.bin := \
  390. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M4 -F 8M
  391. DEVICE_TITLE := Poray M4 (8MB)
  392. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
  393. endef
  394. TARGET_DEVICES += m4-8M
  395. define Device/miniembplug
  396. DTS := MINIEMBPLUG
  397. DEVICE_TITLE := Omnima MiniEMBPlug
  398. endef
  399. TARGET_DEVICES += miniembplug
  400. define Device/miniembwifi
  401. DEVICE_TITLE := Omnima MiniEMBWiFi
  402. endef
  403. TARGET_DEVICES += miniembwifi
  404. define Device/mofi3500-3gn
  405. DTS := MOFI3500-3GN
  406. DEVICE_TITLE := MoFi Network MOFI3500-3GN
  407. endef
  408. TARGET_DEVICES += mofi3500-3gn
  409. define Device/mpr-a1
  410. DTS := MPRA1
  411. BLOCKSIZE := 4k
  412. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  413. UIMAGE_NAME:= Linux Kernel Image
  414. DEVICE_TITLE := HAME MPR-A1
  415. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev
  416. endef
  417. TARGET_DEVICES += mpr-a1
  418. define Device/mpr-a2
  419. DTS := MPRA2
  420. UIMAGE_NAME:= Linux Kernel Image
  421. DEVICE_TITLE := HAME MPR-A2
  422. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev
  423. endef
  424. TARGET_DEVICES += mpr-a2
  425. define Device/mr-102n
  426. DTS := MR-102N
  427. DEVICE_TITLE := AXIMCom MR-102N
  428. endef
  429. TARGET_DEVICES += mr-102n
  430. define Device/mzk-dp150n
  431. DTS := MZK-DP150N
  432. BLOCKSIZE := 64k
  433. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  434. DEVICE_TITLE := Planex MZK-DP150N
  435. DEVICE_PACKAGES := kmod-spi-dev
  436. endef
  437. TARGET_DEVICES += mzk-dp150n
  438. define Device/mzk-w300nh2
  439. DTS := MZK-W300NH2
  440. IMAGE_SIZE := 3648k
  441. IMAGES += factory.bin
  442. IMAGE/factory.bin := $$(sysupgrade_bin) | \
  443. edimax-header -s CSYS -m RN52 -f 0x50000 -S 0xc0000
  444. DEVICE_TITLE := Planex MZK-W300NH2
  445. endef
  446. TARGET_DEVICES += mzk-w300nh2
  447. define Device/mzk-wdpr
  448. DTS := MZK-WDPR
  449. DEVICE_TITLE := Planex MZK-WDPR
  450. endef
  451. TARGET_DEVICES += mzk-wdpr
  452. define Device/nbg-419n
  453. DTS := NBG-419N
  454. BLOCKSIZE := 64k
  455. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  456. DEVICE_TITLE := ZyXEL NBG-419N
  457. endef
  458. TARGET_DEVICES += nbg-419n
  459. define Device/nbg-419n2
  460. DTS := NBG-419N2
  461. IMAGE_SIZE := $(ralink_default_fw_size_8M)
  462. DEVICE_TITLE := ZyXEL NBG-419N2
  463. endef
  464. TARGET_DEVICES += nbg-419n2
  465. define Device/ncs601w
  466. DTS := NCS601W
  467. DEVICE_TITLE := Wansview NCS601W
  468. DEVICE_PACKAGES := kmod-video-core kmod-video-uvc \
  469. kmod-usb-core kmod-usb-ohci
  470. endef
  471. TARGET_DEVICES += ncs601w
  472. define Device/nixcore-x1-8M
  473. DTS := NIXCORE-8M
  474. IMAGE_SIZE := 7872k
  475. DEVICE_TITLE := NixcoreX1 (8M)
  476. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev
  477. endef
  478. TARGET_DEVICES += nixcore-x1-8M
  479. define Device/nixcore-x1-16M
  480. DTS := NIXCORE-16M
  481. IMAGE_SIZE := 16064k
  482. DEVICE_TITLE := NixcoreX1 (16M)
  483. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev
  484. endef
  485. TARGET_DEVICES += nixcore-x1-16M
  486. define Device/nw718
  487. DTS := NW718
  488. IMAGE_SIZE := 3712k
  489. UIMAGE_NAME:= ARA1B4NCRNW718;1
  490. DEVICE_TITLE := Netcore NW718
  491. endef
  492. TARGET_DEVICES += nw718
  493. define Device/psr-680w
  494. DTS := PSR-680W
  495. BLOCKSIZE := 64k
  496. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  497. DEVICE_TITLE := Petatel PSR-680W Wireless 3G Router
  498. endef
  499. TARGET_DEVICES += psr-680w
  500. define Device/pwh2004
  501. DTS := PWH2004
  502. DEVICE_TITLE := Prolink PWH2004
  503. DEVICE_PACKAGES :=
  504. endef
  505. TARGET_DEVICES += pwh2004
  506. define Device/px-4885-4M
  507. DTS := PX-4885-4M
  508. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  509. DEVICE_TITLE := 7Links PX-4885 (4M)
  510. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \
  511. kmod-usb-ledtrig-usbport kmod-leds-gpio
  512. endef
  513. TARGET_DEVICES += px-4885-4M
  514. define Device/px-4885-8M
  515. DTS := PX-4885-8M
  516. DEVICE_TITLE := 7Links PX-4885 (8M)
  517. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \
  518. kmod-usb-ledtrig-usbport kmod-leds-gpio
  519. endef
  520. TARGET_DEVICES += px-4885-8M
  521. define Device/rt5350f-olinuxino
  522. DTS := RT5350F-OLINUXINO
  523. DEVICE_TITLE := RT5350F-OLinuXino
  524. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
  525. kmod-i2c-core kmod-i2c-ralink \
  526. kmod-spi-dev
  527. endef
  528. TARGET_DEVICES += rt5350f-olinuxino
  529. define Device/rt5350f-olinuxino-evb
  530. DTS := RT5350F-OLINUXINO-EVB
  531. DEVICE_TITLE := RT5350F-OLinuXino-EVB
  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-evb
  537. define Device/rt-g32-b1
  538. DTS := RT-G32-B1
  539. BLOCKSIZE := 4k
  540. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  541. DEVICE_TITLE := Asus RT-G32 B1
  542. endef
  543. TARGET_DEVICES += rt-g32-b1
  544. define Device/rt-n10-plus
  545. DTS := RT-N10-PLUS
  546. BLOCKSIZE := 64k
  547. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  548. DEVICE_TITLE := Asus RT-N10+
  549. endef
  550. TARGET_DEVICES += rt-n10-plus
  551. define Device/rt-n13u
  552. DTS := RT-N13U
  553. DEVICE_TITLE := Asus RT-N13U
  554. DEVICE_PACKAGES := kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-dwc2
  555. endef
  556. TARGET_DEVICES += rt-n13u
  557. define Device/rut5xx
  558. DTS := RUT5XX
  559. DEVICE_TITLE := Teltonika RUT5XX
  560. endef
  561. TARGET_DEVICES += rut5xx
  562. define Device/sl-r7205
  563. DTS := SL-R7205
  564. BLOCKSIZE := 64k
  565. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  566. DEVICE_TITLE := Skyline SL-R7205 Wireless 3G Router
  567. endef
  568. TARGET_DEVICES += sl-r7205
  569. define Device/tew-714tru
  570. DTS := TEW-714TRU
  571. DEVICE_TITLE := TRENDnet TEW-714TRU
  572. endef
  573. TARGET_DEVICES += tew-714tru
  574. define Device/ur-326n4g
  575. DTS := UR-326N4G
  576. BLOCKSIZE := 64k
  577. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  578. DEVICE_TITLE := UPVEL UR-326N4G
  579. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  580. endef
  581. TARGET_DEVICES += ur-326n4g
  582. define Device/ur-336un
  583. DTS := UR-336UN
  584. DEVICE_TITLE := UPVEL UR-336UN
  585. DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  586. endef
  587. TARGET_DEVICES += ur-336un
  588. define Device/v22rw-2x2
  589. DTS := V22RW-2X2
  590. BLOCKSIZE := 64k
  591. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  592. DEVICE_TITLE := Ralink AP-RT3052-V22RW-2X2
  593. endef
  594. TARGET_DEVICES += v22rw-2x2
  595. define Device/vocore-8M
  596. DTS := VOCORE-8M
  597. IMAGE_SIZE := 7872k
  598. DEVICE_TITLE := VoCore (8M)
  599. DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
  600. kmod-i2c-core kmod-i2c-ralink \
  601. kmod-spi-dev
  602. endef
  603. TARGET_DEVICES += vocore-8M
  604. define Device/vocore-16M
  605. DTS := VOCORE-16M
  606. IMAGE_SIZE := 16064k
  607. DEVICE_TITLE := VoCore (16M)
  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-16M
  613. define Device/w150m
  614. DTS := W150M
  615. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  616. UIMAGE_NAME:= W150M Kernel Image
  617. DEVICE_TITLE := Tenda W150M
  618. endef
  619. TARGET_DEVICES += w150m
  620. define Device/w306r-v20
  621. DTS := W306R_V20
  622. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  623. UIMAGE_NAME:= linkn Kernel Image
  624. DEVICE_TITLE := Tenda W306R V2.0
  625. endef
  626. TARGET_DEVICES += w306r-v20
  627. define Device/w502u
  628. DTS := W502U
  629. DEVICE_TITLE := ALFA Networks W502U
  630. endef
  631. TARGET_DEVICES += w502u
  632. define Device/wcr-150gn
  633. DTS := WCR150GN
  634. BLOCKSIZE := 64k
  635. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  636. DEVICE_TITLE := Sparklan WCR-150GN
  637. endef
  638. TARGET_DEVICES += wcr-150gn
  639. define Device/wizard8800
  640. DTS := WIZARD8800
  641. UIMAGE_NAME:= Linux Kernel Image
  642. DEVICE_TITLE := EasyAcc WIZARD 8800
  643. endef
  644. TARGET_DEVICES += wizard8800
  645. define Device/wizfi630a
  646. DTS := WIZFI630A
  647. IMAGE_SIZE := $(ralink_default_fw_size_16M)
  648. DEVICE_TITLE := WIZnet WizFi630A
  649. endef
  650. TARGET_DEVICES += wizfi630a
  651. define Device/wl-330n
  652. DTS := WL-330N
  653. BLOCKSIZE := 4k
  654. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  655. DEVICE_TITLE := Asus WL-330N
  656. endef
  657. TARGET_DEVICES += wl-330n
  658. define Device/wl-330n3g
  659. DTS := WL-330N3G
  660. BLOCKSIZE := 4k
  661. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  662. DEVICE_TITLE := Asus WL-330N3G
  663. DEVICE_PACKAGES :=
  664. endef
  665. TARGET_DEVICES += wl-330n3g
  666. define Device/wl-351
  667. DTS := WL-351
  668. BLOCKSIZE := 64k
  669. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  670. DEVICE_TITLE := Sitecom WL-351 v1
  671. DEVICE_PACKAGES := kmod-switch-rtl8366rb kmod-swconfig swconfig
  672. endef
  673. TARGET_DEVICES += wl-351
  674. define Device/wnce2001
  675. DTS := WNCE2001
  676. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  677. IMAGES += factory.bin factory-NA.bin
  678. IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  679. dap-header -s RT3052-AP-WNCE2001-3 -r WW -v 1.0.0.99
  680. IMAGE/factory-NA.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
  681. dap-header -s RT3052-AP-WNCE2001-3 -r NA -v 1.0.0.99
  682. DEVICE_TITLE := Netgear WNCE2001
  683. endef
  684. TARGET_DEVICES += wnce2001
  685. define Device/wr512-3gn-4M
  686. DTS := WR512-3GN-4M
  687. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  688. DEVICE_TITLE := WR512-3GN (4M)
  689. endef
  690. TARGET_DEVICES += wr512-3gn-4M
  691. define Device/wr512-3gn-8M
  692. DTS := WR512-3GN-8M
  693. DEVICE_TITLE := WR512-3GN (8M)
  694. endef
  695. TARGET_DEVICES += wr512-3gn-8M
  696. define Device/wr6202
  697. DTS := WR6202
  698. DEVICE_TITLE := AWB WR6202
  699. endef
  700. TARGET_DEVICES += wr6202
  701. define Device/wt1520-4M
  702. DTS := WT1520-4M
  703. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  704. IMAGES += factory.bin
  705. IMAGE/factory.bin := \
  706. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 4M
  707. DEVICE_TITLE := Nexx WT1520 (4MB)
  708. endef
  709. TARGET_DEVICES += wt1520-4M
  710. define Device/wt1520-8M
  711. DTS := WT1520-8M
  712. IMAGES += factory.bin
  713. IMAGE/factory.bin := \
  714. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 8M
  715. DEVICE_TITLE := Nexx WT1520 (8MB)
  716. endef
  717. TARGET_DEVICES += wt1520-8M
  718. define Device/x5
  719. DTS := X5
  720. IMAGES += factory.bin
  721. IMAGE/factory.bin := \
  722. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B X5 -F 8M
  723. DEVICE_TITLE := Poray X5/X6
  724. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
  725. endef
  726. TARGET_DEVICES += x5
  727. define Device/x8
  728. DTS := X8
  729. IMAGES += factory.bin
  730. IMAGE/factory.bin := \
  731. $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B X8 -F 8M
  732. DEVICE_TITLE := Poray X8
  733. DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
  734. endef
  735. TARGET_DEVICES += x8
  736. define Device/xdxrn502j
  737. DTS := XDXRN502J
  738. BLOCKSIZE := 64k
  739. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  740. DEVICE_TITLE := XDX RN502J
  741. endef
  742. TARGET_DEVICES += xdxrn502j