2021-02-10 14:52:34 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-07-15 22:53:20 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2013-2016 OpenWrt.org
|
|
|
|
# Copyright (C) 2016 Yousong Zhou
|
|
|
|
|
2024-03-23 23:58:36 +01:00
|
|
|
KERNEL_LOADADDR:=0x40008000
|
|
|
|
|
2020-03-16 10:56:01 +01:00
|
|
|
define Device/sun50i
|
|
|
|
SUNXI_DTS_DIR := allwinner/
|
|
|
|
KERNEL_NAME := Image
|
|
|
|
KERNEL := kernel-bin
|
|
|
|
endef
|
|
|
|
|
2020-04-24 09:58:53 +02:00
|
|
|
define Device/sun50i-a64
|
|
|
|
SOC := sun50i-a64
|
|
|
|
$(Device/sun50i)
|
|
|
|
endef
|
|
|
|
|
2020-03-16 10:56:01 +01:00
|
|
|
define Device/sun50i-h5
|
|
|
|
SOC := sun50i-h5
|
|
|
|
$(Device/sun50i)
|
|
|
|
endef
|
|
|
|
|
2020-04-24 09:58:53 +02:00
|
|
|
define Device/sun50i-h6
|
|
|
|
SOC := sun50i-h6
|
2020-03-16 10:56:01 +01:00
|
|
|
$(Device/sun50i)
|
|
|
|
endef
|
|
|
|
|
2023-09-02 00:18:18 +02:00
|
|
|
define Device/sun50i-h616
|
|
|
|
SOC := sun50i-h616
|
|
|
|
$(Device/sun50i)
|
|
|
|
endef
|
|
|
|
|
2023-11-18 23:10:25 +08:00
|
|
|
define Device/sun50i-h618
|
|
|
|
SOC := sun50i-h618
|
|
|
|
$(Device/sun50i)
|
|
|
|
endef
|
|
|
|
|
2019-12-06 00:11:56 +01:00
|
|
|
define Device/friendlyarm_nanopi-neo-plus2
|
2019-07-05 22:26:00 -04:00
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi NEO Plus2
|
2017-12-28 18:21:15 +01:00
|
|
|
SUPPORTED_DEVICES:=nanopi-neo-plus2
|
2020-03-16 10:56:01 +01:00
|
|
|
$(Device/sun50i-h5)
|
2017-12-28 18:21:15 +01:00
|
|
|
endef
|
2019-12-06 00:11:56 +01:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
|
2017-12-28 18:21:15 +01:00
|
|
|
|
2019-12-06 00:11:56 +01:00
|
|
|
define Device/friendlyarm_nanopi-neo2
|
2019-07-05 22:26:00 -04:00
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
DEVICE_MODEL := NanoPi NEO2
|
2018-09-19 22:31:26 +02:00
|
|
|
SUPPORTED_DEVICES:=nanopi-neo2
|
2020-03-16 10:56:01 +01:00
|
|
|
$(Device/sun50i-h5)
|
2018-09-19 22:31:26 +02:00
|
|
|
endef
|
2019-12-06 00:11:56 +01:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo2
|
2018-09-19 22:31:26 +02:00
|
|
|
|
2021-10-18 12:20:03 +08: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 10:57:50 +01:00
|
|
|
define Device/olimex_a64-olinuxino
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
DEVICE_MODEL := A64-Olinuxino
|
2021-12-27 00:57:19 +01:00
|
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
|
2020-03-16 10:57:50 +01:00
|
|
|
$(Device/sun50i-a64)
|
|
|
|
SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += olimex_a64-olinuxino
|
|
|
|
|
2020-03-16 10:57:50 +01:00
|
|
|
define Device/olimex_a64-olinuxino-emmc
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
DEVICE_MODEL := A64-Olinuxino
|
|
|
|
DEVICE_VARIANT := eMMC
|
2021-12-27 00:57:19 +01:00
|
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
|
2020-03-16 10:57:50 +01:00
|
|
|
$(Device/sun50i-a64)
|
|
|
|
SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += olimex_a64-olinuxino-emmc
|
|
|
|
|
2019-12-06 00:11:56 +01:00
|
|
|
define Device/pine64_pine64-plus
|
2019-07-05 22:26:00 -04:00
|
|
|
DEVICE_VENDOR := Pine64
|
|
|
|
DEVICE_MODEL := Pine64+
|
2021-12-27 00:57:19 +01:00
|
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
|
2020-03-16 10:56:01 +01:00
|
|
|
$(Device/sun50i-a64)
|
2017-07-15 22:53:20 +02:00
|
|
|
endef
|
2019-12-06 00:11:56 +01:00
|
|
|
TARGET_DEVICES += pine64_pine64-plus
|
2017-07-15 22:53:20 +02:00
|
|
|
|
2019-12-06 00:11:56 +01:00
|
|
|
define Device/pine64_sopine-baseboard
|
2019-07-05 22:26:00 -04:00
|
|
|
DEVICE_VENDOR := Pine64
|
|
|
|
DEVICE_MODEL := SoPine
|
2021-12-27 00:57:19 +01:00
|
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
|
2020-03-16 10:56:01 +01:00
|
|
|
$(Device/sun50i-a64)
|
2018-03-19 17:52:46 +08:00
|
|
|
endef
|
2019-12-06 00:11:56 +01:00
|
|
|
TARGET_DEVICES += pine64_sopine-baseboard
|
2018-03-19 17:52:46 +08:00
|
|
|
|
2020-04-24 09:58:53 +02: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 14:21:19 +01:00
|
|
|
define Device/xunlong_orangepi-pc2
|
2019-07-05 22:26:00 -04:00
|
|
|
DEVICE_VENDOR := Xunlong
|
2020-01-23 14:21:19 +01:00
|
|
|
DEVICE_MODEL := Orange Pi PC 2
|
2020-03-16 10:56:01 +01:00
|
|
|
$(Device/sun50i-h5)
|
2018-01-27 23:46:50 +01:00
|
|
|
endef
|
2020-01-23 14:21:19 +01:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-pc2
|
2018-01-27 23:46:50 +01:00
|
|
|
|
2023-09-02 00:18:18 +02:00
|
|
|
define Device/xunlong_orangepi-zero2
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
DEVICE_MODEL := Orange Pi Zero 2
|
|
|
|
$(Device/sun50i-h616)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-zero2
|
|
|
|
|
2023-11-18 23:10:25 +08:00
|
|
|
define Device/xunlong_orangepi-zero3
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
DEVICE_MODEL := Orange Pi Zero 3
|
|
|
|
$(Device/sun50i-h618)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-zero3
|
|
|
|
|
2020-01-23 14:21:19 +01:00
|
|
|
define Device/xunlong_orangepi-zero-plus
|
2019-07-05 22:26:00 -04:00
|
|
|
DEVICE_VENDOR := Xunlong
|
2020-01-23 14:21:19 +01:00
|
|
|
DEVICE_MODEL := Orange Pi Zero Plus
|
2020-03-16 10:56:01 +01:00
|
|
|
$(Device/sun50i-h5)
|
2018-07-30 11:33:03 +02:00
|
|
|
endef
|
2020-01-23 14:21:19 +01:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-zero-plus
|