From: Angelo Compagnucci <angelo@amarulasolutions.com>
To: buildroot@buildroot.org
Cc: indrek.kruusa@gmail.com,
Angelo Compagnucci <angelo@amarulasolutions.com>
Subject: [Buildroot] [PATCH v4 1/3] package/rtl8723ds-bt: new package
Date: Wed, 14 Dec 2022 00:21:57 +0100 [thread overview]
Message-ID: <20221213232159.855265-1-angelo@amarulasolutions.com> (raw)
This package install the required firmware for enabling the
Bluetooth device embedded in the RTL8723DS chip.
The driver is included in Linux main tree and can be enabled
with the BT_HCIUART_RTL symbol.
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
v3:
* Simplified package (Thomas, Yann)
* Package now only installs firmware (Thomas, Yann)
package/Config.in | 1 +
package/rtl8723ds-bt/Config.in | 6 ++++++
package/rtl8723ds-bt/rtl8723ds-bt.hash | 2 ++
package/rtl8723ds-bt/rtl8723ds-bt.mk | 17 +++++++++++++++++
4 files changed, 26 insertions(+)
create mode 100644 package/rtl8723ds-bt/Config.in
create mode 100644 package/rtl8723ds-bt/rtl8723ds-bt.hash
create mode 100644 package/rtl8723ds-bt/rtl8723ds-bt.mk
diff --git a/package/Config.in b/package/Config.in
index 914c3584e9..999feae08a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -585,6 +585,7 @@ endmenu
source "package/rtl8192eu/Config.in"
source "package/rtl8723bu/Config.in"
source "package/rtl8723ds/Config.in"
+ source "package/rtl8723ds-bt/Config.in"
source "package/rtl8812au-aircrack-ng/Config.in"
source "package/rtl8821au/Config.in"
source "package/sane-backends/Config.in"
diff --git a/package/rtl8723ds-bt/Config.in b/package/rtl8723ds-bt/Config.in
new file mode 100644
index 0000000000..0a604310c0
--- /dev/null
+++ b/package/rtl8723ds-bt/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_RTL8723DS_BT
+ bool "rtl8723ds-bt"
+ help
+ rtl8723ds UART attached Bluetooth module firmware.
+
+ https://github.com/wsyco/RTL8723DS_BT_Linux
diff --git a/package/rtl8723ds-bt/rtl8723ds-bt.hash b/package/rtl8723ds-bt/rtl8723ds-bt.hash
new file mode 100644
index 0000000000..1ec4e350f9
--- /dev/null
+++ b/package/rtl8723ds-bt/rtl8723ds-bt.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 9e70a981946abeeb6437d9a27d8437cea15aa4df72f8d56ded0ae28af484d2f4 rtl8723ds-bt-14cedf3a9fec1aa8c500fa52f3e3acc433cbcf08.tar.gz
diff --git a/package/rtl8723ds-bt/rtl8723ds-bt.mk b/package/rtl8723ds-bt/rtl8723ds-bt.mk
new file mode 100644
index 0000000000..efd0a5bae9
--- /dev/null
+++ b/package/rtl8723ds-bt/rtl8723ds-bt.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# rtl8723ds-bt
+#
+################################################################################
+
+RTL8723DS_BT_VERSION = 14cedf3a9fec1aa8c500fa52f3e3acc433cbcf08
+RTL8723DS_BT_SITE = $(call github,wsyco,RTL8723DS_BT_Linux,$(RTL8723DS_BT_VERSION))
+RTL8723DS_BT_LICENSE = PROPRIETARY
+
+define RTL8723DS_BT_INSTALL_TARGET_CMDS
+ mkdir -p $(TARGET_DIR)/lib/firmware/rtl_bt/
+ cp $(@D)/8723D/rtl8723d_fw $(TARGET_DIR)/lib/firmware/rtl_bt/rtl8723ds_fw.bin
+ cp $(@D)/8723D/rtl8723d_config $(TARGET_DIR)/lib/firmware/rtl_bt/rtl8723ds_config.bin
+endef
+
+$(eval $(generic-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2022-12-13 23:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-13 23:21 Angelo Compagnucci [this message]
2022-12-13 23:21 ` [Buildroot] [PATCH v4 2/3] configs/lichee_rv: new defconfig Angelo Compagnucci
2022-12-14 20:13 ` Indrek Kruusa
2022-12-13 23:21 ` [Buildroot] [PATCH v4 3/3] configs/lichee_rv_dock: " Angelo Compagnucci
2022-12-14 20:19 ` Indrek Kruusa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221213232159.855265-1-angelo@amarulasolutions.com \
--to=angelo@amarulasolutions.com \
--cc=buildroot@buildroot.org \
--cc=indrek.kruusa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox