rt305x.mk 21 KB

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