Makefile 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. #
  2. # Copyright (C) 2010-2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # boards missing since devicetree update
  8. #EASY50712 ARV3527P
  9. KERNEL_LOADADDR = 0x80002000
  10. KERNEL_ENTRY = 0x80002000
  11. include $(TOPDIR)/rules.mk
  12. include $(INCLUDE_DIR)/image.mk
  13. ifeq ($(SUBTARGET),xway)
  14. UBIFS_OPTS := -m 512 -e 15872 -c 1959
  15. else
  16. UBIFS_OPTS := -m 2048 -e 126KiB -c 4096
  17. endif
  18. define Build/eva-image
  19. lzma2eva $(KERNEL_LOADADDR) $(KERNEL_LOADADDR) $@ $@.new
  20. ( dd if=$@.new bs=64k conv=sync; cat ./eva.dummy.squashfs; ) > $@
  21. endef
  22. define Build/dgn3500-sercom-footer
  23. $(STAGING_DIR_HOST)/bin/dgn3500sum $@ $(1) $(2)
  24. endef
  25. define Build/mkbrncmdline
  26. mkbrncmdline -i $@ -o $@.new BRN-BOOT
  27. mv $@.new $@
  28. endef
  29. define Build/mkbrnimg
  30. mkbrnimg -s $(SIGNATURE) -m $(MAGIC) -p $(CRC32_POLY) -o $@ $(IMAGE_KERNEL) $(IMAGE_ROOTFS)
  31. endef
  32. define Build/fullimage
  33. mkimage -A mips -O linux -C lzma -T filesystem -a 0x00 \
  34. -e 0x00 -n 'LEDE RootFS' \
  35. -d $(IMAGE_ROOTFS) $(IMAGE_ROOTFS).new
  36. cat $(IMAGE_KERNEL) $(IMAGE_ROOTFS).new > $@.tmp
  37. mkimage -A mips -O linux -T multi -a 0x00 -C none \
  38. -e 0x00 -n 'OpenWrt fullimage' \
  39. -d $@.tmp $@
  40. rm $(IMAGE_ROOTFS).new
  41. rm $@.tmp
  42. endef
  43. # Shared device definition: applies to every defined device
  44. define Device/Default
  45. PROFILES = Default
  46. KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
  47. KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs
  48. KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
  49. KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
  50. FILESYSTEMS := squashfs
  51. DEVICE_DTS := $(1)
  52. DEVICE_DTS_DIR := ../dts
  53. IMAGE_SIZE :=
  54. SUPPORTED_DEVICES = $$(DEVICE_DTS)
  55. IMAGES := sysupgrade.bin
  56. IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  57. endef
  58. DEVICE_VARS += IMAGE_SIZE
  59. define Device/NAND/xway
  60. BLOCKSIZE := 16k
  61. PAGESIZE := 512
  62. SUBPAGESIZE := 256
  63. FILESYSTEMS += ubifs
  64. endef
  65. define Device/NAND/xrx200
  66. BLOCKSIZE := 128k
  67. PAGESIZE := 2048
  68. SUBPAGESIZE := 512
  69. FILESYSTEMS += ubifs
  70. endef
  71. define Device/NAND
  72. $(Device/NAND/$(SUBTARGET))
  73. IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
  74. endef
  75. define Device/lantiqBrnImage
  76. KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict
  77. IMAGES := factory.bin
  78. IMAGE/factory.bin := mkbrnimg | check-size $$$$(IMAGE_SIZE)
  79. endef
  80. DEVICE_VARS += SIGNATURE MAGIC CRC32_POLY
  81. define Device/lantiqFullImage
  82. KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | pad-offset 4 0
  83. IMAGES := sysupgrade.bin fullimage.img
  84. IMAGE/fullimage.img := fullimage | check-size $$$$(IMAGE_SIZE)
  85. endef
  86. define Device/AVM
  87. KERNEL := kernel-bin | append-dtb | lzma | eva-image
  88. endef
  89. ifeq ($(SUBTARGET),xway_legacy)
  90. define Device/ARV4520PW
  91. IMAGE_SIZE := 3648k
  92. DEVICE_TITLE := Easybox 800, WAV-281 - ARV4520PW
  93. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  94. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  95. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  96. ltq-adsl-app ppp-mod-pppoa \
  97. kmod-rt61-pci wpad-mini
  98. endef
  99. TARGET_DEVICES += ARV4520PW
  100. define Device/ARV4525PW
  101. IMAGE_SIZE := 3776k
  102. DEVICE_TITLE := Speedport W502V Typ A - ARV4525PW
  103. DEVICE_PACKAGES := kmod-ath5k wpad-mini \
  104. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  105. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  106. ltq-adsl-app ppp-mod-pppoa -swconfig
  107. endef
  108. TARGET_DEVICES += ARV4525PW
  109. define Device/ARV452CQW
  110. IMAGE_SIZE := 3776k
  111. DEVICE_TITLE := Easybox 801 - ARV452CQW
  112. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  113. kmod-ath5k wpad-mini \
  114. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  115. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  116. ltq-adsl-app ppp-mod-pppoa
  117. endef
  118. TARGET_DEVICES += ARV452CQW
  119. define Device/ARV4518PWR01
  120. IMAGE_SIZE := 3776k
  121. DEVICE_TITLE := ARV4518PWR01
  122. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  123. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  124. kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
  125. ltq-adsl-app ppp-mod-pppoa \
  126. kmod-ath5k wpad-mini
  127. endef
  128. TARGET_DEVICES += ARV4518PWR01
  129. define Device/ARV4518PWR01A
  130. IMAGE_SIZE := 3776k
  131. DEVICE_TITLE := ARV4518PWR01A
  132. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  133. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  134. kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
  135. ltq-adsl-app ppp-mod-pppoa \
  136. kmod-ath5k wpad-mini
  137. endef
  138. TARGET_DEVICES += ARV4518PWR01A
  139. endif
  140. ifeq ($(SUBTARGET),xway)
  141. # Danube
  142. define Device/BTHOMEHUBV2B
  143. $(Device/NAND)
  144. DEVICE_TITLE := BT Home Hub 2B
  145. DEVICE_PACKAGES := kmod-usb-dwc2 \
  146. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  147. kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
  148. kmod-ltq-deu-danube \
  149. ltq-adsl-app ppp-mod-pppoa \
  150. kmod-ath9k kmod-owl-loader wpad-mini
  151. endef
  152. TARGET_DEVICES += BTHOMEHUBV2B
  153. define Device/EASY50712
  154. IMAGE_SIZE := 3776k
  155. DEVICE_TITLE := Lantiq Danube - EASY50712
  156. endef
  157. TARGET_DEVICES += EASY50712
  158. define Device/ACMP252
  159. IMAGE_SIZE := 14848k
  160. DEVICE_TITLE := AudioCodes MediaPack MP-252
  161. DEVICE_PACKAGES := kmod-rt2x00-pci wpad-mini \
  162. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  163. kmod-ltq-adsl-danube-fw-a kmod-ltq-ptm-danube \
  164. ltq-adsl-app -swconfig
  165. endef
  166. TARGET_DEVICES += ACMP252
  167. define Device/ARV4510PW
  168. IMAGE_SIZE := 15616k
  169. DEVICE_TITLE := Wippies, Elisa - ARV4510PW
  170. DEVICE_PACKAGES := kmod-usb-ledtrig-usbport kmod-usb2-pci kmod-usb-uhci \
  171. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  172. kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
  173. ltq-adsl-app ppp-mod-pppoa \
  174. kmod-ltq-tapi kmod-ltq-vmmc \
  175. kmod-rt2800-pci kmod-ath5k wpad-mini
  176. endef
  177. TARGET_DEVICES += ARV4510PW
  178. define Device/ARV7525PW
  179. IMAGE_SIZE := 3776k
  180. DEVICE_TITLE := Speedport W303V Typ A - ARV7525PW
  181. DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini \
  182. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  183. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  184. ltq-adsl-app ppp-mod-pppoa -swconfig
  185. endef
  186. TARGET_DEVICES += ARV7525PW
  187. define Device/ARV4519PW
  188. IMAGE_SIZE := 3776k
  189. DEVICE_TITLE := Vodafone, Pirelli - ARV4519PW
  190. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  191. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  192. kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
  193. ltq-adsl-app ppp-mod-pppoa
  194. endef
  195. TARGET_DEVICES += ARV4519PW
  196. define Device/ARV7506PW11
  197. IMAGE_SIZE := 7808k
  198. DEVICE_TITLE := Alice/O2 IAD 4421 - ARV7506PW11
  199. DEVICE_PACKAGES := kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  200. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  201. ltq-adsl-app ppp-mod-pppoa \
  202. kmod-rt2800-pci wpad-mini
  203. endef
  204. TARGET_DEVICES += ARV7506PW11
  205. define Device/ARV7510PW22
  206. IMAGE_SIZE := 31232k
  207. DEVICE_TITLE := Astoria - ARV7510PW22
  208. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  209. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  210. kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
  211. ltq-adsl-app ppp-mod-pppoa \
  212. kmod-ltq-tapi kmod-ltq-vmmc \
  213. kmod-rt2800-pci wpad-mini \
  214. kmod-usb-uhci kmod-usb2 kmod-usb2-pci
  215. endef
  216. TARGET_DEVICES += ARV7510PW22
  217. define Device/ARV7518PW
  218. IMAGE_SIZE := 7872k
  219. DEVICE_TITLE := Astoria - ARV7518PW
  220. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  221. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  222. kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
  223. ltq-adsl-app ppp-mod-pppoa \
  224. kmod-ath9k kmod-owl-loader wpad-mini
  225. endef
  226. TARGET_DEVICES += ARV7518PW
  227. define Device/ARV7519PW
  228. IMAGE_SIZE := 15488k
  229. DEVICE_TITLE := Astoria - ARV7519PW
  230. DEVICE_PACKAGES := kmod-usb-dwc2 \
  231. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  232. kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
  233. ltq-adsl-app ppp-mod-pppoa \
  234. kmod-rt2800-pci wpad-mini
  235. endef
  236. TARGET_DEVICES += ARV7519PW
  237. define Device/ARV752DPW
  238. IMAGE_SIZE := 7872k
  239. DEVICE_TITLE := Easybox 802 - ARV752DPW
  240. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  241. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  242. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  243. ltq-adsl-app ppp-mod-pppoa \
  244. kmod-ltq-tapi kmod-ltq-vmmc \
  245. kmod-rt2800-pci wpad-mini
  246. endef
  247. TARGET_DEVICES += ARV752DPW
  248. define Device/ARV752DPW22
  249. IMAGE_SIZE := 7616k
  250. DEVICE_TITLE := Easybox 803 - ARV752DPW22
  251. DEVICE_PACKAGES := kmod-usb2-pci kmod-usb-uhci kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  252. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  253. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  254. ltq-adsl-app ppp-mod-pppoa \
  255. kmod-ltq-tapi kmod-ltq-vmmc \
  256. kmod-rt2800-pci wpad-mini
  257. endef
  258. TARGET_DEVICES += ARV752DPW22
  259. define Device/ARV8539PW22
  260. IMAGE_SIZE := 7616k
  261. DEVICE_TITLE := Speedport W504V Typ A - ARV8539PW22
  262. DEVICE_PACKAGES := kmod-usb-dwc2 \
  263. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  264. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  265. ltq-adsl-app ppp-mod-pppoa \
  266. kmod-ath9k kmod-owl-loader wpad-mini
  267. endef
  268. TARGET_DEVICES += ARV8539PW22
  269. define Device/GIGASX76X
  270. IMAGE_SIZE := 7680k
  271. DEVICE_TITLE := Gigaset sx76x
  272. DEVICE_PACKAGES := kmod-usb-dwc2 \
  273. kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
  274. kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
  275. ltq-adsl-app ppp-mod-pppoe \
  276. kmod-ath5k wpad-mini
  277. endef
  278. TARGET_DEVICES += GIGASX76X
  279. # AR9
  280. define Device/BTHOMEHUBV3A
  281. $(Device/NAND)
  282. DEVICE_TITLE := BT Home Hub 3A
  283. DEVICE_PACKAGES := kmod-usb-dwc2 \
  284. kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
  285. kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
  286. kmod-ltq-deu-ar9 \
  287. ltq-adsl-app ppp-mod-pppoa \
  288. kmod-ath9k kmod-owl-loader wpad-mini \
  289. uboot-envtools
  290. endef
  291. TARGET_DEVICES += BTHOMEHUBV3A
  292. DGN3500_KERNEL_OFFSET_HEX=0x50000
  293. DGN3500_KERNEL_OFFSET_DEC=327680
  294. define Device/DGN3500
  295. IMAGE_SIZE := 16000k
  296. IMAGES := \
  297. sysupgrade-NA.bin sysupgrade-WW.bin \
  298. factory-NA.img factory-WW.img
  299. IMAGE/sysupgrade-NA.bin := \
  300. append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "NA" | \
  301. pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  302. IMAGE/sysupgrade-WW.bin := \
  303. append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "WW" | \
  304. pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  305. IMAGE/factory-NA.img := \
  306. pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
  307. dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "NA" | pad-rootfs | \
  308. check-size 16320k | pad-to 16384k
  309. IMAGE/factory-WW.img := \
  310. pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
  311. dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "WW" | pad-rootfs | \
  312. check-size 16320k | pad-to 16384k
  313. DEVICE_TITLE := Netgear DGN3500
  314. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  315. kmod-ath9k kmod-owl-loader wpad-mini \
  316. kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
  317. kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
  318. ltq-adsl-app ppp-mod-pppoa \
  319. kmod-ltq-deu-ar9
  320. endef
  321. TARGET_DEVICES += DGN3500
  322. define Device/DGN3500B
  323. IMAGE_SIZE := 16000k
  324. IMAGES += factory.img
  325. IMAGE/sysupgrade.bin := \
  326. append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "DE" | \
  327. pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
  328. IMAGE/factory.img := \
  329. pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
  330. dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "DE" | pad-rootfs | \
  331. check-size 16320k | pad-to 16384k
  332. DEVICE_TITLE := Netgear DGN3500B
  333. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  334. kmod-ath9k kmod-owl-loader wpad-mini \
  335. kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
  336. kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
  337. ltq-adsl-app ppp-mod-pppoa \
  338. kmod-ltq-deu-ar9
  339. endef
  340. TARGET_DEVICES += DGN3500B
  341. define Device/WBMRA
  342. IMAGE_SIZE := 31488k
  343. DEVICE_DTS := WBMR
  344. DEVICE_TITLE := Buffalo WBMR-HP-G300H (A) - WBMR
  345. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  346. kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
  347. kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
  348. ltq-adsl-app ppp-mod-pppoa \
  349. kmod-ath9k kmod-owl-loader wpad-mini
  350. endef
  351. TARGET_DEVICES += WBMRA
  352. define Device/WBMRB
  353. IMAGE_SIZE := 31488k
  354. DEVICE_DTS := WBMR
  355. DEVICE_TITLE := Buffalo WBMR-HP-G300H (B) - WBMR
  356. DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  357. kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
  358. kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
  359. ltq-adsl-app ppp-mod-pppoa \
  360. kmod-ath9k kmod-owl-loader wpad-mini
  361. endef
  362. TARGET_DEVICES += WBMRB
  363. define Device/FRITZ7320
  364. $(Device/AVM)
  365. IMAGE_SIZE := 15744k
  366. DEVICE_TITLE := 1&1 HomeServer - FRITZ7320
  367. DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini \
  368. kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
  369. kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
  370. ltq-adsl-app ppp-mod-pppoa \
  371. kmod-ltq-deu-ar9 kmod-usb-dwc2 -swconfig
  372. endef
  373. TARGET_DEVICES += FRITZ7320
  374. define Device/H201L
  375. IMAGE_SIZE := 7808k
  376. DEVICE_TITLE := ZTE H201L - H201L
  377. DEVICE_PACKAGES := kmod-ath9k-htc wpad-mini \
  378. kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
  379. kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
  380. ltq-adsl-app ppp-mod-pppoe \
  381. kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
  382. kmod-ltq-tapi kmod-ltq-vmmc
  383. endef
  384. TARGET_DEVICES += H201L
  385. define Device/P2601HNFX
  386. IMAGE_SIZE := 15616k
  387. DEVICE_TITLE := ZyXEL P-2601HN-Fx
  388. DEVICE_PACKAGES := kmod-rt2800-usb wpad-mini \
  389. kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
  390. kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
  391. ltq-adsl-app ppp-mod-pppoe \
  392. kmod-ltq-deu-ar9 kmod-usb-dwc2
  393. endef
  394. TARGET_DEVICES += P2601HNFX
  395. endif
  396. ifeq ($(SUBTARGET),xrx200)
  397. # VR9
  398. define Device/P2812HNUF1
  399. $(Device/NAND)
  400. DEVICE_TITLE := ZyXEL P-2812HNU-F1
  401. DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  402. endef
  403. TARGET_DEVICES += P2812HNUF1
  404. define Device/P2812HNUF3
  405. $(Device/NAND)
  406. DEVICE_TITLE := ZyXEL P-2812HNU-F3
  407. DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2
  408. endef
  409. TARGET_DEVICES += P2812HNUF3
  410. define Device/ARV7519RW22
  411. IMAGE_SIZE := 31232k
  412. DEVICE_TITLE := Livebox Astoria ARV7519RW22
  413. DEVICE_PACKAGES := kmod-usb-dwc2
  414. endef
  415. TARGET_DEVICES += ARV7519RW22
  416. define Device/BTHOMEHUBV5A
  417. $(Device/NAND)
  418. DEVICE_TITLE := BT Home Hub 5A
  419. DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader \
  420. kmod-ath10k ath10k-firmware-qca988x wpad-mini kmod-usb-dwc2
  421. endef
  422. TARGET_DEVICES += BTHOMEHUBV5A
  423. define Device/EASY80920NAND
  424. $(Device/lantiqFullImage)
  425. IMAGE_SIZE := 64512k
  426. DEVICE_TITLE := Lantiq VR9 - EASY80920NAND
  427. DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  428. endef
  429. TARGET_DEVICES += EASY80920NAND
  430. define Device/EASY80920NOR
  431. IMAGE_SIZE := 7936k
  432. DEVICE_TITLE := Lantiq VR9 - EASY80920NOR
  433. DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
  434. endef
  435. TARGET_DEVICES += EASY80920NOR
  436. define Device/FRITZ3370
  437. $(Device/AVM)
  438. $(Device/NAND)
  439. DEVICE_TITLE := Fritz!Box WLan - FRITZ3370
  440. DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2
  441. endef
  442. TARGET_DEVICES += FRITZ3370
  443. define Device/FRITZ7360SL
  444. $(Device/AVM)
  445. IMAGE_SIZE := 15744k
  446. DEVICE_TITLE := 1&1 HomeServer - FRITZ7360SL
  447. DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2
  448. endef
  449. TARGET_DEVICES += FRITZ7360SL
  450. define Device/VG3503J
  451. IMAGE_SIZE := 8000k
  452. DEVICE_TITLE := BT OpenReach - ECI VDSL Modem
  453. endef
  454. TARGET_DEVICES += VG3503J
  455. include tp-link.mk
  456. define Device/WBMR300
  457. IMAGE_SIZE := 15616k
  458. DEVICE_TITLE := Buffalo WBMR-300HPD
  459. DEVICE_PACKAGES := kmod-mt7603 wpad-mini kmod-usb-dwc2
  460. endef
  461. TARGET_DEVICES += WBMR300
  462. define Device/VGV7510KW22NOR
  463. IMAGE_SIZE := 15232k
  464. DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (NOR)
  465. DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
  466. endef
  467. TARGET_DEVICES += VGV7510KW22NOR
  468. define Device/VGV7510KW22BRN
  469. $(Device/lantiqBrnImage)
  470. IMAGE_SIZE := 7168k
  471. SIGNATURE := BRNDA6431
  472. MAGIC := 0x12345678
  473. CRC32_POLY := 0x04c11db7
  474. DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (BRN)
  475. DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
  476. endef
  477. TARGET_DEVICES += VGV7510KW22BRN
  478. define Device/VGV7519NOR
  479. IMAGE_SIZE := 15360k
  480. DEVICE_TITLE := Experiabox 8 VGV7519
  481. DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
  482. endef
  483. TARGET_DEVICES += VGV7519NOR
  484. define Device/VGV7519BRN
  485. $(Device/lantiqBrnImage)
  486. IMAGE_SIZE := 7168k
  487. SIGNATURE := 5D00008000
  488. MAGIC := 0x12345678
  489. CRC32_POLY := 0x2083b8ed
  490. DEVICE_TITLE := Experiabox 8 VGV7519 (BRN)
  491. DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
  492. endef
  493. TARGET_DEVICES += VGV7519BRN
  494. endif
  495. ifeq ($(SUBTARGET),falcon)
  496. define Device/EASY98000NOR
  497. IMAGE_SIZE := 3904k
  498. DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board NOR
  499. DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
  500. endef
  501. TARGET_DEVICES += EASY98000NOR
  502. define Device/EASY98000NAND
  503. IMAGE_SIZE := 3904k
  504. DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board NAND
  505. DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
  506. endef
  507. TARGET_DEVICES += EASY98000NAND
  508. define Device/EASY98000SFLASH
  509. IMAGE_SIZE := 7424k
  510. DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board SFLASH
  511. DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
  512. endef
  513. TARGET_DEVICES += EASY98000SFLASH
  514. define Device/FALCON-MDU
  515. IMAGE_SIZE := 7424k
  516. DEVICE_TITLE := MDU - Lantiq Falcon / VINAXdp MDU Board
  517. endef
  518. TARGET_DEVICES += FALCON-MDU
  519. define Device/EASY88388
  520. IMAGE_SIZE := 7424k
  521. DEVICE_TITLE := EASY88388 - Lantiq Falcon FTTDP8 Reference Board
  522. endef
  523. TARGET_DEVICES += EASY88388
  524. define Device/EASY88444
  525. IMAGE_SIZE := 7424k
  526. DEVICE_TITLE := EASY88444 - Lantiq Falcon FTTdp G.FAST Reference Board
  527. endef
  528. TARGET_DEVICES += EASY88444
  529. define Device/FALCON-SFP
  530. IMAGE_SIZE := 7424k
  531. DEVICE_TITLE := SFP - Lantiq Falcon SFP Stick
  532. endef
  533. TARGET_DEVICES += FALCON-SFP
  534. define Device/EASY98035SYNCE
  535. IMAGE_SIZE := 7424k
  536. DEVICE_TITLE := EASY98035SYNCE - Lantiq Falcon SFP Stick with Synchronous Ethernet
  537. endef
  538. TARGET_DEVICES += EASY98035SYNCE
  539. define Device/EASY98035SYNCE1588
  540. IMAGE_SIZE := 7424k
  541. DEVICE_TITLE := EASY98035SYNCE1588 - Lantiq Falcon SFP Stick with SyncE and IEEE1588
  542. endef
  543. TARGET_DEVICES += EASY98035SYNCE1588
  544. define Device/EASY98020
  545. IMAGE_SIZE := 7424k
  546. DEVICE_TITLE := EASY98020 - Lantiq Falcon SFU Reference Board
  547. endef
  548. TARGET_DEVICES += EASY98020
  549. define Device/EASY98020V18
  550. IMAGE_SIZE := 7424k
  551. DEVICE_TITLE := EASY98020V18 - Lantiq Falcon SFU Reference Board V1.8
  552. endef
  553. TARGET_DEVICES += EASY98020V18
  554. define Device/EASY98021
  555. IMAGE_SIZE := 7424k
  556. DEVICE_TITLE := EASY98021 - Lantiq Falcon HGU Reference Board
  557. endef
  558. TARGET_DEVICES += EASY98021
  559. endif
  560. $(eval $(call BuildImage))