cortexa7.mk 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2013-2019 OpenWrt.org
  4. # Copyright (C) 2016 Yousong Zhou
  5. KERNEL_LOADADDR:=0x40008000
  6. define Device/cubietech_cubieboard2
  7. $(call Device/FitImageGzip)
  8. DEVICE_VENDOR := Cubietech
  9. DEVICE_MODEL := Cubieboard2
  10. DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
  11. SOC := sun7i-a20
  12. endef
  13. TARGET_DEVICES += cubietech_cubieboard2
  14. define Device/cubietech_cubietruck
  15. $(call Device/FitImageGzip)
  16. DEVICE_VENDOR := Cubietech
  17. DEVICE_MODEL := Cubietruck
  18. DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-brcmfmac
  19. SOC := sun7i-a20
  20. endef
  21. TARGET_DEVICES += cubietech_cubietruck
  22. define Device/friendlyarm_nanopi-m1-plus
  23. $(call Device/FitImageGzip)
  24. DEVICE_VENDOR := FriendlyARM
  25. DEVICE_MODEL := NanoPi M1 Plus
  26. DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
  27. cypress-firmware-43430-sdio wpad-basic-mbedtls
  28. SOC := sun8i-h3
  29. endef
  30. TARGET_DEVICES += friendlyarm_nanopi-m1-plus
  31. define Device/friendlyarm_nanopi-neo
  32. $(call Device/FitImageGzip)
  33. DEVICE_VENDOR := FriendlyARM
  34. DEVICE_MODEL := NanoPi NEO
  35. SOC := sun8i-h3
  36. endef
  37. TARGET_DEVICES += friendlyarm_nanopi-neo
  38. define Device/friendlyarm_nanopi-neo-air
  39. $(call Device/FitImageGzip)
  40. DEVICE_VENDOR := FriendlyARM
  41. DEVICE_MODEL := NanoPi NEO Air
  42. DEVICE_PACKAGES := kmod-leds-gpio kmod-brcmfmac \
  43. brcmfmac-firmware-43430a0-sdio wpad-basic-mbedtls
  44. SOC := sun8i-h3
  45. endef
  46. TARGET_DEVICES += friendlyarm_nanopi-neo-air
  47. define Device/friendlyarm_nanopi-r1
  48. $(call Device/FitImageGzip)
  49. DEVICE_VENDOR := FriendlyARM
  50. DEVICE_MODEL := NanoPi R1
  51. DEVICE_PACKAGES := kmod-usb-net-rtl8152 kmod-leds-gpio \
  52. kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
  53. SOC := sun8i-h3
  54. endef
  55. TARGET_DEVICES += friendlyarm_nanopi-r1
  56. define Device/friendlyarm_zeropi
  57. $(call Device/FitImageGzip)
  58. DEVICE_VENDOR := FriendlyARM
  59. DEVICE_MODEL := ZeroPi
  60. DEVICE_PACKAGES := kmod-rtc-sunxi
  61. SOC := sun8i-h3
  62. endef
  63. TARGET_DEVICES += friendlyarm_zeropi
  64. define Device/lamobo_lamobo-r1
  65. $(call Device/FitImageGzip)
  66. DEVICE_VENDOR := Lamobo
  67. DEVICE_MODEL := Lamobo R1
  68. DEVICE_ALT0_VENDOR := Bananapi
  69. DEVICE_ALT0_MODEL := BPi-R1
  70. DEVICE_PACKAGES := kmod-ata-sunxi kmod-rtl8192cu wpad-basic-mbedtls
  71. DEVICE_COMPAT_VERSION := 1.1
  72. DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
  73. SOC := sun7i-a20
  74. endef
  75. TARGET_DEVICES += lamobo_lamobo-r1
  76. define Device/lemaker_bananapi
  77. $(call Device/FitImageGzip)
  78. DEVICE_VENDOR := LeMaker
  79. DEVICE_MODEL := Banana Pi
  80. DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
  81. SOC := sun7i-a20
  82. endef
  83. TARGET_DEVICES += lemaker_bananapi
  84. define Device/sinovoip_bpi-m2-berry
  85. $(call Device/FitImageGzip)
  86. DEVICE_VENDOR := Sinovoip
  87. DEVICE_MODEL := Banana Pi M2 Berry
  88. DEVICE_PACKAGES:=kmod-ata-sunxi kmod-brcmfmac \
  89. cypress-firmware-43430-sdio wpad-basic-mbedtls
  90. SUPPORTED_DEVICES += lemaker,bananapi-m2-berry
  91. SOC := sun8i-v40
  92. SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-bananapi-m2-berry
  93. endef
  94. TARGET_DEVICES += sinovoip_bpi-m2-berry
  95. define Device/sinovoip_bpi-m2-ultra
  96. $(call Device/FitImageGzip)
  97. DEVICE_VENDOR := Sinovoip
  98. DEVICE_MODEL := Banana Pi M2 Ultra
  99. DEVICE_PACKAGES:=kmod-ata-sunxi kmod-brcmfmac \
  100. brcmfmac-firmware-43430a0-sdio wpad-basic-mbedtls
  101. SUPPORTED_DEVICES += lemaker,bananapi-m2-ultra
  102. SOC := sun8i-r40
  103. SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-bananapi-m2-ultra
  104. endef
  105. TARGET_DEVICES += sinovoip_bpi-m2-ultra
  106. define Device/lemaker_bananapro
  107. $(call Device/FitImageGzip)
  108. DEVICE_VENDOR := LeMaker
  109. DEVICE_MODEL := Banana Pro
  110. DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac \
  111. cypress-firmware-43362-sdio wpad-basic-mbedtls
  112. SOC := sun7i-a20
  113. endef
  114. TARGET_DEVICES += lemaker_bananapro
  115. define Device/licheepi_licheepi-zero-dock
  116. $(call Device/FitImageGzip)
  117. DEVICE_VENDOR := LicheePi
  118. DEVICE_MODEL := Zero with Dock (V3s)
  119. DEVICE_PACKAGES:=kmod-rtc-sunxi
  120. SOC := sun8i-v3s
  121. endef
  122. TARGET_DEVICES += licheepi_licheepi-zero-dock
  123. define Device/linksprite_pcduino3
  124. $(call Device/FitImageGzip)
  125. DEVICE_VENDOR := LinkSprite
  126. DEVICE_MODEL := pcDuino3
  127. DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-sunxi kmod-rtl8xxxu \
  128. rtl8188eu-firmware
  129. SOC := sun7i-a20
  130. endef
  131. TARGET_DEVICES += linksprite_pcduino3
  132. define Device/linksprite_pcduino3-nano
  133. $(call Device/FitImageGzip)
  134. DEVICE_VENDOR := LinkSprite
  135. DEVICE_MODEL := pcDuino3 Nano
  136. DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
  137. SOC := sun7i-a20
  138. endef
  139. TARGET_DEVICES += linksprite_pcduino3-nano
  140. define Device/mele_m9
  141. $(call Device/FitImageGzip)
  142. DEVICE_VENDOR := Mele
  143. DEVICE_MODEL := M9
  144. DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtl8192cu
  145. SOC := sun6i-a31
  146. endef
  147. TARGET_DEVICES += mele_m9
  148. define Device/merrii_hummingbird
  149. $(call Device/FitImageGzip)
  150. DEVICE_VENDOR := Merrii
  151. DEVICE_MODEL := Hummingbird
  152. DEVICE_PACKAGES:=kmod-brcmfmac cypress-firmware-43362-sdio wpad-basic-mbedtls
  153. SOC := sun6i-a31
  154. endef
  155. TARGET_DEVICES += merrii_hummingbird
  156. define Device/olimex_a20-olinuxino-lime
  157. $(call Device/FitImageGzip)
  158. DEVICE_VENDOR := Olimex
  159. DEVICE_MODEL := A20-OLinuXino-LIME
  160. DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi
  161. SOC := sun7i
  162. endef
  163. TARGET_DEVICES += olimex_a20-olinuxino-lime
  164. define Device/olimex_a20-olinuxino-lime2
  165. $(call Device/FitImageGzip)
  166. DEVICE_VENDOR := Olimex
  167. DEVICE_MODEL := A20-OLinuXino-LIME2
  168. DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
  169. SOC := sun7i
  170. endef
  171. TARGET_DEVICES += olimex_a20-olinuxino-lime2
  172. define Device/olimex_a20-olinuxino-lime2-emmc
  173. $(call Device/FitImageGzip)
  174. DEVICE_VENDOR := Olimex
  175. DEVICE_MODEL := A20-OLinuXino-LIME2
  176. DEVICE_VARIANT := eMMC
  177. DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
  178. SOC := sun7i
  179. endef
  180. TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc
  181. define Device/olimex_a20-olinuxino-micro
  182. $(call Device/FitImageGzip)
  183. DEVICE_VENDOR := Olimex
  184. DEVICE_MODEL := A20-OLinuXino-MICRO
  185. DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
  186. SOC := sun7i
  187. endef
  188. TARGET_DEVICES += olimex_a20-olinuxino-micro
  189. define Device/roofull_beelink-x2
  190. $(call Device/FitImageGzip)
  191. DEVICE_VENDOR := Roofull
  192. DEVICE_MODEL := Beelink-X2
  193. DEVICE_PACKAGES:=kmod-leds-gpio kmod-gpio-button-hotplug \
  194. kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
  195. SOC := sun8i-h3
  196. endef
  197. TARGET_DEVICES += roofull_beelink-x2
  198. define Device/sinovoip_bpi-m2-plus
  199. $(call Device/FitImageGzip)
  200. DEVICE_VENDOR := Sinovoip
  201. DEVICE_MODEL := Banana Pi M2+
  202. DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
  203. brcmfmac-firmware-43430a0-sdio wpad-basic-mbedtls
  204. SOC := sun8i-h3
  205. SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-bananapi-m2-plus
  206. endef
  207. TARGET_DEVICES += sinovoip_bpi-m2-plus
  208. define Device/sinovoip_bpi-m3
  209. $(call Device/FitImageGzip)
  210. DEVICE_VENDOR := Sinovoip
  211. DEVICE_MODEL := Banana Pi M3
  212. DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-leds-gpio kmod-rtc-ac100 \
  213. kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
  214. SOC := sun8i-a83t
  215. SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-bananapi-m3
  216. endef
  217. TARGET_DEVICES += sinovoip_bpi-m3
  218. define Device/sinovoip_bpi-p2-zero
  219. $(call Device/FitImageGzip)
  220. DEVICE_VENDOR := Sinovoip
  221. DEVICE_MODEL := Banana Pi P2 Zero
  222. DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
  223. cypress-firmware-43430-sdio wpad-basic-mbedtls
  224. SOC := sun8i-h2-plus
  225. SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-bananapi-p2-zero
  226. endef
  227. TARGET_DEVICES += sinovoip_bpi-p2-zero
  228. define Device/xunlong_orangepi-one
  229. $(call Device/FitImageGzip)
  230. DEVICE_VENDOR := Xunlong
  231. DEVICE_MODEL := Orange Pi One
  232. DEVICE_PACKAGES:=kmod-rtc-sunxi
  233. SOC := sun8i-h3
  234. endef
  235. TARGET_DEVICES += xunlong_orangepi-one
  236. define Device/xunlong_orangepi-pc
  237. $(call Device/FitImageGzip)
  238. DEVICE_VENDOR := Xunlong
  239. DEVICE_MODEL := Orange Pi PC
  240. DEVICE_PACKAGES:=kmod-gpio-button-hotplug
  241. SOC := sun8i-h3
  242. endef
  243. TARGET_DEVICES += xunlong_orangepi-pc
  244. define Device/xunlong_orangepi-pc-plus
  245. $(call Device/FitImageGzip)
  246. DEVICE_VENDOR := Xunlong
  247. DEVICE_MODEL := Orange Pi PC Plus
  248. DEVICE_PACKAGES:=kmod-gpio-button-hotplug
  249. SOC := sun8i-h3
  250. endef
  251. TARGET_DEVICES += xunlong_orangepi-pc-plus
  252. define Device/xunlong_orangepi-plus
  253. $(call Device/FitImageGzip)
  254. DEVICE_VENDOR := Xunlong
  255. DEVICE_MODEL := Orange Pi Plus
  256. DEVICE_PACKAGES:=kmod-rtc-sunxi
  257. SOC := sun8i-h3
  258. endef
  259. TARGET_DEVICES += xunlong_orangepi-plus
  260. define Device/xunlong_orangepi-r1
  261. $(call Device/FitImageGzip)
  262. DEVICE_VENDOR := Xunlong
  263. DEVICE_MODEL := Orange Pi R1
  264. DEVICE_PACKAGES:=kmod-usb-net-rtl8152
  265. SOC := sun8i-h2-plus
  266. endef
  267. TARGET_DEVICES += xunlong_orangepi-r1
  268. define Device/xunlong_orangepi-zero
  269. $(call Device/FitImageGzip)
  270. DEVICE_VENDOR := Xunlong
  271. DEVICE_MODEL := Orange Pi Zero
  272. DEVICE_PACKAGES:=kmod-rtc-sunxi
  273. SOC := sun8i-h2-plus
  274. endef
  275. TARGET_DEVICES += xunlong_orangepi-zero
  276. define Device/xunlong_orangepi-2
  277. $(call Device/FitImageGzip)
  278. DEVICE_VENDOR := Xunlong
  279. DEVICE_MODEL := Orange Pi 2
  280. DEVICE_PACKAGES:=kmod-rtc-sunxi
  281. SOC := sun8i-h3
  282. endef
  283. TARGET_DEVICES += xunlong_orangepi-2