[PATCH 1/1] sunxi: enable usbgadget feature

Chukun Pan amadeus at jmu.edu.cn
Fri Feb 21 06:01:05 PST 2025


The USB of most sunxi devices works in otg or peripheral mode.
Enable this feature to use usbgadget. Tested on OrangePi Zero3.

Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
---
 target/linux/sunxi/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile
index d91e5c5a3e..193383e940 100644
--- a/target/linux/sunxi/Makefile
+++ b/target/linux/sunxi/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=sunxi
 BOARDNAME:=Allwinner ARM SoCs
-FEATURES:=usb ext4 display rootfs-part rtc squashfs
+FEATURES:=ext4 display rootfs-part rtc squashfs usb usbgadget
 SUBTARGETS:=cortexa8 cortexa7 cortexa53
 
 KERNEL_PATCHVER:=6.6
-- 
2.25.1




More information about the openwrt-devel mailing list