2021-02-10 13:52:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-07-15 20:53:20 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2013-2016 OpenWrt.org
|
|
|
|
# Copyright (C) 2016 Yousong Zhou
|
|
|
|
|
2020-03-16 09:56:01 +00:00
|
|
|
define Device/sun50i
|
|
|
|
SUNXI_DTS_DIR := allwinner/
|
|
|
|
KERNEL_NAME := Image
|
|
|
|
KERNEL := kernel-bin
|
|
|
|
endef
|
|
|
|
|
2020-04-24 07:58:53 +00:00
|
|
|
define Device/sun50i-a64
|
|
|
|
SOC := sun50i-a64
|
|
|
|
$(Device/sun50i)
|
|
|
|
endef
|
|
|
|
|
2020-03-16 09:56:01 +00:00
|
|
|
define Device/sun50i-h5
|
|
|
|
SOC := sun50i-h5
|
|
|
|
$(Device/sun50i)
|
|
|
|
endef
|
|
|
|
|
2020-04-24 07:58:53 +00:00
|
|
|
define Device/sun50i-h6
|
|
|
|
SOC := sun50i-h6
|
2020-03-16 09:56:01 +00:00
|
|
|
$(Device/sun50i)
|
|
|
|
endef
|
|
|
|
|
2019-12-05 23:11:56 +00:00
|
|
|
define Device/friendlyarm_nanopi-neo-plus2
|
2019-07-06 02:26:00 +00:00
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi NEO Plus2
|
2017-12-28 17:21:15 +00:00
|
|
|
SUPPORTED_DEVICES:=nanopi-neo-plus2
|
2020-03-16 09:56:01 +00:00
|
|
|
$(Device/sun50i-h5)
|
2017-12-28 17:21:15 +00:00
|
|
|
endef
|
2019-12-05 23:11:56 +00:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
|
2017-12-28 17:21:15 +00:00
|
|
|
|
2019-12-05 23:11:56 +00:00
|
|
|
define Device/friendlyarm_nanopi-neo2
|
2019-07-06 02:26:00 +00:00
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi NEO2
|
2018-09-19 20:31:26 +00:00
|
|
|
SUPPORTED_DEVICES:=nanopi-neo2
|
2020-03-16 09:56:01 +00:00
|
|
|
$(Device/sun50i-h5)
|
2018-09-19 20:31:26 +00:00
|
|
|
endef
|
2019-12-05 23:11:56 +00:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo2
|
2018-09-19 20:31:26 +00:00
|
|
|
|
2021-10-18 04:20:03 +00:00
|
|
|
define Device/friendlyarm_nanopi-r1s-h5
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := Nanopi R1S H5
|
|
|
|
DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152
|
|
|
|
SUPPORTED_DEVICES:=nanopi-r1s-h5
|
|
|
|
$(Device/sun50i-h5)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r1s-h5
|
|
|
|
|
2020-10-18 18:05:23 +00:00
|
|
|
define Device/libretech_all-h3-cc-h5
|
|
|
|
DEVICE_VENDOR := Libre Computer
|
|
|
|
DEVICE_MODEL := ALL-H3-CC
|
|
|
|
DEVICE_VARIANT := H5
|
|
|
|
$(Device/sun50i-h5)
|
|
|
|
SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-libretech-all-h3-cc
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += libretech_all-h3-cc-h5
|
|
|
|
|
2020-03-16 09:57:50 +00:00
|
|
|
define Device/olimex_a64-olinuxino
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
DEVICE_MODEL := A64-Olinuxino
|
2021-12-26 23:57:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
|
2020-03-16 09:57:50 +00:00
|
|
|
$(Device/sun50i-a64)
|
|
|
|
SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += olimex_a64-olinuxino
|
|
|
|
|
2020-03-16 09:57:50 +00:00
|
|
|
define Device/olimex_a64-olinuxino-emmc
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
DEVICE_MODEL := A64-Olinuxino
|
|
|
|
DEVICE_VARIANT := eMMC
|
2021-12-26 23:57:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
|
2020-03-16 09:57:50 +00:00
|
|
|
$(Device/sun50i-a64)
|
|
|
|
SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += olimex_a64-olinuxino-emmc
|
|
|
|
|
2019-12-05 23:11:56 +00:00
|
|
|
define Device/pine64_pine64-plus
|
2019-07-06 02:26:00 +00:00
|
|
|
DEVICE_VENDOR := Pine64
|
|
|
|
DEVICE_MODEL := Pine64+
|
2021-12-26 23:57:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
|
2020-03-16 09:56:01 +00:00
|
|
|
$(Device/sun50i-a64)
|
2017-07-15 20:53:20 +00:00
|
|
|
endef
|
2019-12-05 23:11:56 +00:00
|
|
|
TARGET_DEVICES += pine64_pine64-plus
|
2017-07-15 20:53:20 +00:00
|
|
|
|
2019-12-05 23:11:56 +00:00
|
|
|
define Device/pine64_sopine-baseboard
|
2019-07-06 02:26:00 +00:00
|
|
|
DEVICE_VENDOR := Pine64
|
|
|
|
DEVICE_MODEL := SoPine
|
2021-12-26 23:57:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
|
2020-03-16 09:56:01 +00:00
|
|
|
$(Device/sun50i-a64)
|
2018-03-19 09:52:46 +00:00
|
|
|
endef
|
2019-12-05 23:11:56 +00:00
|
|
|
TARGET_DEVICES += pine64_sopine-baseboard
|
2018-03-19 09:52:46 +00:00
|
|
|
|
2020-04-24 07:58:53 +00:00
|
|
|
define Device/xunlong_orangepi-one-plus
|
|
|
|
$(Device/sun50i-h6)
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
DEVICE_MODEL := Orange Pi One Plus
|
|
|
|
SUNXI_DTS_DIR := allwinner/
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-one-plus
|
|
|
|
|
2020-01-23 13:21:19 +00:00
|
|
|
define Device/xunlong_orangepi-pc2
|
2019-07-06 02:26:00 +00:00
|
|
|
DEVICE_VENDOR := Xunlong
|
2020-01-23 13:21:19 +00:00
|
|
|
DEVICE_MODEL := Orange Pi PC 2
|
2020-03-16 09:56:01 +00:00
|
|
|
$(Device/sun50i-h5)
|
2018-01-27 22:46:50 +00:00
|
|
|
endef
|
2020-01-23 13:21:19 +00:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-pc2
|
2018-01-27 22:46:50 +00:00
|
|
|
|
2020-01-23 13:21:19 +00:00
|
|
|
define Device/xunlong_orangepi-zero-plus
|
2019-07-06 02:26:00 +00:00
|
|
|
DEVICE_VENDOR := Xunlong
|
2020-01-23 13:21:19 +00:00
|
|
|
DEVICE_MODEL := Orange Pi Zero Plus
|
2020-03-16 09:56:01 +00:00
|
|
|
$(Device/sun50i-h5)
|
2018-07-30 09:33:03 +00:00
|
|
|
endef
|
2020-01-23 13:21:19 +00:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-zero-plus
|