diff --git a/patches/0055-enable-kmod-dwc3-qcom.patch b/patches/0055-enable-kmod-dwc3-qcom.patch new file mode 100644 index 000000000..6538cfbec --- /dev/null +++ b/patches/0055-enable-kmod-dwc3-qcom.patch @@ -0,0 +1,32 @@ +From fa75fce4b170bba40c0f6f756bda06757c0d2377 Mon Sep 17 00:00:00 2001 +From: "peter.chiu" +Date: Wed, 30 Jun 2021 17:12:59 +0800 +Subject: [PATCH] enable kmod-dwc3-qcom + +--- + package/kernel/linux/modules/usb.mk | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + mode change 100644 => 100755 package/kernel/linux/modules/usb.mk + +diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk +old mode 100644 +new mode 100755 +index a88b8df..14ddce2 +--- a/package/kernel/linux/modules/usb.mk ++++ b/package/kernel/linux/modules/usb.mk +@@ -499,9 +499,10 @@ $(eval $(call KernelPackage,usb-dwc3-of-simple)) + + define KernelPackage/usb-dwc3-qcom + TITLE:=DWC3 Qualcomm USB driver +- DEPENDS:=@LINUX_4_19 @(TARGET_ipq40xx||TARGET_ipq806x) +kmod-usb-dwc3 ++ DEPENDS:=@!LINUX_4_19 @(TARGET_ipq40xx||TARGET_ipq806x||TARGET_ipq807x) +kmod-usb-dwc3 + KCONFIG:= CONFIG_USB_DWC3_QCOM +- FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom.ko ++ FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom.ko \ ++ $(LINUX_DIR)/drivers/usb/dwc3/dbm.ko@le4.4 + AUTOLOAD:=$(call AutoLoad,53,dwc3-qcom,1) + $(call AddDepends/usb) + endef +-- +2.7.4 + diff --git a/profiles/eap101.yml b/profiles/eap101.yml old mode 100644 new mode 100755 index 534407a4b..7c090fa64 --- a/profiles/eap101.yml +++ b/profiles/eap101.yml @@ -6,5 +6,13 @@ description: Build image for the EdgeCore EAP101 feeds: - name: ipq807x path: ../../feeds/ipq807x - - +packages: + - kmod-usb-dwc3-qcom + - kmod-fs-ext4 + - kmod-usb-storage + - kmod-usb2 + - kmod-usb3 + - block-mount + - e2fsprogs +diffconfig: | + CONFIG_PACKAGE_kmod-usb-dwc3-of-simple=n \ No newline at end of file