linux-postmarketos-qcom: Remove composite usb gadget for networking (#1462)

* linux-postmarketos-qcom: Remove composite USB gadget
* linux-postmarketos-qcom: Fix usb networking
- Enable functionfs so we're able to actually configure the USB
  networking
- Enable the USB serial console for convenience, although not enabled by
  default pre-composed configuration
This commit is contained in:
Martijn Braam 2018-05-06 22:34:17 +02:00 committed by GitHub
parent c8616eb683
commit c813b146b6
2 changed files with 9 additions and 23 deletions

View file

@ -4,7 +4,7 @@ _config="config-${_flavor}.${CARCH}"
pkgname=linux-${_flavor} pkgname=linux-${_flavor}
pkgver=4.17_rc3 pkgver=4.17_rc3
pkgrel=0 pkgrel=1
arch="armhf" arch="armhf"
pkgdesc="Kernel close to mainline with extra patches for Qualcomm devices" pkgdesc="Kernel close to mainline with extra patches for Qualcomm devices"
@ -184,4 +184,4 @@ dev() {
fi fi
} }
sha512sums="d2396e95e5f6e6e95a0c55d6dbe93b2c157db793d068039eba0d8678ef4348fcb8575e7960809941cd3d60f864dbee384b05d9a99b5971bd7b10ce85fa2dae6e linux-ad0dd87cc34c8ed7ac4cd04465d7e75c71dd8fe3.tar.gz sha512sums="d2396e95e5f6e6e95a0c55d6dbe93b2c157db793d068039eba0d8678ef4348fcb8575e7960809941cd3d60f864dbee384b05d9a99b5971bd7b10ce85fa2dae6e linux-ad0dd87cc34c8ed7ac4cd04465d7e75c71dd8fe3.tar.gz
661c4673b1ca0de15eb4487575e3cd5769055e0bafed4b982129fd385c30e206a58a279f4221332044e289ec10e2282a03c4a360d3648fef7d13095d578cb615 config-postmarketos-qcom.armhf" 7a57f8599be1cb99b4107e02747e21959cd6ba2bb81e5c0ce7554d642b7242bfd696674c13016a22383b80ccb8b96e00556d89cdab2341e2ae4734e5db4f15b8 config-postmarketos-qcom.armhf"

View file

@ -2653,6 +2653,7 @@ CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG_FS is not set # CONFIG_USB_GADGET_DEBUG_FS is not set
CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
CONFIG_U_SERIAL_CONSOLE=y
# #
# USB Peripheral Controller # USB Peripheral Controller
@ -2671,12 +2672,15 @@ CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
# CONFIG_USB_GADGET_XILINX is not set # CONFIG_USB_GADGET_XILINX is not set
# CONFIG_USB_DUMMY_HCD is not set # CONFIG_USB_DUMMY_HCD is not set
CONFIG_USB_LIBCOMPOSITE=y CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_U_SERIAL=y
CONFIG_USB_U_ETHER=y CONFIG_USB_U_ETHER=y
CONFIG_USB_F_SERIAL=y
CONFIG_USB_F_ECM=y CONFIG_USB_F_ECM=y
CONFIG_USB_F_SUBSET=y CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y CONFIG_USB_F_RNDIS=y
CONFIG_USB_F_FS=y
CONFIG_USB_CONFIGFS=y CONFIG_USB_CONFIGFS=y
# CONFIG_USB_CONFIGFS_SERIAL is not set CONFIG_USB_CONFIGFS_SERIAL=y
# CONFIG_USB_CONFIGFS_ACM is not set # CONFIG_USB_CONFIGFS_ACM is not set
# CONFIG_USB_CONFIGFS_OBEX is not set # CONFIG_USB_CONFIGFS_OBEX is not set
# CONFIG_USB_CONFIGFS_NCM is not set # CONFIG_USB_CONFIGFS_NCM is not set
@ -2686,7 +2690,7 @@ CONFIG_USB_CONFIGFS_RNDIS=y
# CONFIG_USB_CONFIGFS_EEM is not set # CONFIG_USB_CONFIGFS_EEM is not set
# CONFIG_USB_CONFIGFS_MASS_STORAGE is not set # CONFIG_USB_CONFIGFS_MASS_STORAGE is not set
# CONFIG_USB_CONFIGFS_F_LB_SS is not set # CONFIG_USB_CONFIGFS_F_LB_SS is not set
# CONFIG_USB_CONFIGFS_F_FS is not set CONFIG_USB_CONFIGFS_F_FS=y
# CONFIG_USB_CONFIGFS_F_UAC1 is not set # CONFIG_USB_CONFIGFS_F_UAC1 is not set
# CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set # CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set
# CONFIG_USB_CONFIGFS_F_UAC2 is not set # CONFIG_USB_CONFIGFS_F_UAC2 is not set
@ -2694,24 +2698,6 @@ CONFIG_USB_CONFIGFS_RNDIS=y
# CONFIG_USB_CONFIGFS_F_HID is not set # CONFIG_USB_CONFIGFS_F_HID is not set
# CONFIG_USB_CONFIGFS_F_UVC is not set # CONFIG_USB_CONFIGFS_F_UVC is not set
# CONFIG_USB_CONFIGFS_F_PRINTER is not set # CONFIG_USB_CONFIGFS_F_PRINTER is not set
# CONFIG_USB_ZERO is not set
# CONFIG_USB_AUDIO is not set
CONFIG_USB_ETH=y
CONFIG_USB_ETH_RNDIS=y
# CONFIG_USB_ETH_EEM is not set
# CONFIG_USB_G_NCM is not set
# CONFIG_USB_GADGETFS is not set
# CONFIG_USB_FUNCTIONFS is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_ACM_MS is not set
# CONFIG_USB_G_MULTI is not set
# CONFIG_USB_G_HID is not set
# CONFIG_USB_G_DBGP is not set
# CONFIG_USB_G_WEBCAM is not set
# CONFIG_TYPEC is not set # CONFIG_TYPEC is not set
CONFIG_USB_ULPI_BUS=y CONFIG_USB_ULPI_BUS=y
# CONFIG_UWB is not set # CONFIG_UWB is not set
@ -3080,7 +3066,7 @@ CONFIG_RPMSG_QCOM_SMD=y
CONFIG_QCOM_MDT_LOADER=y CONFIG_QCOM_MDT_LOADER=y
CONFIG_QCOM_OCMEM=y CONFIG_QCOM_OCMEM=y
CONFIG_QCOM_PM=y CONFIG_QCOM_PM=y
CONFIG_QCOM_QMI_HELPERS=m CONFIG_QCOM_QMI_HELPERS=y
CONFIG_QCOM_RMTFS_MEM=y CONFIG_QCOM_RMTFS_MEM=y
CONFIG_QCOM_SMEM=y CONFIG_QCOM_SMEM=y
CONFIG_QCOM_SMD_RPM=y CONFIG_QCOM_SMD_RPM=y