Thanks for your reply and your help.
Even if I have some changes to make a documentation would be a really hepfull start.
Thank you
Ok, I've added a new BUILDING.md to the repo on github. That should walk you through the building process.
You'll need to make changes for the package to work with the firmware for the SD8997:
diff
--- a/package/kernel/nxp-pcie9098/Makefile
+++ b/package/kernel/nxp-pcie9098/Makefile
@@ -1,6 +1,6 @@
include $(TOPDIR)/rules.mk
-PKG_NAME:=nxp-pcie9098
+PKG_NAME:=nxp-sd8997
PKG_VERSION=230128
PKG_RELEASE=1
@@ -18,9 +18,9 @@ PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/package.mk
-define KernelPackage/nxp-pcie9098
+define KernelPackage/nxp-sd8997
SUBMENU:=Wireless Drivers
- TITLE:=NXP pcie 9098 driver
+ TITLE:=NXP SD 8997 driver
DEPENDS:=+kmod-mac80211 +kmod-cfg80211 +kmod-mwifiex-pcie \
+@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \
@PCI_SUPPORT @TARGET_mvebu
@@ -48,14 +48,14 @@ define Build/Compile
modules
endef
-define KernelPackage/nxp-pcie9098/install
+define KernelPackage/nxp-sd8997/install
$(INSTALL_DIR) $(1)/lib/firmware/nxp
$(INSTALL_DATA) \
- $(PKG_BUILD_DIR)/firmware/nxp/FwImage_9098_PCIE/pcieuart9098_combo_v1.bin \
- $(1)/lib/firmware/nxp/pcieuart9098_combo_v1.bin
+ $(PKG_BUILD_DIR)/firmware/nxp/FwImage_8997_SD/sdiouart8997_combo_v4.bin \
+ $(1)/lib/firmware/nxp/sdiouart8997_combo_v4.bin
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/wifi_mod_para.conf \
$(1)/lib/firmware/nxp/wifi_mod_para.conf
endef
-$(eval $(call KernelPackage,nxp-pcie9098))
+$(eval $(call KernelPackage,nxp-sd8997))
And for the driver:
diff
--- a/driver/Makefile
+++ b/driver/Makefile
@@ -39,7 +39,7 @@ CONFIG_PCIE8897=n
CONFIG_SD8977=n
CONFIG_SD8978=n
CONFIG_USB8978=n
-CONFIG_SD8997=n
+CONFIG_SD8997=y
CONFIG_USB8997=n
CONFIG_PCIE8997=n
CONFIG_SD8987=n
@@ -51,7 +51,7 @@ CONFIG_USB9097=n
CONFIG_PCIE9097=n
CONFIG_SD9098=n
CONFIG_USB9098=n
-CONFIG_PCIE9098=y
+CONFIG_PCIE9098=n
CONFIG_SDNW62X=n
CONFIG_PCIENW62X=n
CONFIG_USBNW62X=n
--- a/wifi_mod_para.conf
+++ b/wifi_mod_para.conf
@@ -27,24 +27,14 @@
# this configuration file, and set the corresponding value
# according to your real needs
-PCIE9098_0 = {
+SD8997 = {
cfg80211_wext=0xf
max_vir_bss=1
cal_data_cfg=none
ps_mode=2
auto_ds=2
host_mlme=1
- fw_name=nxp/pcieuart9098_combo_v1.bin
-}
-
-PCIE9098_1 = {
- cfg80211_wext=0xf
- max_vir_bss=1
- cal_data_cfg=none
- ps_mode=2
- auto_ds=2
- host_mlme=1
- fw_name=nxp/pcieuart9098_combo_v1.bin
+ fw_name=nxp/sdiouart8997_combo_v4.bin
}
#USB8997 = {
That's about as much as I can help without access to the hardware.
Hello Ahrotahn,
Thanks for your help. It works like a charm
1 Like