summaryrefslogtreecommitdiff
path: root/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh39
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-04-28 20:00:20 +0000
committerKoen Kooi <koen@openembedded.org>2005-04-28 20:00:20 +0000
commitdf3493d551b643cb6f68e7ef228d43eb01bd5cdf (patch)
treed243bdd5d0de2667ea1425955c836d6718c1f1ae /packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh39
parent45abb018b2b66e970a1615f13cf55b3c2a8e84c0 (diff)
Merge
2005/04/28 19:06:13+02:00 (none)!patrick various local fixes 2005/04/24 19:32:00+02:00 (none)!patrick Merge bk://openembedded.bkbits.net/openembedded into gollum.(none):/scratch/oe/openembedded_official 2005/04/24 16:42:09+02:00 (none)!patrick enabled build of USB gadget modules 2005/04/24 13:28:27+02:00 (none)!patrick Merge bk://openembedded.bkbits.net/openembedded into gollum.(none):/scratch/oe/openembedded_official 2005/04/24 12:59:25+02:00 (none)!patrick added module parameter "compat_mode" which disables RNDIS and thus makes g_ether compatible with usbnet from older Linux kernels 2005/04/22 19:15:51+02:00 (none)!patrick build g_ether with RNDIS support 2005/04/17 19:15:55+02:00 (none)!patrick Merge bk://openembedded.bkbits.net/openembedded into gollum.(none):/scratch/oe/openembedded_official 2005/04/17 19:06:36+02:00 (none)!patrick This ChangeSet ensures that the USB gadget code is compiled as modules in addition to the normal USB modules, without replacing those. The intention is that people who have trouble with the default modules (like myself with an IPAQ 3970 and an IBM ThinkPad 42 and several other users) can easily switch to the alternative USB networking code without having to recompile and reinstall the kernel. Modifications necessary to actually switch to the new modules are done automatically by the following script, which can be run as part of the OE build process by adding ROOTFS_POSTPROCESS_COMMAND += "<path to script>; " to the local.conf. If ed is installed on the IPAQ, then it can also be run there, otherwise the config file changes have to be done manually. --------------------------------------------------------- #!/bin/sh cd ${D:-/} # autoload g_ether instead of usb-eth rm -f etc/modutils/usb-eth echo 'g_ether' >etc/modutils/g_ether # use same configuration for usb0 (provided by g_ether) as # for usbf (provided by usb-eth) - cannot have both at the same time ed etc/network/interfaces <<EOF /usb0 s/dhcp/static a address 192.168.0.202 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.200
Diffstat (limited to 'packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh39')
-rw-r--r--packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh39/defconfig-h390021
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh39/defconfig-h3900 b/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh39/defconfig-h3900
index 9d2599b0c0..ad9f7b8561 100644
--- a/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh39/defconfig-h3900
+++ b/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh39/defconfig-h3900
@@ -1398,6 +1398,27 @@ CONFIG_USB_CDCETHER=m
# CONFIG_USB_BRLVGER is not set
#
+# Support for USB gadgets
+#
+CONFIG_USB_GADGET=m
+CONFIG_USB_GADGET_PXA2XX=y
+# CONFIG_USB_GADGET_N9604 is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_SUPERH is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_CONTROLLER is not set
+CONFIG_USB_PXA2XX=m
+CONFIG_USB_GADGET_CONTROLLER=m
+# CONFIG_USB_GADGET_DUALSPEED is not set
+CONFIG_USB_ZERO=m
+CONFIG_USB_ETH=m
+CONFIG_USB_ETH_RNDIS=y
+CONFIG_USB_GADGETFS=m
+CONFIG_USB_FILE_STORAGE=m
+# CONFIG_USB_FILE_STORAGE_TEST is not set
+CONFIG_USB_G_SERIAL=m
+
+#
# Linux As Bootldr Modules
#
# CONFIG_BIG_KERNEL is not set