NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

UsbConfigHostMSC

From Texas Instruments Wiki
Jump to: navigation, search
TIBanner.png
Host MSC Kernel Config
Linux PSP



About this page[edit]

This page describes the Linux kernel config options for usb host Mass Storage Class (MSC) on different kernel versions. Please refer the config option which matches with kernel version of release you are using.

Configuration[edit]

Linux v3.2[edit]

Start the Linux Kernel Configuration tool:

$ make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm menuconfig

Select Device Drivers from the main menu.

    ...
    ...
    Power management options --->
    [ ] Networking support --->
    Device Drivers --->
    File systems --->
    Kernel hacking --->
    ...
    ...

Select SCSI device support as shown here

    ...
    ...
    [*] Misc devices  --->
    SCSI device support  --->
    < > Serial ATA and Parallel ATA drivers  --->
    ...

Select "SCSI device support" as shown here

    ...
    ...
    <*> SCSI device support
    < > SCSI target support
    [*] legacy /proc/scsi/ support
        *** SCSI support type (disk, tape, CD-ROM) ***
    <*> SCSI disk support
    < > SCSI tape support
    ...
    ...

Now Exit from current window and select USB support as shown here

    ...
    ...
    <*> Sound card support  --->
    [*] HID Devices  --->
    [*] USB support  --->
    <*> MMC/SD/SDIO card support  --->
    ... 
    ...

Select Support for Host-side USB as shown here

    ...
    <*>   Support for Host-side USB
    [ ]     USB verbose debug messages
    ...
    ...

Select USB Mass Storage support as shown here

    ...
    ...
    < >   USB Test and Measurement Class support
          *** NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may ***
          *** also be needed; see USB_STORAGE Help for more info ***
    <*>   USB Mass Storage support
    [ ]     USB Mass Storage verbose debug
    ...
    ...

This is all required for adding USB host MSC support in kernel.

Testing[edit]

The SCSI sub system creates /dev/sd* devices when a USB MSC device is connected. Use fdisk utility to create a partition and then use mkfs.<vfat/ext2> to format the device with vfat or ext2 file system if the media is not already formatted. Now device can be mounted using $ mount -t msdos /dev/sda1 /media/sda1 and then start using the storage media mounted at /media/sda1

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article UsbConfigHostMSC here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article UsbConfigHostMSC here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article UsbConfigHostMSC here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article UsbConfigHostMSC here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article UsbConfigHostMSC here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article UsbConfigHostMSC here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article UsbConfigHostMSC here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article UsbConfigHostMSC here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article UsbConfigHostMSC here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity