rtl8723bu: new package
PATCH v2 1/1 rtl8723bu: new package
Add RTL8723BU package to compile the Realtek RTL8723BU Wifi driver.
---
Changes since v1:
- Added myself into DEVELOPERS file
- Removed the loop to install the firmware (not necessary)
- Updated the installation to remove the hook and use standard INSTALL_TARGET_CMDS
--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/rtl8723bu/Config.in | 10 ++++++++++ package/rtl8723bu/rtl8723bu.hash | 2 ++ package/rtl8723bu/rtl8723bu.mk | 20 ++++++++++++++++++++ 5 files changed, 36 insertions(+) create mode 100644 package/rtl8723bu/Config.in create mode 100644 package/rtl8723bu/rtl8723bu.hash create mode 100644 package/rtl8723bu/rtl8723bu.mk
DEVELOPERS +3 -0
@@ -1191,6 +1191,9 @@ N: Mike Harmony <[email protected]> F: board/sinovoip/m2-plus/ F: configs/bananapi_m2_plus_defconfig +N: Myl?ne Josserand <[email protected]> +F: package/rtl8723bu/ + N: Nathan Lynch <[email protected]> F: package/chrony/
package/Config.in +1 -0
@@ -482,6 +482,7 @@ endmenu source "package/rs485conf/Config.in" source "package/rtl8188eu/Config.in" source "package/rtl8723bs/Config.in" + source "package/rtl8723bu/Config.in" source "package/rtl8821au/Config.in" source "package/sane-backends/Config.in" source "package/sdparm/Config.in"
package/rtl8723bu/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_RTL8723BU + bool "rtl8723bu" + depends on BR2_LINUX_KERNEL + help + rtl8723bu wifi driver + + https://github.com/lwfinger/rtl8723bu + +comment "rtl8723bu needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL
package/rtl8723bu/rtl8723bu.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed +sha256 da04cffc306d9738abdc67d234b8948db6ca97ed77760c68d99d18817839a513 rtl8723bu-b922079a090dcaad58179d478442ff97f18521c9.tar.gz
package/rtl8723bu/rtl8723bu.mk new file +20 -0
@@ -0,0 +1,20 @@ +################################################################################ +# +# rtl8723bu +# +################################################################################ + +RTL8723BU_VERSION = b922079a090dcaad58179d478442ff97f18521c9 +RTL8723BU_SITE = $(call github,lwfinger,rtl8723bu,$(RTL8723BU_VERSION)) +RTL8723BU_LICENSE = GPL-2.0, proprietary (*.bin firmware blobs) + +RTL8723BU_MODULE_MAKE_OPTS = \ + KVER=$(LINUX_VERSION_PROBED) \ + KSRC=$(LINUX_DIR) + +define RTL8723BU_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 644 $(@D)/rtl8723b_fw.bin $(TARGET_DIR)/lib/firmware/rtlwifi/rtl8723b_fw.bin +endef + +$(eval $(kernel-module)) +$(eval $(generic-package))
Signature · 1 line
2.11.0
PATCH v2 1/1 rtl8723bu: new package
Quoted 1 line · Myl?ne Josserand
Add RTL8723BU package to compile the Realtek RTL8723BU Wifi driver.
I believe recent versions of the in-kernel rtlwifi driver cover the RTL8723BU as well. Is there any reason to prefer Realtek's driver? If there are important differences, then it may be useful to record the advantages of this driver in the Config.in help section.
Kind regards,
jer
PATCH v2 1/1 rtl8723bu: new package
Hello,
Le Mon, 27 Nov 2017 10:35:27 +0100,
Jeroen Roovers <[email protected]> a ?crit :
Quoted 9 lines
Quoted 2 lines · Myl?ne Josserand
Add RTL8723BU package to compile the Realtek RTL8723BU Wifi driver.
I believe recent versions of the in-kernel rtlwifi driver cover the RTL8723BU as well. Is there any reason to prefer Realtek's driver? If there are important differences, then it may be useful to record the advantages of this driver in the Config.in help section.
Yes, I tried this driver and I did not succeed to make it work. I sent an email on the mailing list "linux-wireless" about that[1]. I still do not have an answer. It would be nice if it can work with mainline's driver.
I tested Realtek's driver and it is working just fine so I thought to contribute the package, in case it could help others.
I can add it in the help section but maybe, the status of the mainline driver will change so I do not know.
[1]:
https://www.mail-archive.com/linux-wireless at vger.kernel.org/msg40501.html
Thanks,
Best regards,
Myl?ne Josserand
Thomas Petazzoni
AppliedPATCH v2 1/1 rtl8723bu: new package
In reply to Mylène JosserandHello,
Quoted 10 lines · Myl?ne Josserand
Add RTL8723BU package to compile the Realtek RTL8723BU Wifi driver.
Signed-off-by Myl?ne Josserand <[email protected]>---
Changes since v1:
- Added myself into DEVELOPERS file
- Removed the loop to install the firmware (not necessary)
- Updated the installation to remove the hook and use standardINSTALL_TARGET_CMDS
Quoted 10 lines
--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/rtl8723bu/Config.in | 10 ++++++++++ package/rtl8723bu/rtl8723bu.hash | 2 ++ package/rtl8723bu/rtl8723bu.mk | 20 ++++++++++++++++++++ 5 files changed, 36 insertions(+) create mode 100644 package/rtl8723bu/Config.in create mode 100644 package/rtl8723bu/rtl8723bu.hash create mode 100644 package/rtl8723bu/rtl8723bu.mk
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com