armv8.mk 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2020 Sarah Maedel
  4. define Device/rk3308
  5. SOC := rk3308
  6. KERNEL_LOADADDR := 0x03000000
  7. endef
  8. define Device/rk3328
  9. SOC := rk3328
  10. KERNEL_LOADADDR := 0x03200000
  11. endef
  12. define Device/rk3399
  13. SOC := rk3399
  14. KERNEL_LOADADDR := 0x03200000
  15. endef
  16. define Device/rk3566
  17. SOC := rk3566
  18. KERNEL_LOADADDR := 0x03000000
  19. endef
  20. define Device/rk3568
  21. SOC := rk3568
  22. KERNEL_LOADADDR := 0x03000000
  23. endef
  24. define Device/rk3576
  25. SOC := rk3576
  26. KERNEL_LOADADDR := 0x43000000
  27. endef
  28. define Device/rk3582
  29. SOC := rk3582
  30. KERNEL_LOADADDR := 0x03000000
  31. endef
  32. define Device/rk3588
  33. SOC := rk3588
  34. KERNEL_LOADADDR := 0x03000000
  35. endef
  36. define Device/rk3588s
  37. SOC := rk3588s
  38. KERNEL_LOADADDR := 0x03000000
  39. endef
  40. define Device/armsom_sige7
  41. $(Device/rk3588)
  42. DEVICE_VENDOR := ArmSoM
  43. DEVICE_MODEL := Sige7
  44. DEVICE_ALT0_VENDOR := Bananapi
  45. DEVICE_ALT0_MODEL := BPi-M7
  46. DEVICE_DTS := rk3588-armsom-sige7
  47. DEVICE_PACKAGES := kmod-r8169
  48. endef
  49. TARGET_DEVICES += armsom_sige7
  50. define Device/firefly_roc-rk3328-cc
  51. $(Device/rk3328)
  52. DEVICE_VENDOR := Firefly
  53. DEVICE_MODEL := ROC-RK3328-CC
  54. DEVICE_DTS := rk3328-roc-cc
  55. UBOOT_DEVICE_NAME := roc-cc-rk3328
  56. endef
  57. TARGET_DEVICES += firefly_roc-rk3328-cc
  58. define Device/friendlyarm_nanopc-t4
  59. $(Device/rk3399)
  60. DEVICE_VENDOR := FriendlyARM
  61. DEVICE_MODEL := NanoPC T4
  62. DEVICE_PACKAGES := kmod-brcmfmac brcmfmac-nvram-4356-sdio cypress-firmware-4356-sdio
  63. endef
  64. TARGET_DEVICES += friendlyarm_nanopc-t4
  65. define Device/friendlyarm_nanopc-t6
  66. $(Device/rk3588)
  67. DEVICE_VENDOR := FriendlyARM
  68. DEVICE_MODEL := NanoPC T6
  69. DEVICE_PACKAGES := kmod-r8169
  70. endef
  71. TARGET_DEVICES += friendlyarm_nanopc-t6
  72. define Device/friendlyarm_nanopi-r2c
  73. $(Device/rk3328)
  74. DEVICE_VENDOR := FriendlyARM
  75. DEVICE_MODEL := NanoPi R2C
  76. DEVICE_PACKAGES := kmod-usb-net-rtl8152
  77. endef
  78. TARGET_DEVICES += friendlyarm_nanopi-r2c
  79. define Device/friendlyarm_nanopi-r2c-plus
  80. $(Device/rk3328)
  81. DEVICE_VENDOR := FriendlyARM
  82. DEVICE_MODEL := NanoPi R2C Plus
  83. DEVICE_PACKAGES := kmod-usb-net-rtl8152
  84. endef
  85. TARGET_DEVICES += friendlyarm_nanopi-r2c-plus
  86. define Device/friendlyarm_nanopi-r2s
  87. $(Device/rk3328)
  88. DEVICE_VENDOR := FriendlyARM
  89. DEVICE_MODEL := NanoPi R2S
  90. DEVICE_PACKAGES := kmod-usb-net-rtl8152
  91. endef
  92. TARGET_DEVICES += friendlyarm_nanopi-r2s
  93. define Device/friendlyarm_nanopi-r3s
  94. $(Device/rk3566)
  95. DEVICE_VENDOR := FriendlyARM
  96. DEVICE_MODEL := NanoPi R3S
  97. DEVICE_PACKAGES := kmod-r8169
  98. endef
  99. TARGET_DEVICES += friendlyarm_nanopi-r3s
  100. define Device/friendlyarm_nanopi-r4s
  101. $(Device/rk3399)
  102. DEVICE_VENDOR := FriendlyARM
  103. DEVICE_MODEL := NanoPi R4S
  104. DEVICE_VARIANT := 4GB LPDDR4
  105. DEVICE_PACKAGES := kmod-r8169
  106. endef
  107. TARGET_DEVICES += friendlyarm_nanopi-r4s
  108. define Device/friendlyarm_nanopi-r4s-enterprise
  109. $(Device/rk3399)
  110. DEVICE_VENDOR := FriendlyARM
  111. DEVICE_MODEL := NanoPi R4S Enterprise Edition
  112. DEVICE_VARIANT := 4GB LPDDR4
  113. UBOOT_DEVICE_NAME := nanopi-r4s-rk3399
  114. DEVICE_PACKAGES := kmod-r8169
  115. endef
  116. TARGET_DEVICES += friendlyarm_nanopi-r4s-enterprise
  117. define Device/friendlyarm_nanopi-r5c
  118. $(Device/rk3568)
  119. DEVICE_VENDOR := FriendlyARM
  120. DEVICE_MODEL := NanoPi R5C
  121. DEVICE_PACKAGES := kmod-r8169 kmod-rtw88-8822ce rtl8822ce-firmware wpad-basic-mbedtls
  122. endef
  123. TARGET_DEVICES += friendlyarm_nanopi-r5c
  124. define Device/friendlyarm_nanopi-r5s
  125. $(Device/rk3568)
  126. DEVICE_VENDOR := FriendlyARM
  127. DEVICE_MODEL := NanoPi R5S
  128. DEVICE_PACKAGES := kmod-r8169
  129. endef
  130. TARGET_DEVICES += friendlyarm_nanopi-r5s
  131. define Device/friendlyarm_nanopi-r6c
  132. $(Device/rk3588s)
  133. DEVICE_VENDOR := FriendlyARM
  134. DEVICE_MODEL := NanoPi R6C
  135. DEVICE_PACKAGES := kmod-r8169
  136. endef
  137. TARGET_DEVICES += friendlyarm_nanopi-r6c
  138. define Device/friendlyarm_nanopi-r6s
  139. $(Device/rk3588s)
  140. DEVICE_VENDOR := FriendlyARM
  141. DEVICE_MODEL := NanoPi R6S
  142. DEVICE_PACKAGES := kmod-r8169
  143. endef
  144. TARGET_DEVICES += friendlyarm_nanopi-r6s
  145. define Device/friendlyarm_nanopi-r76s
  146. $(Device/rk3576)
  147. DEVICE_VENDOR := FriendlyARM
  148. DEVICE_MODEL := NanoPi R76S
  149. UBOOT_DEVICE_NAME := generic-rk3576
  150. DEVICE_PACKAGES := kmod-r8169 kmod-rtw88-8822cs wpad-basic-mbedtls
  151. endef
  152. TARGET_DEVICES += friendlyarm_nanopi-r76s
  153. define Device/lunzn_fastrhino-r66s
  154. $(Device/rk3568)
  155. DEVICE_VENDOR := Lunzn
  156. DEVICE_MODEL := FastRhino R66S
  157. DEVICE_PACKAGES := kmod-r8169
  158. endef
  159. TARGET_DEVICES += lunzn_fastrhino-r66s
  160. define Device/pine64_rock64
  161. $(Device/rk3328)
  162. DEVICE_VENDOR := Pine64
  163. DEVICE_MODEL := Rock64
  164. endef
  165. TARGET_DEVICES += pine64_rock64
  166. define Device/pine64_rockpro64
  167. $(Device/rk3399)
  168. DEVICE_VENDOR := Pine64
  169. DEVICE_MODEL := RockPro64
  170. SUPPORTED_DEVICES += pine64,rockpro64-v2.1
  171. endef
  172. TARGET_DEVICES += pine64_rockpro64
  173. define Device/radxa_cm3-io
  174. $(Device/rk3566)
  175. DEVICE_VENDOR := Radxa
  176. DEVICE_MODEL := CM3 IO
  177. DEVICE_DTS := rk3566-radxa-cm3-io
  178. UBOOT_DEVICE_NAME := radxa-cm3-io-rk3566
  179. endef
  180. TARGET_DEVICES += radxa_cm3-io
  181. define Device/radxa_e25
  182. $(Device/rk3568)
  183. DEVICE_VENDOR := Radxa
  184. DEVICE_MODEL := E25
  185. DEVICE_DTS := rk3568-radxa-e25
  186. BOOT_SCRIPT := radxa-e25
  187. UBOOT_DEVICE_NAME := radxa-e25-rk3568
  188. DEVICE_PACKAGES := kmod-r8169 kmod-ata-ahci-dwc
  189. endef
  190. TARGET_DEVICES += radxa_e25
  191. define Device/radxa_e52c
  192. $(Device/rk3582)
  193. DEVICE_VENDOR := Radxa
  194. DEVICE_MODEL := E52C
  195. UBOOT_DEVICE_NAME := generic-rk3588
  196. DEVICE_DTS := rk3582-radxa-e52c
  197. DEVICE_PACKAGES := blkdiscard kmod-r8169
  198. endef
  199. TARGET_DEVICES += radxa_e52c
  200. define Device/radxa_rock-3a
  201. $(Device/rk3568)
  202. DEVICE_VENDOR := Radxa
  203. DEVICE_MODEL := ROCK 3A
  204. SUPPORTED_DEVICES := radxa,rock3a
  205. DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
  206. endef
  207. TARGET_DEVICES += radxa_rock-3a
  208. define Device/radxa_rock-3b
  209. $(Device/rk3568)
  210. DEVICE_VENDOR := Radxa
  211. DEVICE_MODEL := ROCK 3B
  212. DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
  213. endef
  214. TARGET_DEVICES += radxa_rock-3b
  215. define Device/radxa_rock-3c
  216. $(Device/rk3566)
  217. DEVICE_VENDOR := Radxa
  218. DEVICE_MODEL := ROCK 3C
  219. DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
  220. endef
  221. TARGET_DEVICES += radxa_rock-3c
  222. define Device/radxa_rock-4c-plus
  223. $(Device/rk3399)
  224. DEVICE_VENDOR := Radxa
  225. DEVICE_MODEL := ROCK 4C+
  226. endef
  227. TARGET_DEVICES += radxa_rock-4c-plus
  228. define Device/radxa_rock-4d
  229. $(Device/rk3576)
  230. DEVICE_VENDOR := Radxa
  231. DEVICE_MODEL := ROCK 4D
  232. endef
  233. TARGET_DEVICES += radxa_rock-4d
  234. define Device/radxa_rock-4se
  235. $(Device/rk3399)
  236. DEVICE_VENDOR := Radxa
  237. DEVICE_MODEL := ROCK 4SE
  238. endef
  239. TARGET_DEVICES += radxa_rock-4se
  240. define Device/radxa_rock-5-itx
  241. $(Device/rk3588)
  242. DEVICE_VENDOR := Radxa
  243. DEVICE_MODEL := ROCK 5 ITX/ITX+
  244. DEVICE_PACKAGES := blkdiscard block-mount kmod-ata-ahci kmod-hwmon-pwmfan kmod-nvme kmod-r8169 kmod-rtw89-8852be wpad-basic-mbedtls
  245. endef
  246. TARGET_DEVICES += radxa_rock-5-itx
  247. define Device/radxa_rock-5a
  248. $(Device/rk3588s)
  249. DEVICE_VENDOR := Radxa
  250. DEVICE_MODEL := ROCK 5A
  251. UBOOT_DEVICE_NAME := rock5a-rk3588s
  252. DEVICE_PACKAGES := blkdiscard block-mount kmod-ata-ahci kmod-hwmon-pwmfan kmod-nvme kmod-r8169 kmod-rtw89-8852be wpad-basic-mbedtls
  253. endef
  254. TARGET_DEVICES += radxa_rock-5a
  255. define Device/radxa_rock-5b
  256. $(Device/rk3588)
  257. DEVICE_VENDOR := Radxa
  258. DEVICE_MODEL := ROCK 5B
  259. UBOOT_DEVICE_NAME := rock5b-rk3588
  260. DEVICE_PACKAGES := blkdiscard block-mount kmod-hwmon-pwmfan kmod-nvme kmod-r8169 kmod-rtw89-8852be wpad-basic-mbedtls
  261. endef
  262. TARGET_DEVICES += radxa_rock-5b
  263. define Device/radxa_rock-5b-plus
  264. $(Device/rk3588)
  265. DEVICE_VENDOR := Radxa
  266. DEVICE_MODEL := ROCK 5B+
  267. UBOOT_DEVICE_NAME := generic-rk3588
  268. DEVICE_DTS := rk3588-rock-5b-plus
  269. DEVICE_PACKAGES := blkdiscard block-mount kmod-hwmon-pwmfan kmod-nvme kmod-r8169 kmod-rtw89-8852be wpad-basic-mbedtls
  270. endef
  271. TARGET_DEVICES += radxa_rock-5b-plus
  272. define Device/radxa_rock-5c
  273. $(Device/rk3588s)
  274. DEVICE_VENDOR := Radxa
  275. DEVICE_MODEL := ROCK 5C/5C Lite
  276. DEVICE_PACKAGES := blkdiscard block-mount kmod-ata-ahci kmod-hwmon-pwmfan kmod-nvme kmod-r8169
  277. endef
  278. TARGET_DEVICES += radxa_rock-5c
  279. define Device/radxa_rock-5t
  280. $(Device/rk3588)
  281. DEVICE_VENDOR := Radxa
  282. DEVICE_MODEL := ROCK 5T
  283. UBOOT_DEVICE_NAME := generic-rk3588
  284. DEVICE_DTS := rk3588-rock-5t
  285. DEVICE_PACKAGES := blkdiscard block-mount iwlwifi-firmware-ax210 kmod-hwmon-pwmfan kmod-iwlwifi kmod-nvme kmod-r8169 wpad-basic-mbedtls
  286. endef
  287. TARGET_DEVICES += radxa_rock-5t
  288. define Device/radxa_rock-pi-4a
  289. $(Device/rk3399)
  290. DEVICE_VENDOR := Radxa
  291. DEVICE_MODEL := ROCK Pi 4A
  292. SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
  293. UBOOT_DEVICE_NAME := rock-pi-4-rk3399
  294. endef
  295. TARGET_DEVICES += radxa_rock-pi-4a
  296. define Device/radxa_rock-pi-e
  297. $(Device/rk3328)
  298. DEVICE_VENDOR := Radxa
  299. DEVICE_MODEL := ROCK Pi E
  300. endef
  301. TARGET_DEVICES += radxa_rock-pi-e
  302. define Device/radxa_rock-pi-e-v3
  303. $(Device/rk3328)
  304. DEVICE_VENDOR := Radxa
  305. DEVICE_MODEL := ROCK Pi E v3.0
  306. DEVICE_DTS := rk3328-rock-pi-e
  307. DEVICE_PACKAGES := kmod-rtw88-8723du kmod-rtw88-8821cu kmod-usb-net-cdc-ncm kmod-usb-net-rndis wpad-basic-mbedtls
  308. endef
  309. TARGET_DEVICES += radxa_rock-pi-e-v3
  310. define Device/radxa_rock-pi-s
  311. $(Device/rk3308)
  312. DEVICE_VENDOR := Radxa
  313. DEVICE_MODEL := ROCK Pi S
  314. SUPPORTED_DEVICES := radxa,rockpis
  315. BOOT_SCRIPT := rock-pi-s
  316. DEVICE_PACKAGES := kmod-rtw88-8723ds kmod-usb-net-cdc-ncm kmod-usb-net-rndis wpad-basic-mbedtls
  317. endef
  318. TARGET_DEVICES += radxa_rock-pi-s
  319. define Device/radxa_zero-3e
  320. $(Device/rk3566)
  321. DEVICE_VENDOR := Radxa
  322. DEVICE_MODEL := ZERO 3E
  323. DEVICE_DTS := rk3566-radxa-zero-3e
  324. UBOOT_DEVICE_NAME := radxa-zero-3-rk3566
  325. DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
  326. endef
  327. TARGET_DEVICES += radxa_zero-3e
  328. define Device/radxa_zero-3w
  329. $(Device/rk3566)
  330. DEVICE_VENDOR := Radxa
  331. DEVICE_MODEL := ZERO 3W
  332. DEVICE_DTS := rk3566-radxa-zero-3w
  333. UBOOT_DEVICE_NAME := radxa-zero-3-rk3566
  334. DEVICE_PACKAGES := kmod-usb-net-cdc-ncm kmod-usb-net-rndis
  335. endef
  336. TARGET_DEVICES += radxa_zero-3w
  337. define Device/sinovoip_bpi-r2-pro
  338. $(Device/rk3568)
  339. DEVICE_VENDOR := Sinovoip
  340. DEVICE_MODEL := Bananapi-R2 Pro
  341. SUPPORTED_DEVICES := sinovoip,rk3568-bpi-r2pro
  342. DEVICE_PACKAGES := kmod-ata-ahci-dwc
  343. endef
  344. TARGET_DEVICES += sinovoip_bpi-r2-pro
  345. define Device/xunlong_orangepi-r1-plus
  346. $(Device/rk3328)
  347. DEVICE_VENDOR := Xunlong
  348. DEVICE_MODEL := Orange Pi R1 Plus
  349. DEVICE_PACKAGES := kmod-usb-net-rtl8152
  350. endef
  351. TARGET_DEVICES += xunlong_orangepi-r1-plus
  352. define Device/xunlong_orangepi-r1-plus-lts
  353. $(Device/rk3328)
  354. DEVICE_VENDOR := Xunlong
  355. DEVICE_MODEL := Orange Pi R1 Plus LTS
  356. DEVICE_PACKAGES := kmod-usb-net-rtl8152
  357. endef
  358. TARGET_DEVICES += xunlong_orangepi-r1-plus-lts