mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-04 13:04:22 +00:00
bb9915407b
The Pine64(+) and the SoPine64 baseboard has an optional BT+WiFi module, carrying an RTL8723BS. The wifi part is connected via SDIO, the BT part is connected via UART. The BT part requires additional code changes in the drivers so we'll skip that until 5.10. Aside from a DTS patch to enable the wifi module, add the required packages into the device definitions. [ 8.996970] RTL8723BS: module init start [ 9.000922] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40 [ 9.007965] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40 [ 9.014785] pnetdev = 000000009bdd5000 [ 9.047780] RTL8723BS: rtw_ndev_init(wlan0) [ 9.053349] RTL8723BS: module init ret =0 root@OpenWrt:/# iw list Wiphy phy0 wiphy index: 0 max # scan SSIDs: 9 max scan IEs length: 2304 bytes max # sched scan SSIDs: 0 max # match sets: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Available Antennas: TX 0 RX 0 Supported interface modes: * IBSS * managed * AP * monitor Band 1: Frequencies: * 2412 MHz [1] (20.0 dBm) * 2417 MHz [2] (20.0 dBm) * 2422 MHz [3] (20.0 dBm) * 2427 MHz [4] (20.0 dBm) * 2432 MHz [5] (20.0 dBm) * 2437 MHz [6] (20.0 dBm) * 2442 MHz [7] (20.0 dBm) * 2447 MHz [8] (20.0 dBm) * 2452 MHz [9] (20.0 dBm) * 2457 MHz [10] (20.0 dBm) * 2462 MHz [11] (20.0 dBm) * 2467 MHz [12] (20.0 dBm) (no IR) * 2472 MHz [13] (20.0 dBm) (no IR) * 2484 MHz [14] (20.0 dBm) (no IR) Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
95 lines
2.3 KiB
Makefile
95 lines
2.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2013-2016 OpenWrt.org
|
|
# Copyright (C) 2016 Yousong Zhou
|
|
|
|
define Device/sun50i
|
|
SUNXI_DTS_DIR := allwinner/
|
|
KERNEL_NAME := Image
|
|
KERNEL := kernel-bin
|
|
endef
|
|
|
|
define Device/sun50i-h5
|
|
SOC := sun50i-h5
|
|
$(Device/sun50i)
|
|
endef
|
|
|
|
define Device/sun50i-a64
|
|
SOC := sun50i-a64
|
|
$(Device/sun50i)
|
|
endef
|
|
|
|
define Device/friendlyarm_nanopi-neo-plus2
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi NEO Plus2
|
|
SUPPORTED_DEVICES:=nanopi-neo-plus2
|
|
$(Device/sun50i-h5)
|
|
endef
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
|
|
|
|
define Device/friendlyarm_nanopi-neo2
|
|
DEVICE_VENDOR := FriendlyARM
|
|
DEVICE_MODEL := NanoPi NEO2
|
|
SUPPORTED_DEVICES:=nanopi-neo2
|
|
$(Device/sun50i-h5)
|
|
endef
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo2
|
|
|
|
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
|
|
|
|
define Device/olimex_a64-olinuxino
|
|
DEVICE_VENDOR := Olimex
|
|
DEVICE_MODEL := A64-Olinuxino
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
|
|
$(Device/sun50i-a64)
|
|
SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
|
|
endef
|
|
TARGET_DEVICES += olimex_a64-olinuxino
|
|
|
|
define Device/olimex_a64-olinuxino-emmc
|
|
DEVICE_VENDOR := Olimex
|
|
DEVICE_MODEL := A64-Olinuxino
|
|
DEVICE_VARIANT := eMMC
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
|
|
$(Device/sun50i-a64)
|
|
SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
|
|
endef
|
|
TARGET_DEVICES += olimex_a64-olinuxino-emmc
|
|
|
|
define Device/pine64_pine64-plus
|
|
DEVICE_VENDOR := Pine64
|
|
DEVICE_MODEL := Pine64+
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
|
|
$(Device/sun50i-a64)
|
|
endef
|
|
TARGET_DEVICES += pine64_pine64-plus
|
|
|
|
define Device/pine64_sopine-baseboard
|
|
DEVICE_VENDOR := Pine64
|
|
DEVICE_MODEL := SoPine
|
|
DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware
|
|
$(Device/sun50i-a64)
|
|
endef
|
|
TARGET_DEVICES += pine64_sopine-baseboard
|
|
|
|
define Device/xunlong_orangepi-pc2
|
|
DEVICE_VENDOR := Xunlong
|
|
DEVICE_MODEL := Orange Pi PC 2
|
|
$(Device/sun50i-h5)
|
|
endef
|
|
TARGET_DEVICES += xunlong_orangepi-pc2
|
|
|
|
define Device/xunlong_orangepi-zero-plus
|
|
DEVICE_VENDOR := Xunlong
|
|
DEVICE_MODEL := Orange Pi Zero Plus
|
|
$(Device/sun50i-h5)
|
|
endef
|
|
TARGET_DEVICES += xunlong_orangepi-zero-plus
|