[meta-ti] [PATCH meta-ti] linux-ti33x-psp 3.1rc8: Enable usb-to-serial drivers

Kridner, Jason jdk at ti.com
Tue Oct 25 21:01:40 PDT 2011


Joel,

This looks good to me.

Can you also enable other types of USB host adapters?  We want to have a fairly exhaustive set, including just about every USB-to-serial adapter.

I had been thinking that Koen has some mechanism where USB drivers are registered after boot based on this set of messages in the kernel bootlog:

[    0.254977] usbcore: registered new interface driver catc
[    0.254991] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[    0.255057] usbcore: registered new interface driver kaweth
[    0.255074] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[    0.255142] usbcore: registered new interface driver pegasus
[    0.255157] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[    0.255233] usbcore: registered new interface driver rtl8150
[    0.255299] usbcore: registered new interface driver asix
[    0.255366] usbcore: registered new interface driver cdc_ether
[    0.255433] usbcore: registered new interface driver dm9601
[    0.255500] usbcore: registered new interface driver cdc_subset
[    0.255566] usbcore: registered new interface driver zaurus
[    0.255623] cdc_ncm: 04-Aug-2011
[    0.255693] usbcore: registered new interface driver cdc_ncm
[    0.255817] usbcore: registered new interface driver cdc_acm
[    0.255831] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.255927] usbcore: registered new interface driver usblp
[    0.255997] usbcore: registered new interface driver cdc_wdm

However, looking at the defconfig, it seems these are just set as Y, the same as you have done.  Just wondering if you had any clarity to add to that with ideas on how we can make the kernel smaller for a fast boot while still handling more devices.  I hate for people to have to reconfigure the kernel just because we didn't compile something useful into it.

Regards,
Jason
________________________________________
From: Fernandes, Joel A
Sent: Tuesday, October 25, 2011 8:13 PM
To: meta-ti at yoctoproject.org
Cc: Fernandes, Joel A; Kridner, Jason
Subject: [PATCH meta-ti] linux-ti33x-psp 3.1rc8: Enable usb-to-serial drivers

Enable the PL2303 usb-to-serial driver required for serial output
from the beaglebone tester.

Signed-off-by: Joel A Fernandes <joelagnel at ti.com>
---
 .../linux-ti33x-psp-3.0+3.1rc/beaglebone/defconfig |    3 ++-
 recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb  |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/beaglebone/defconfig b/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/beaglebone/defconfig
index 4b3c21d..478ec3e 100644
--- a/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/beaglebone/defconfig
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/beaglebone/defconfig
@@ -2558,7 +2558,8 @@ CONFIG_USB_LIBUSUAL=y
 # USB port drivers
 #
 # CONFIG_USB_USS720 is not set
-# CONFIG_USB_SERIAL is not set
+CONFIG_USB_SERIAL=y
+CONFIG_USB_SERIAL_PL2303=y

 #
 # USB Miscellaneous drivers
diff --git a/recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb b/recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb
index bffebea..fbee01f 100644
--- a/recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb
+++ b/recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb
@@ -11,7 +11,7 @@ MULTI_CONFIG_BASE_SUFFIX = ""

 BRANCH = "master"
 SRCREV = "1955a86594526e18f03c8d62db81119ffc4ccf0f"
-MACHINE_KERNEL_PR_append = "k+gitr${SRCREV}"
+MACHINE_KERNEL_PR_append = "l+gitr${SRCREV}"

 COMPATIBLE_MACHINE = "(ti33x)"

--
1.7.0.4




More information about the meta-ti mailing list