mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 19:42:41 +00:00
linux: linux-yocto: add rtw88 support
This change removes rtl8822 from nvidia-kernel-oot to switch to the driver and firmware from linux-yocto and linux firmware. It includes updates to tegra-wifi to pull in the needed packages to the image. Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
This commit is contained in:
committed by
Matt Madison
parent
9ba6b25333
commit
944504cd13
@@ -1,3 +1,5 @@
|
||||
MACHINE_FEATURES += "wifi bluetooth"
|
||||
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-rtk-btusb kernel-module-rtl8822ce tegra-firmware-rtl8822"
|
||||
LINUX_WIFI ?= "kernel-module-rtk-btusb kernel-module-rtw88-8822ce linux-firmware-rtl8822"
|
||||
NVIDIA_WIFI ?= "kernel-module-rtk-btusb kernel-module-rtl8822ce tegra-firmware-rtl8822"
|
||||
MACHINE_EXTRA_RRECOMMENDS += "${@'${NVIDIA_WIFI}' if d.getVar('PREFERRED_PROVIDER_virtual/kernel') == 'linux-jammy-nvidia-tegra' else '${LINUX_WIFI}'}"
|
||||
TEGRA_BT_SUPPORT_PACKAGE ?= ""
|
||||
|
||||
@@ -20,5 +20,5 @@ do_install() {
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
FILES:${PN} += "${nonarch_base_libdir}/udev/rules.d"
|
||||
RDEPENDS:${PN} += "nvidia-kernel-oot-wifi"
|
||||
RRECOMMENDS:${PN} += "nvidia-kernel-oot-wifi"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
CONFIG_RTW88=m
|
||||
CONFIG_RTW88_CORE=m
|
||||
CONFIG_RTW88_PCI=m
|
||||
CONFIG_RTW88_8822C=m
|
||||
CONFIG_RTW88_8822CE=m
|
||||
# CONFIG_RTW88_DEBUG is not set
|
||||
# CONFIG_RTW88_DEBUGFS is not set
|
||||
Reference in New Issue
Block a user