From: Álvaro Fernández Rojas Date: Mon, 29 Jan 2024 09:11:40 +0000 (+0100) Subject: bcm27xx: bcm2712: enable USB symbols and drop packages X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0b498c3c3f1ebc6ffb5055ca07129eb21d8aef9c;p=openwrt%2Fstaging%2Fblocktrron.git bcm27xx: bcm2712: enable USB symbols and drop packages This allows booting from USB. Fixes: 8b63d9ac4ae9 ("bcm27xx: add new bcm2712 subtarget") Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/bcm27xx/bcm2712/config-6.1 b/target/linux/bcm27xx/bcm2712/config-6.1 index 08445ffee2..ed2cc0ebe4 100644 --- a/target/linux/bcm27xx/bcm2712/config-6.1 +++ b/target/linux/bcm27xx/bcm2712/config-6.1 @@ -426,6 +426,7 @@ CONFIG_PADATA=y CONFIG_PAGE_POOL=y CONFIG_PAGE_SIZE_LESS_THAN_256KB=y CONFIG_PAGE_SIZE_LESS_THAN_64KB=y +CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y CONFIG_PARTITION_PERCPU=y CONFIG_PCI=y CONFIG_PCIEAER=y @@ -575,6 +576,10 @@ CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y # CONFIG_USB_BRCMSTB is not set CONFIG_USB_COMMON=y +CONFIG_USB_DWC3=y +# CONFIG_USB_DWC3_DUAL_ROLE is not set +# CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_HOST=y CONFIG_USB_DWCOTG=y CONFIG_USB_GADGET=y # CONFIG_USB_HCD_BCMA is not set diff --git a/target/linux/bcm27xx/image/Makefile b/target/linux/bcm27xx/image/Makefile index e55a7b17b5..e5c2d15499 100644 --- a/target/linux/bcm27xx/image/Makefile +++ b/target/linux/bcm27xx/image/Makefile @@ -181,8 +181,7 @@ define Device/rpi-5 cypress-firmware-43455-sdio \ brcmfmac-nvram-43455-sdio \ kmod-brcmfmac wpad-basic-mbedtls \ - kmod-hwmon-pwmfan kmod-thermal \ - kmod-usb-dwc3 kmod-usb3 + kmod-hwmon-pwmfan kmod-thermal IMAGE/sysupgrade.img.gz := boot-common | boot-2711 | sdcard-img | gzip | append-metadata IMAGE/factory.img.gz := boot-common | boot-2711 | sdcard-img | gzip endef